B2 and versions / hard-delete option

What is the problem you are having with rclone?

I'm configuring a config with crypto for Backblaze B2 and I got the question. I came across the question to 'Permanently delete files on remote removal, otherwise hide files.', the hard-delete flag.

I'd like to use versions, what if I state this boolean as false and set my bucket to 'keep versions for 30 days', would it retain files for 30 days or would rclone just hide the files until infinity without the bucket deleting them after 30 days?

What is your rclone version (output from rclone version)

1.49.1

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 19.04

Which cloud storage system are you using? (eg Google Drive)

Backblaze B2

--b2-hard-delete is a backend flag, so if set to false, b2 would would handle deleted files it's way, I believe.
Therefore, the b2 history/versioning would be in effect.

I don't personally use b2, but that's what I would expect it to do.

Edit: FYI, B2 is the one that hides the file, not rclone. If you use the --dry-run flag and look at the output, you'll find that a host deleted file will be deleted by rclone.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.