Whole disk save/restore

Other questions, messages

Moderator: feffer

Whole disk save/restore

Postby bloodandsoil » Thu Jan 01, 2009 10:49 am

Does partimage support saving and restoring of not only partitions, but also a whole disk?
bloodandsoil
 
Posts: 1
Joined: Thu Jan 01, 2009 10:46 am

Postby amalafrida » Thu Jan 08, 2009 12:29 am

I don't think so, since the restore process requires that a specific partition must be mounted for restore ... however, my experience is limited to that task. Perhaps another will respond with counter-information. But, it seems doubtful. A partition to restore must be specified in the restore/save process. Seems to me that you'd have to restore each partition as a separate image ...
amalafrida
 
Posts: 1
Joined: Mon Aug 04, 2008 2:00 pm

Postby daviddoria » Fri Jul 10, 2009 12:30 pm

Say I backup my main partition with the OS (ext3) to the network. In the event a hard drive failure, the process would be to install a new hard drive, reinstall linux on a new ext3 partiton, create a swap partition, and THEN restore the backed up partition to replace the new ext3 partition? Has anyone done this/ is this what it is designed to do?

Thanks,

Dave
daviddoria
 
Posts: 2
Joined: Fri Jul 10, 2009 12:19 pm

Postby feffer » Wed Jul 29, 2009 3:10 am

Say I backup my main partition with the OS (ext3) to the network. In the event a hard drive failure, the process would be to install a new hard drive, reinstall linux on a new ext3 partiton, create a swap partition, and THEN restore the backed up partition to replace the new ext3 partition? Has anyone done this/ is this what it is designed to do?
Not exactly. This is how I recently restored a failing hdd. First use partimage to save the system partition, and use rsync (or any copy method) for your data. Replace the failing hdd with a new one. Use a Knoppix (or other) liveCD to partition the new hdd making sure the system partition is a little bigger than the one on the failing drive. Also create partitions for swap, data and whatever else you want. Then use partimage to restore the system. Reboot to make sure it works. If it doesn't, use grub-install to restore the mbr. Once the system is bootable, copy over your data. Incidentally, I do not make a separate /home directory. I think it's easier to leave home under / but have a separate "data" partition. Edit /etc/fstab to mount this in /home like "/home/username/data". Hope this helps.
Regards,
feffer
feffer
 
Posts: 120
Joined: Tue Mar 17, 2009 4:30 am


Return to Miscellanous

Who is online

Users browsing this forum: No registered users and 2 guests

cron