Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

HDD backup images

Name: Anonymous 2009-06-18 12:03

I have 2 hard drives atm, 1x160GB (Boot) and 1x200GB

I would like to put them both on a 1TB drive. If I created an image of each drive and then partitioned the 1TB and copied them into it, would it work? eg:

/dev/hda (160GB)
/dev/hdb (200GB)
/dev/hdc (1TB)

/dev/hdc partioned to /mnt/hdc1 (160GB) and /mnt/hdc2 (200GB)
then copy /dev/hda image to /mnt/hdc1
and copy /dev/hdb image to /mnt/hdc2

If it wouldn't work as simply as that, is there any way of doing this?

Name: Anonymous 2009-06-18 12:40

Don't even need to partition hdc, just create ISOs. You can mount ISOs directly if needed, and backing up is as easy as for x in hda hdb; do dd if=/dev/$x of=/dev/hdc/$x.iso; done.
You can just mount them via the loop device. Check the mount man page.

Of course, what you really want is incremental backups like with rsync.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List