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.
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.