Click to See Complete Forum and Search --> : Linux: Backup via Hard Drive


Asia
06-25-2001, 08:07 PM
After you installed Red Hat Linux 7.1, you have...

sda ( SCSI drive 1)
sdb ( SCSI drive 2)

Is this the right way to perform hard drive to hard drive backup?

mount /dev/sdb

cp /dev/sda /dev/sdb


By using the above commands, will all the data from hard drive 1 (sda) be backup hard drive 2 (sdb)?


If you want to tar it, is it like this?

tar cvzf / /dev/sdb


This is to back up everything one hard drive 1 (sda) to hard drive 2 (sdb).

If the above is wrong, can you fix it?

solo
06-25-2001, 08:57 PM
You may want to check out the dd command also.