Re: Simple backups
On Tue, 2005-05-10 at 16:23 +0200, schnitzel meister wrote:
> The problem with this is that the backup server needs to stay dumb,
> and so using rsync wouldn't be possible. I suppose I could do a remote
> mount of the config file on the hosts then read that, do the rsync,
> then zip or tar everything up, but this seems to be more work just so
> that rsync can be used.
> I think I will look at writing a script, I was just hoping that Debian
> had something like this ready to use :)
I believe there is an option for rsync to get the include list from the
remote server. This might be what you would need.
Snippet from rsync(1)
>
> In addition, the --files-from file can be read from the remote host
> instead of the local host if you specify a "host:" in front of the
> file (the host must match one end of the transfer). As a short-cut,
> you can specify just a prefix of ":" to mean "use the remote end of
> the transfer". For example:
>
> rsync -a --files-from=:/path/file-list src:/ /tmp/copy
--
David Stanaway <david@stanaway.net>
Reply to: