Local storage writes backups to a directory on disk. It’s the fastest option and requires no cloud account.Documentation Index
Fetch the complete documentation index at: https://docs.dbdock.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Configuration
File layout
Recommended practices
Directory permissions
Owner-only access:Use an absolute path in production
Relative paths resolve from wherever DBdock is invoked, which gets confusing fast:Enable filesystem encryption
Local backups are not encrypted by DBdock if theencryption config is off. Rely on disk encryption (LUKS, FileVault, BitLocker) or enable DBdock’s encryption layer for defense in depth.
Watch disk space
Local backups accumulate. Set a retention policy:When local is the right choice
- Single-server setup with dedicated backup disk
- Development and testing
- Staging databases you don’t mind losing in a host failure
- A first hop before syncing to cloud (e.g., rsync to another host)
When local is the wrong choice
- Production data you can’t afford to lose. If the server dies, the backups die with it.
- Multi-server deployments. Backups get fragmented across hosts.
- Compliance environments. Audit trails are usually easier with object storage.
See also
AWS S3
Offsite backup destination.
Cloudflare R2
Cheaper cloud alternative.

