Page 1 of 1

Root Partition Backup

Posted: Wed Sep 14, 2011 1:41 pm
by w2vy
I would like to periodically manually backup my rootfs, but I want to boot from my system disk not a rescue cd.

I jumped into Single User mode, remounted / read-only and tried to run fsarchiver

It complained about not having the USER option set, says it needs that option to get the proper attributes.

It was funny, if I remount with the user option, I can no longer execute most (if not all) commands...

It looks like I am going to need a new partition with a rescue system (or use a CD)

Is there an easier way?


Re: Root Partition Backup

Posted: Wed Sep 14, 2011 8:11 pm
by msetzerii
I maintain the G4L project, and it includes fsarchiver as well as other backup options.
My classroom is setup to run it from the grub menu and loading from the files in the /boot partition.
Put the kernel file and ramdisk.lzma file in the /boot directory and add the following lines to the grub.conf file.

title G4l
kernel /bz3x0.4 ramdisk_size=65536 root=/dev/ram0
initrd /ramdisk.lzma

So, it doesn't require a CD, and does then run from the ramdisk.

Re: Root Partition Backup

Posted: Thu Sep 15, 2011 3:36 pm
by w2vy
Yes that does work nicely.

With memory sizes so big and Rescue CD's now relatively small, I imagine more utilities could start doing this!