Thursday, July 19, 2012

Backup and restore Mageia2 system with FSArchiver

Download the latest version of System Rescuecd and burn into CD
Run the CD
fsarchiver probe (check the partitions)
mount -t ext4 /dev/sda7 /mnt/backup (this is to mount the partition in my hard disk for storing the backup)

fsarchiver  -j2 -o savefs /mnt/backup/mageia2.fsa /dev/sda1 (archive) (j2 means cpu with 2 core)

fsarchiver restfs /mnt/backup/mageia2.fsa id=0,dest=/dev/sda1 (restore)