[WBEL-users] Raid
Conor Wynne
weeboy@conorwynne.com
Mon, 18 Oct 2004 17:17:25 +0100 (IST)
> About the only thing I don't do that you describe, is I never
> use cp to move that kind of data. I always end up using tar or
> rsync, but that's just an old habit I learned from the O'Reilly
> Backup Book (tar can be used over a pipe, which means you can move
> from machine A to machine B via SSH the same way you move data on a
> local machine, so I don't have to worry about odd limitations of
> scp). Knowing one reliable way to move data locally and remotely is
> easier for me.
>
> $ tar cf - /path/to/cp | ssh user@machine "cd /dest/path/ && tar xvpf -"
> $ tar cf - /path/to/cp | ( cd /dest/path/ && tar xvpf - )
I would use rsync for this purpose, its what it was designed for - init?
> Kirby
--
Conor Wynne,
Dublin,
Irlande.