Old versions, deleted files and undelete

Last updated: November 9, 2026

In a bucket with versioning, nothing you overwrite or delete is gone straight away. BucketWorx lets you see old versions, bring them back, and undelete files.

These need a bucket with versioning turned on (Backblaze B2 always has it). Turn it on in the bucket's Properties.

The recycle bin: only what was deleted

From beta 4, the button with a trash can and an × beside Show deleted (or Show deleted only in the command palette) lists only what was deleted, in this folder and every folder below it, newest first. A line under the folder's name says "Showing only what was deleted, here and in every folder below", with an × to leave; leaving puts back the folder view and sort you had.

On the command line, bucketworx-cli ls --deleted-only s3://bucket/folder/ lists the same thing (add --json for machine-readable output).

All of this is in the free edition.

Find the files with the most versions

Old versions are stored and paid for like any file, and a file saved many times can hide gigabytes. From beta 5, the Several versions button beside Deleted only (or "Show files with several versions" in the command palette) lists every file in the folder and the folders below that has 2 or more versions.

On the command line: bucketworx-cli ls s3://bucket/folder/ --multi-version, with --min N and --json.

Object Lock: retention and legal hold

In a bucket made with Object Lock, a version can be protected so nobody can delete or overwrite it: by a retention date, or by a legal hold that stays until someone takes it off. A file's details show its lock. From beta 5 you can change it: Edit… in the Object Lock section of a file's details, Edit Object Lock… on a version in Versions, or the same on the right-click menu for a selection or whole folders (their current versions). A batch runs in the transfer drawer, where it can be paused, resumed, cancelled or retried.

On the command line: bucketworx-cli lock show, lock hold PATH on|off and lock retain PATH --mode governance|compliance --until DATE (or --remove). See the command line.

More help

Topics

Step-by-step guides

All help, including installing BucketWorx.