How far can you push rsync?
Steven Hanley
sjh at svana.org
Sun Aug 12 15:20:34 EST 2001
On Sun, Aug 12, 2001 at 10:29:11AM +1000, sfr at canb.auug.org.au wrote:
> I thought this once as well, but it won't work as rsync does not do
> update in place. i.e. (even if it would sync the contents of a block
> device - which I don't think it will) it would create a temporary copy
> of /dev/hda2 and when it was finuished it would rename it over the old one
> and you would end up with one (presumably very large) file (not device)
> called /dev/hda2 - probably not what you want :-)
hmm, okay
well if you want to archive a file system remotely, you can jjust have it
stored as a large file on the remote machine, so umount the fs (so it wont
change while rsync is playing with it.
rsync -e ssh -v /dev/hda1 backup at remote:/data/backups/weirdfs.img
or something
this means you get the advantages of rsync at least.
Of course this is probably not what the person wants.
See You
Steve
--
sjh at wibble.net http://wibble.net/~sjh
Look Up In The Sky
Is it a bird? No
Is it a plane No
Is it a small blue banana?
Yes
More information about the linux
mailing list