Re: rdist and symbolic links



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



.



Relevant Pages

  • Re: rdist and symbolic links
    ... However, no matter what options I use, the absolute path goes away on the ... remote system. ... case we need to switch to the backup server. ...
    (comp.unix.questions)
  • Re: help!!! I accidently rm -rf a directory
    ... script with dnotify driven rsync/unison copy to a remote system ... option of rsync, since otherwise your backup copy eventually would ... backup directory slowly accumulating stuff you really *did* mean to ...
    (comp.os.linux.misc)
  • Re: help!!! I accidently rm -rf a directory
    ... script with dnotify driven rsync/unison copy to a remote system ... option of rsync, since otherwise your backup copy eventually would ... backup directory slowly accumulating stuff you really *did* mean to ...
    (comp.os.linux.misc)
  • Re: rsync and moving files [Re: backup w/ snapshots]
    ... >remote system before doing the rsync. ... >new names, then find those names on the remote system, change them ... on the destination is the same as the file at the old location on ... inode number + lastchange date, or maybe inode number + file size. ...
    (freebsd-questions)
  • Re: Trouble getting off the ground with rsync
    ... need to specify a module name of the rsync server that you're trying ... You cannot specify an absolute path; ... "Don't hate me because I'm beautiful. ...
    (comp.os.linux.misc)