{
  "slug": "object-versioning",
  "term": "Object versioning",
  "aliases": [
    "Object storage versioning",
    "S3 Versioning"
  ],
  "definition": "Object versioning retains separately identifiable revisions of an object under the same key.",
  "note": "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. [version] Suspended versioning differs: new writes use null and replace any same-key null version, while non-null versions remain. [s3-suspended-write]\n\nReplication: a version-specific source DELETE does not delete the destination version through S3 replication; source and destination histories can diverge. [s3-replication-deletes]",
  "status": "shipping",
  "advantages": [
    {
      "text": "A known version ID identifies which retained revision a recovery process requests.",
      "citationIds": [
        "get"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Versioning alone does not prohibit permanent deletion of a version by an authorized caller.",
      "citationIds": [
        "version"
      ]
    },
    {
      "text": "For a current delete marker, the documented GET response without versionId is 404 even when older versions remain; authorization failures can differ.",
      "citationIds": [
        "marker",
        "get"
      ]
    },
    {
      "text": "With versioning suspended, a DELETE without versionId can permanently remove the null-version payload before inserting a null marker.",
      "citationIds": [
        "s3-suspended-delete"
      ]
    },
    {
      "text": "Check replication status before deleting a source version. COMPLETED reports replication success, not a restore test or a guarantee against later destination deletion.",
      "citationIds": [
        "s3-replication-status"
      ]
    }
  ],
  "related": [
    "object-storage",
    "object-lock",
    "conditional-write",
    "backup-manifest",
    "immutability-storage",
    "delete-marker",
    "object-version-id"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-04",
  "citations": [
    {
      "id": "version",
      "title": "Amazon S3: How S3 Versioning works",
      "url": "https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html",
      "accessed": "2026-10-15"
    },
    {
      "id": "marker",
      "title": "Amazon S3: Working with delete markers",
      "url": "https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html",
      "accessed": "2026-10-15"
    },
    {
      "id": "get",
      "title": "Amazon S3 API: GetObject",
      "url": "https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html",
      "accessed": "2026-10-15"
    },
    {
      "id": "hesela-backup-evidence",
      "title": "Hesela: Backup verification is not a restore test",
      "url": "https://hesela.com/analyses/backup-verification-is-not-a-restore-test/",
      "accessed": "2026-10-15"
    },
    {
      "id": "s3-suspended-write",
      "title": "Amazon S3: Adding objects to versioning-suspended buckets",
      "url": "https://docs.aws.amazon.com/AmazonS3/latest/userguide/AddingObjectstoVersionSuspendedBuckets.html",
      "accessed": "2026-10-15"
    },
    {
      "id": "s3-suspended-delete",
      "title": "Amazon S3: Deleting objects from versioning-suspended buckets",
      "url": "https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectsfromVersioningSuspendedBuckets.html",
      "accessed": "2026-10-15"
    },
    {
      "id": "hesela-object",
      "title": "Hesela: Object ETags, checksums and conditional writes",
      "url": "https://hesela.com/analyses/object-etags-checksums-conditional-writes/",
      "accessed": "2026-10-15"
    },
    {
      "id": "s3-replication-deletes",
      "title": "Amazon S3: How delete operations affect replication",
      "url": "https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-what-is-isnot-replicated.html",
      "accessed": "2026-11-04"
    },
    {
      "id": "s3-replication-status",
      "title": "Amazon S3: Getting replication status information",
      "url": "https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-status.html",
      "accessed": "2026-11-04"
    }
  ]
}
