Rsync to spare disk

klemen klemen at eprostor.net
Thu Dec 21 15:07:20 GMT 2006




Stuart Halliday wrote:
> 
>> Hello
>> 
>> I have an main disk (operating system) and an spare disk for backup.
>> Is it possible with rsync command  to copy whole disk n1 to disk2?
>> 
>> Like: #rsync -av /dev/sd0 /dev/sd1
> 
> It will not copy open files.
> 
> I use 
> 
> dd if=/dev/sd0 of=/dev/sd1 bs=1024k
> e2label /dev/sd1 /backup
> 
> Much better and safer.
> 
> Read this:
> http://www.crazytrain.com/dd.html
> 
> 
> 
> -- 
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> 
> 

OK, i tryed with simpliest command:

dd if=/dev/sd0 of=/dev/sd1/backup

and get

dd: /dev/sd0: Device busy

ps: the os is openbsd

-- 
View this message in context: http://www.nabble.com/Rsync-to-spare-disk-tf2865622.html#a8009349
Sent from the Samba - rsync mailing list archive at Nabble.com.



More information about the rsync mailing list