- Joined
- Nov 17, 2020
- Messages
- 74
- Motherboard
- Gigabyte Z490I Aorus Ultra
- CPU
- i9-10900K
- Graphics
- RX 5500 XT
- Mac
- Mobile Phone
I was wondering if it's possible to create a backup of my system (for upgrade purposes, etc) using the "dd" command line program in Linux. I've seen a million articles about using CCCloner and other stuff, but it really seems like I should be able to use dd to make an image of the drive that I could then use dd to restore the drive with. For example:
Backup the drive:
Restore the drive:
I've done similar things to copy drive contents and had no problems (other than needing to possibly resize the target disk after everything has been copied), but never used it in this manner. I can't think of a reason why it wouldn't work - I'd get all the partitions and everything - but I also can't find any articles talking about backing up this way. Assuming I boot into a live Linux install on a thumb drive, I don't know why I couldn't do this, but I'd love some feedback from the community. I don't want to go assuming this will work and end up borking my whole system because it absolutely does not work. Thanks!!!
Backup the drive:
Bash:
dd if=/dev/nvme0p1 of=/media/External/11.1.iso
Restore the drive:
Bash:
dd if=/media/External/11.1.iso of=/dev/nvme0p1
I've done similar things to copy drive contents and had no problems (other than needing to possibly resize the target disk after everything has been copied), but never used it in this manner. I can't think of a reason why it wouldn't work - I'd get all the partitions and everything - but I also can't find any articles talking about backing up this way. Assuming I boot into a live Linux install on a thumb drive, I don't know why I couldn't do this, but I'd love some feedback from the community. I don't want to go assuming this will work and end up borking my whole system because it absolutely does not work. Thanks!!!