How to back up and restore a partition

From Wiki
Revision as of 23:03, 2 February 2011 by Scott (talk | contribs) (Created page with ' == FSArchiver == http://www.fsarchiver.org/Main_Page Boot from SystemRescueCD. To back up a partition (when <code>/mnt/backup</code> is already mounted): <pre> fsarchiver -j3 …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.