Skip to content

Using b2 backend with duply fails when bucket exists #10

@peterdalydickson

Description

@peterdalydickson

Thanks for this duplicity backend.

I am running duplicity 0.7.07.1 and duply version 1.11.3 on CentOS Linux release 7.2.1511.

We've recently moved to b2 and I modified the conf file as indicated in the duplicity man page.

i.e. TARGET='b2://my_account_id:my_application_key@macanta‑backups/testimage127/'

macanta-backups exists as a private bucket in my account.

When I run duply, it fails with...

--- Start running command BKP at 05:32:11.380 ---
/usr/lib64/python2.7/site-packages/duplicity/backends/b2backend.py:211: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if bucket_name not in bucket_names:
FatalBackendException: Bucket cannot be created
05:32:12.043 Task 'BKP' failed with exit code '23'.
--- Finished state FAILED 'code 23' at 05:32:12.043 - Runtime 00:00:00.662 ---

Is there anything else I should configure/do different?

Thanks again.

Best regards

Pete

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions