Root Partition Backup

Post here if you have questions about how to use the program
Post Reply
w2vy
Posts: 2
Joined: Wed Sep 14, 2011 11:37 am

Root Partition Backup

Post by w2vy » Wed Sep 14, 2011 1:41 pm

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?

tom

msetzerii
Posts: 10
Joined: Wed Jun 22, 2011 9:22 am

Re: Root Partition Backup

Post by msetzerii » Wed Sep 14, 2011 8:11 pm

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.

w2vy
Posts: 2
Joined: Wed Sep 14, 2011 11:37 am

Re: Root Partition Backup

Post by w2vy » Thu Sep 15, 2011 3:36 pm

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!

Thanks

Post Reply