You are not logged in.
Hi,
I want to backup my SSD (Arch linux system + home). Can I just use dd to do this?
And will it be possible to restore the dd-image later to the same disk?
I'm not sure if there has to be something aligned on the SSD or something else related...
Thanks!
EDIT: I don't want a backup on a regular basis. I just want an image of the disk because I temporarily have to install something else on it.
Last edited by i_love_penguins (2012-05-25 15:50:56)
Offline
I have done this before and it worked. Most tools work well, Clonezilla, Acronis and even pure dd. Just make sure you save the whole drive and not just single partitions.
Offline
I'd suggest looking into fs aware image tools like fsarchiver and partimage. With dd you're copying and restoring empty space. It's great for imaging your MBR however.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
I suggest a simple script with rsync or with backintime if you want a GUI and incremental.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I want to backup my SSD (Arch linux system + home). Can I just use dd to do this?
And will it be possible to restore the dd-image later to the same disk?
Sure you can use dd. If you're concerned about empty space causing the backup file to grow, just pass the dd output to gzip (assuming your drive is /dev/sda):
dd if=/dev/sda | gzip > ssd_backup.gz
Then, if you need to restore to the same drive:
gunzip -c ssd_backup.gz | dd of=/dev/sda
I'm not sure if there has to be something aligned on the SSD or something else related...
dd just reads the file (in this case, your drive) bit by bit, it will dump everything back just the way it was.
Offline
Sure you can use dd. If you're concerned about empty space causing the backup file to grow, just pass the dd output to gzip (assuming your drive is /dev/sda):
dd if=/dev/sda | gzip > ssd_backup.gz
BE VERY CAREFUL that you don't try writing ssd_backup.gz to any of the volumes on /dev/sda.
dd just reads the file (in this case, your drive) bit by bit, it will dump everything back just the way it was.
Provided you tell it the correct destination. If you make an error, dd will efficiently overwrite whatever was at the destination you provided.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline