Versioning: keep old versions of files

Undo overwritten or deleted files. Old versions use storage.

Updated November 17, 2026 · 1 min read · S3 Object Storage: Managing buckets

With versioning on, overwriting or deleting a file keeps the previous version, so a mistake or a bad sync can be undone.

Turn it on

On the bucket's Settings tab, under Versioning, click Turn versioning on.

Get an old version back

Use a tool that shows versions, such as Cyberduck (View → Show hidden files, then the file's versions) or aws s3api list-object-versions and aws s3api get-object --version-id ….

Good to know

  • Old versions count toward your bucket's storage.
  • Pause versioning stops keeping new versions; the old ones stay until you delete them.
Was this article helpful?

Still need help?

Our team answers every request, usually within a few hours.

Contact Support

We use cookies to enhance your experience, provide live chat support, and analyze site traffic. By clicking "Accept", you consent to our use of cookies.

Cookie Policy
Accept