duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] I can't figure out how to specify an rsync URL that


From: Eric Hanchrow
Subject: Re: [Duplicity-talk] I can't figure out how to specify an rsync URL that references an absolute path
Date: Thu, 03 Jan 2008 13:46:12 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

>>>>> "Kenneth" == Kenneth Loafman <address@hidden> writes:

    Kenneth> Eric Hanchrow wrote:
    >> This is v0-4-8 on Linux.
    >>
    >> The --help message suggests the syntax for rsync URLs:
    >>
    >> ~/backup-app/duplicity/duplicity-bin --help 2>&1 | egrep rsync
    >> rsync://address@hidden:/module/some_dir
    >> rsync://address@hidden/some_non_module_path
    >>
    >> So I try that very syntax:
    >>
    >> /home/erich/backup-app/duplicity/duplicity-bin
    >> --allow-source-mismatch --verbosity 1 --volsize 50
    >> --num-retries 1 --include /home/erich/.mcop --exclude '**'
    >> /home/erich rsync://address@hidden/usr/local/dups
    >>
    >> And here's what I see: <snip> It looks like it's somehow lost
    >> the first / in /usr/local/dups

    Kenneth> It needs to be ...localhost//usr/local/dups.  A single
    Kenneth>  slash specifies a relative path.

1) That contradicts what the --help says;
2) It doesn't work anyway:

    /home/erich/backup-app/duplicity/duplicity-bin --allow-source-mismatch 
--verbosity 1 --volsize 50 --num-retries 1 --include /home/erich/.mcop 
--exclude '**' /home/erich rsync://address@hidden//usr/local/dups
    ...

yields _exactly_ the same output as before: a usage message from "rsync", 
followed by a stack trace which ends with

      File "/home/erich/backup-app/duplicity/duplicity/backends.py", line 177, 
in popen
        raise BackendException("Error running '%s'" % private)
    duplicity.backends.BackendException: Error running 'rsync 
address@hidden/local/dups/'

-- 
Good writing is an elaborate effort to seem spontaneous.
        -- Paul Graham




reply via email to

[Prev in Thread] Current Thread [Next in Thread]