Rsync to spare disk

Stuart Halliday StuartH at ecs-tech.com
Thu Dec 21 14:20:06 GMT 2006


> 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





More information about the rsync mailing list