Safe to change B2 lifecycle settings?

Just to resurrect an old topic here… I found that if you are using

rclone sync

to send your backup to B2, you may want to also use the option:

--b2-hard-delete

Without this, even if you have “Keep only last version” set, when a file is deleted via the sync, a previous copy is kept. This may not be what you want.

If you have been doing this, check out:

https://rclone.org/b2/

for details.

I found this command was useful to clean up the old versions I had that I didn’t want:

rclone cleanup remote:bucket

1 Like