where is backup-dir rooted?
Matt McCutchen
matt at mattmccutchen.net
Tue Jun 22 23:59:57 MDT 2010
On Tue, 2010-06-22 at 18:12 +0100, Alan Chandler wrote:
> if I have
>
> rsync -a --delete --backup --backup-dir=/some/backup/path
> /path/to/my/files/ another-machine::module/my/backup/
>
> where is /some/backup/path rooted? if is was instead some/backup/parth
> (without the leading slash) where is it rooted, does a trailing slash
> have any relevance?
>
> I am assuming that "something" is related to another--machine, but can
> it be a module specification followed by a directory, or must it just be
> a directory under the same module as the destination directory?
--backup-dir interprets paths the same way as the --*-dest options. A
relative path is relative to the destination directory, and an absolute
path is absolute to the module when pushing to an rsync daemon.
--
Matt
More information about the rsync
mailing list