object-versioning · shipping · also Object storage versioning, S3 Versioning

Object versioning

Object versioning retains separately identifiable revisions of an object under the same key.

Related Observatory article: Read on hesela.com

In a versioning-enabled S3 general-purpose bucket, a replacement creates a new current version and retains the previous one; a delete without versionId creates a marker. Versions are complete objects, not differential backups. [1] Suspended versioning differs: new writes use null and replace any same-key null version, while non-null versions remain. [5]

Replication: a version-specific source DELETE does not delete the destination version through S3 replication; source and destination histories can diverge. [8]

Relations

related
Object storage, Object lock, Conditional write, Backup manifest, Storage immutability, Delete marker, Object version ID

Advantages

  • A known version ID identifies which retained revision a recovery process requests. [3]

Limitations

  • Versioning alone does not prohibit permanent deletion of a version by an authorized caller. [1]
  • For a current delete marker, the documented GET response without versionId is 404 even when older versions remain; authorization failures can differ. [2, 3]
  • With versioning suspended, a DELETE without versionId can permanently remove the null-version payload before inserting a null marker. [6]
  • Check replication status before deleting a source version. COMPLETED reports replication success, not a restore test or a guarantee against later destination deletion. [9]

Citations

  1. Amazon S3: How S3 Versioning works (accessed 2026-10-15)
  2. Amazon S3: Working with delete markers (accessed 2026-10-15)
  3. Amazon S3 API: GetObject (accessed 2026-10-15)
  4. Amazon S3: Adding objects to versioning-suspended buckets (accessed 2026-10-15)
  5. Amazon S3: Deleting objects from versioning-suspended buckets (accessed 2026-10-15)
  6. Amazon S3: How delete operations affect replication (accessed 2026-11-04)
  7. Amazon S3: Getting replication status information (accessed 2026-11-04)

Further reading

  1. Hesela: Backup verification is not a restore test (accessed 2026-10-15)
  2. Hesela: Object ETags, checksums and conditional writes (accessed 2026-10-15)

JSON: /data/terms/object-versioning.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Object versioning. Hesela. 2026-11-04. https://hesela.dev/terms/object-versioning/