6

I had configured deja dup to backup to an Amazon S3 bucket as described in this question: How can I use an existing S3 bucket in Backup? and in more detail in this post, which worked smoothly.

After upgrading to Ubuntu 15.04 however, the backup fails with an unknown error and this cryptic traceback:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1500, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1494, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1327, in main
    action = commandline.ProcessCommandLine(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1047, in ProcessCommandLine
    globals.backend = backend.get_backend(args[0])
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 221, in get_backend
    obj = get_backend_object(url_string)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 207, in get_backend_object
    return factory(pu)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py", line 161, in __init__
    self.resetConnection()
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py", line 183, in resetConnection
    self.conn = get_connection(self.scheme, self.parsed_url, self.storage_uri)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/_boto_single.py", line 97, in get_connection
    assert scheme == 's3'
AssertionError

Any suggestions on how to address or debug this?

cboettig
  • 989

1 Answers1

5

This problem impacts the underlying backend software, duplicity as well as deja dup. I filed a bug report for duplicity, which has now both confirmed the bug and issued a patch, see: https://bugs.launchpad.net/duplicity/+bug/1453232 This bug affects duplicity version 0.7.01 and is fixed in 0.7.02.

cboettig
  • 989