升级到 15.04 会破坏到 Amazon S3 的 deja dup 备份吗?

升级到 15.04 会破坏到 Amazon S3 的 deja dup 备份吗?

我已将 deja dup 配置为备份到 Amazon S3 存储桶,如下问题所述:如何在备份中使用现有的 S3 存储桶?并更详细地介绍邮政,运行顺利。

然而,升级到 Ubuntu 15.04 后,备份失败,并出现unknown error以下神秘的回溯:

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

关于如何解决或调试这个问题有什么建议吗?

答案1

此问题影响底层后端软件duplicity以及 deja dup。我向 duplicity 提交了一份错误报告,该公司现已确认了该错误并发布了补丁,请参阅:https://bugs.launchpad.net/duplicity/+bug/1453232该错误影响 duplicity 版本 0.7.01,并在 0.7.02 中修复。

相关内容