Backups fail with latest version 0.8.19
I in the current version 0.8.19 the following error appear while using the backup_lvm role:
Traceback (innermost last):
File \"/usr/local/bin/duplicity\", line 87, in <module>
with_tempdir(main)
File \"/usr/local/bin/duplicity\", line 70, in with_tempdir
fn()
File \"/usr/local/lib/python3.9/site-packages/duplicity/dup_main.py\", line 1529, in main
action = commandline.ProcessCommandLine(sys.argv[1:])
File \"/usr/local/lib/python3.9/site-packages/duplicity/commandline.py\", line 1217, in ProcessCommandLine
backup, local_pathname = set_backend(args[0], args[1])
File \"/usr/local/lib/python3.9/site-packages/duplicity/commandline.py\", line 1088, in set_backend
config.backend = backend.get_backend(bend)
File \"/usr/local/lib/python3.9/site-packages/duplicity/backend.py\", line 223, in get_backend
obj = get_backend_object(url_string)
File \"/usr/local/lib/python3.9/site-packages/duplicity/backend.py\", line 209, in get_backend_object
return factory(pu)
File \"/usr/local/lib/python3.9/site-packages/duplicity/backends/b2backend.py\", line 107, in __init__
(self.path, bucket_name, self.service.account_info.get_minimum_part_size()), log.INFO)
AttributeError: 'InMemoryAccountInfo' object has no attribute 'get_minimum_part_size'
As a workaround one can just use version 0.8.18
.
Edited by Sheogorath