How to back up and restore a partition

From Wiki
Jump to navigation Jump to search

FSArchiver

http://www.fsarchiver.org/Main_Page

Boot from SystemRescueCD. To back up a partition (when /mnt/backup is already mounted):

fsarchiver -j3 savefs /mnt/backup/ubuntu-boot.fsa /dev/sda1

The optional -j3 flag allows 3 threads to simultaneously work on compression of the backup image.

To extract:

fsarchiver restfs /mnt/backup/ubuntu-boot.fsa id=0,dest=/dev/sda1

partimage

http://www.partimage.org/Main_Page

Boot from SystemRescueCD. There is a quasi-graphical user interface.

Partimage does not support ext4 or btrfs filesystems.