Best way to backup a specific drive?

Daniel B. Thurman dant at cdkkt.com
Mon Oct 1 17:08:14 UTC 2007


>On 01/10/2007, Daniel B. Thurman <dant at cdkkt.com> wrote:
>>
>> I am preparing to backup my root drive in preparation
>> for installing f7.  What is the best way to do this?
>>
>> I have in /dev/hda as:
>>
>> /boot = /dev/hda1
>> /       = /dev/hda2
>>
>> I have backed up /boot with: tar zcvpf /boot.tgz /boot
>
>I'm not sure why you care about backing up /boot - certainly it would
>be unwise to restore this when you have installed F7!
>
>>
>> But have get to figure out how to get /dev/hda2 backed up without
>> picking up the other drives mounted on /
>>
>
>rsync is your friend. man rsync. rsync -avr SOURCEDIR DESTDIR - this
>is assuming you have your backup disk mounted.
>
>-- 

So...  using rsync, would this work?

> cd /backup (/dev/hdb1)
> rsync -avr /dev/hda2 .

Thanks!
Dan


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.13.35/1040 - Release Date: 9/30/2007 9:01 PM
 




More information about the users mailing list