How does B2 versioning work with locally deleted files and sync?

I'm trying to nail down what the expected behavior is. I have rclone setup with a B2 bucket, and do not have hard delete enabled in the config.

The B2 bucket is set to "Keep prior versions for this number of days: 30"

I do rclone sync /local/folder remoteb2:bucket .
Works great.

If I delete a file from /local/folder, then run rclone sync again, what happens to the locally deleted on remoteB2:bucket?

Is it correct that the files get marked as hidden, and then 30 days later B2's versioning automatically purges them? If not, how would I get this behavior?

That is what should happen.

Add --b2-versions to a rclone ls and you can see the old versions.

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