Short answer: daily app backups should use separate retention classes for 30 and 90 days, with a real upload-and-restore drill in the required US or EU region before the storage design is accepted. A low storage rate is not useful if deletion, retrieval, or restoration does not match the recovery contract.
I care about the day after the backup. In property management, that can mean restoring a large inspection video bundle, lease attachment set, or application export while an on-call engineer is already handling a tenant-facing incident. The application should upload directly to object storage with a short-lived authorization; it should not proxy all those bytes through the app server. The backup record must still tell us what was uploaded, where it belongs, and when it may be deleted.
The first rule is simple: test recovery before choosing a price sheet.
What should a US or EU backup design test before setting retention rules?
Start with a written recovery contract. Record the region, daily compressed size, maximum acceptable restore time, expected restore frequency, and the recovery points that must survive for 30 or 90 days. For a property-management system, include both structured data and large media. A database dump that restores but leaves its referenced inspection videos missing is not a successful backup.
Keep the upload path small and observable. The app can create a backup manifest, ask a trusted service for a time-limited upload authorization, and send the media directly to object storage. The manifest should contain a logical backup ID, object key, byte count, checksum, creation time, and retention class. Do not use a human-readable filename as the identity of a recovery point. Names collide; recovery points should not.
Here is the retention arithmetic I use before a vendor trial. It is deliberately provider-neutral: it estimates stored data, while the final comparison must also include requests, retrieval, and transfer.
package main import "fmt" type RetentionPlan struct { DailyGiB float64 DailyDays int ExtendedGiB float64 ExtendedDays int } func (p RetentionPlan) StoredGiB() float64 { return p.DailyGiB*float64(p.DailyDays) + p.ExtendedGiB*float64(p.ExtendedDays) } func main() { plan := RetentionPlan{ DailyGiB: 2.4, DailyDays: 30, ExtendedGiB: 0.15, ExtendedDays: 90, } fmt.Printf("Estimated retained data: %.1f GiB\n", plan.StoredGiB()) } That output is a planning input, not an invoice. Measure the actual archive, request count, multipart behavior, retrieval path, and restored bytes. Your mileage may vary when daily media volume changes faster than database volume.
How do lifecycle rules enforce 30- and 90-day backup retention?
Use a retention class in the object layout. For example, place ordinary daily snapshots under backups/daily/ and selected release or compliance points under backups/extended/. Attach a 30-day expiration rule to the first prefix and a 90-day rule to the second. The exact policy syntax differs by service, so validate the policy in the target region with a disposable object before production.
Lifecycle is a deletion schedule, not a backup guarantee. It does not decide whether a file is complete, whether a checksum matches, or whether a database import succeeds. A scheduler that reports “upload complete” has not proven that the recovery point is usable. The runbook should record the manifest only after the object has been checked, and it should periodically restore the oldest point that is still inside each retention window.
There is a timing detail worth keeping in the runbook: lifecycle expiration is generally day-based, so a 30-day rule is not an hourly deletion mechanism. If the policy requires a precise timestamp, use an application-level deletion workflow with an audit trail and test its permissions separately. Do not promise more timing precision than the storage service documents.
Deletion deserves a second look. A retention rule can remove completed objects, but an interrupted multipart upload may have its own cleanup behavior. Test abandoned uploads and confirm how the candidate handles them. Otherwise a dashboard can show the expected object count while incomplete parts quietly consume capacity.
What failure modes make an automated backup look healthy?
The most dangerous green check is “the job ran.” A successful scheduler run can still hide a truncated export, an object key recorded before the upload finished, an expired upload authorization, a region mismatch, or a restore account that cannot read the private bucket. Build checks around the recovery object, not around the process exit code.
That is the trap.
Consider a nightly run that exports the property database and then uploads inspection media. The database manifest is written first because the export is ready, but the media upload is still retrying when the scheduler reaches its success path. A later retry uses the same human-readable key, replaces an earlier object, and leaves the manifest pointing at a byte count that no longer matches the object. The cleanup job sees a normal-looking completed key; the lifecycle rule eventually deletes it on schedule; and the first evidence of the ordering mistake arrives during a restore. A safer sequence gives every run an immutable logical ID, uploads each object under that ID, verifies size and checksum, records all object references in one manifest, and marks the backup restorable only after application-level checks pass. If a retry finds the same ID, it compares the expected digest before doing work. If the digest is different, the job stops for inspection instead of silently publishing a second interpretation of the same recovery point. This is slower than treating an exit code as proof, but it turns an ambiguous archive into an auditable state transition.
I would run four drills:
- Upload a normal daily backup and compare the stored byte count and checksum with the manifest.
- Upload a large media bundle using the client’s supported multipart path, then inspect cleanup after an intentional interruption.
- Restore the oldest 30-day and 90-day samples into an isolated environment.
- Validate application meaning: database queries, attachment references, file permissions, and a representative property record.
The second drill catches a class of failures that ordinary small fixtures never see. The fourth catches the failure that matters most to users. A video object can be byte-perfect while the application cannot find it because the database and object prefix were published in the wrong order.
Make publication idempotent. Give each backup a deterministic logical ID, write objects to a temporary key, verify them, and publish one manifest that downstream restore code can trust. A retry should inspect that ID and checksum before creating another recovery point. Duplicate deliveries are cheaper than missing data, but they still need an explicit cleanup policy.
For direct browser uploads, use short-lived, scoped authorization rather than a public bucket. The standard presigned-URL pattern grants time-limited access to a specific object. The same security question applies to any compatible implementation: who can upload, which key can they write, and how long does that permission live? I've seen this become an incident boundary, not a minor integration detail.
Which storage trade-offs should change the recovery plan?
Compare candidates against the recovery contract, not against a compatibility badge. “S3-compatible” can describe a useful common client surface while leaving important behavior to test: lifecycle timing, multipart cleanup, checksum handling, authentication, regional placement, retrieval charges, and migration tooling.
| Decision area | Qualification question | Reject or change course when |
|---|---|---|
| Retention | Can 30-day and 90-day classes be expressed and verified? | The deletion schedule cannot match the recovery contract. |
| Location | Can the backup and restore stay in the required US or EU region? | Residency or transfer behavior is unacceptable. |
| Recovery | Can the oldest retained archive restore into an isolated environment? | The drill is not repeatable or application validation fails. |
| Uploads | Does the large-file path handle retries and interrupted multipart work? | The runbook cannot account for partial work. |
| Operations | Are metrics, audit records, and scoped credentials available? | The team cannot explain who uploaded or deleted an object. |
| Commercials | What do storage, requests, retrieval, and transfer cost for this workload? | The total recovery path is worse than the nominal storage price. |
The catch is that this recommendation is not suitable when the workload needs object lock, version history, automatic cross-region replication, public media delivery, or sub-day expiration as a first-class feature. In those cases, stick with a service whose documented controls and operating model provide those capabilities, even if its storage line item is higher. A narrow backup design is better than forcing lifecycle rules to act as governance, replication, or content delivery.
Treat current provider documentation as the source for pricing inputs, transfer policies, and regional availability rather than copying a unit-price screenshot into a runbook. Those terms change. The restore drill and the written retention contract are the durable parts of the decision.