Re: rdist and symbolic links
- From: Dave Hinz <DaveHinz@xxxxxxxxxxx>
- Date: 5 May 2006 15:23:00 GMT
On Fri, 5 May 2006 11:10:04 -0400, David Staschover <davezx1@xxxxxxxxx> wrote:
I am using rdist as a backup method to synchronize files between 2 linux
computers.
However, no matter what options I use, the absolute path goes away on the
remote system. It is very important for us to maintain the absolute path, in
case we need to switch to the backup server.
Might I suggest you look into rsync instead? For what you seem to be
doing, it's a better (and more secure) solution. rsync, you can tell to
use SSL as a transport, so your data is encrypted. It's also better
about pathing, and only sends files that need to be sent.
From memory, one syntax to start with is something like:rsync --rsync-path=/usr/local/bin/rsync -arve /usr/local/bin/ssh \
/source/directory username@remotehost:/destination/remotedir
This will make whatever is in /directory go to /.../remotedir on the remote
host, updating only the files which have changed.
Dave Hinz
.
- References:
- rdist and symbolic links
- From: David Staschover
- rdist and symbolic links
- Prev by Date: rdist and symbolic links
- Next by Date: Top 10 posters comp.unix.admin
- Previous by thread: rdist and symbolic links
- Index(es):
Relevant Pages
|
|