Comment 0 for bug 1875529

Revision history for this message
Thomas Ross (thomas-ross) wrote :

There should be an option to change the B2 backend to hide instead of deleting files. This can be done by changing this line in B2Backend.:

self.bucket.delete_file_version(file_version_info.id_, file_version_info.file_name)

to this:

self.bucket.hide_file(file_version_info.file_name)

You can probably also remove the `file_info` call and just use the `path + fsdecode(...)` result, but I don't know enough about the B2 API/duplicity to say that for sure.