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

Object storage for database backups: store dumps, not live database files

Published August 2026 · 8 min read

Object storage is a strong destination for database backup artifacts, but it is usually not where a database engine should place its live data files. The database needs to create a recoverable backup representation before the object layer can preserve it.

Create an application-consistent backup

Use the database’s supported dump, physical backup or snapshot process so transactions and metadata form a recoverable state. Copying active database files with a generic file uploader can capture an inconsistent mixture of writes.

For systems with transaction logs or point-in-time recovery, include the required log stream and catalogue information in the design.

Package objects around restore operations

Choose object names that identify database, backup type, timestamp and sequence without placing sensitive customer information in public-facing keys. Keep a manifest when a recovery point spans several objects.

Large physical backups can use multipart upload, while smaller logical dumps may fit one object. The object size should follow the backup tool and provider limits.

Encrypt sensitive data

Transport TLS protects the network path. If the database backup contains sensitive information, evaluate client-side or provider-supported at-rest encryption and protect the encryption keys separately.

Encryption is part of restore planning: an encrypted object without recoverable key material is durable data that cannot be used.

Apply retention at the backup layer

Coordinate database retention, S3 versioning and provider lifecycle rules so old backup sets are removed intentionally and complete recovery chains are not truncated.

A lifecycle rule that deletes a base backup while keeping dependent logs can leave apparently healthy storage that cannot perform point-in-time recovery.

Restore into a separate database

Periodically download a chosen recovery point and restore it to an isolated test instance. Run integrity checks or application-level queries after the restore.

This proves the full chain from database capture through object storage and back into a running database.

Next step

Use S3-compatible storage safely for database backups by creating application-consistent dumps or backup streams before uploading them as objects and testing restores.

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