duplicity-talk
[Top][All Lists]
Advanced

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

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


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

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:

    ... <<< usage message from rsync itself omitted for brevity >>> ...

    Traceback (most recent call last):
      File "/home/erich/backup-app/duplicity/duplicity-bin", line 424, in ?
        if __name__ == "__main__": with_tempdir(main)
      File "/home/erich/backup-app/duplicity/duplicity-bin", line 420, in 
with_tempdir
        fn()
      File "/home/erich/backup-app/duplicity/duplicity-bin", line 371, in main
        globals.archive_dir).set_values()
      File "/home/erich/backup-app/duplicity/duplicity/collections.py", line 
470, in set_values
        backend_filename_list = self.backend.list()
      File "/home/erich/backup-app/duplicity/duplicity/backends.py", line 650, 
in list
        return filter (lambda x: x, map (split, 
self.popen(commandline).split('\n')))
      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/'

It looks like it's somehow lost the first /  in /usr/local/dups

-- 
Imagine this movie with Barbara Stanwyck and Fred MacMurray
and it would work for you.  Better still, just rent "Double
Indemnity" and the hell with it.
        -- Roger Ebert, on "Derailed (2005)"




reply via email to

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