Fill the Server: 80% off your first 4 monthly invoices, monthly billing. Ends Nov 30, 2026. 25 spots in this batch.FILL25
Fill the Server, annual: about 29.63% off your first annual invoice. Ends Nov 30, 2026.FILL25Y
Fill the Server, 2 year term: about 15.69% off your first biennial invoice. Ends Nov 30, 2026.FILL25B
Fill the Server, 3 year term: about 11.11% off your first triennial invoice. Ends Nov 30, 2026.FILL25T
80% off your first 3 months, monthly billing. Ends Dec 25, 2027.3MONTHS80
50% off your first annual Shared term. Ends Dec 31, 2027.50SHARED
Shared Starter, 3 year term: C$105.84 total.MOOSE294
20% off your first 3 monthly VPS invoices. Ends Dec 31, 2027.20VPS3
25% off your first annual base VPS term.25VPS

← All guides

Backups

S3 versioning for backup and recovery: useful history with real costs

Published August 2026 · 8 min read

Versioning can preserve older generations when the same object key is overwritten or deleted. That history is valuable for some recovery workflows, but it also consumes storage and does not replace a separate backup or retention policy.

Versioning keeps generations of a key

With versioning enabled, a new write can create another generation while preserving the previous bytes. A delete may create a marker while older versions remain retrievable by version identifier.

Applications that always write new unique keys receive less benefit because they already preserve old objects by writing unique keys.

Capacity includes old versions

A 100 GB object overwritten every day can accumulate far more than 100 GB of billed storage. Hard quotas can stop later writes when old generations consume the remaining capacity.

Monitor object versions and establish lifecycle rules only after understanding which historical copies the recovery plan actually needs.

Versioning is not immutability

A sufficiently privileged credential may be able to delete versions. If ransomware resistance requires protected retention, test Object Lock or another retention control explicitly. Versioning by itself does not make data undeletable.

Keep backup credentials scoped so the software does not receive version-deletion privileges it never uses.

Restore tooling must understand versions

The S3 API can retrieve a specific version, but an application may only request the current object. Document how operators locate and restore an earlier generation after accidental overwrite.

A recovery drill should intentionally replace a test object, locate its previous version and restore the expected checksum.

Combine versioning with independent copies when needed

Version history inside one provider project protects against some logical mistakes. It does not eliminate provider, account or region failure from the threat model.

For high-value data, decide whether a second independent destination is required and test how version history is preserved or flattened during replication.

Next step

Use S3 object versioning deliberately for accidental overwrite recovery, while accounting for retained bytes, delete markers, application behavior and restore testing.

Explore DotMoose Object Storage

Keep reading

Related guides.

boto3 S3-compatible storage: custom endpoint, put_object and connection tests

Connect boto3 to S3-compatible storage with endpoint_url. Start with a read-only list, then optionally verify put_object with one isolated write/read/delete round trip.

Read the guide

S3 multipart upload explained: part size, retries, checksums and cleanup

Learn how S3 multipart upload works: numbered parts, AWS part-size limits, parallel retries, completion, checksums and cleanup of abandoned uploads.

Read the guide

S3 presigned URLs explained: temporary access without sharing keys

Learn how S3 presigned URLs authorize a specific operation for a limited time, where they help, what they expose and how to use them safely.

Read the guide

More object storage guides

We will handle the move. You check it first.

Your current site stays online until your new one is ready. You approve the copy first, and if anything is not right we switch you back right away. The price you pick is the price you renew at.

Start my free moveSee plans and prices
See pricesFree move