This guide takes you through setup, your first backup, and your first restore. Total time: about 5 minutes.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.
Haven’t installed DBdock yet? See the installation guide.
1. Initialize
Runinit once in your project directory. It walks you through everything interactively.
- Database connection (host, port, user, database name)
- Storage provider (local disk, S3, R2, or Cloudinary)
- Encryption (recommended for cloud storage)
- Alerts (optional — Slack and email)
2. Create your first backup
3. Restore a backup
4. Verify everything works
Before trusting DBdock in production, run the self-test:- Database connection
- Storage provider access
- Alert configuration (if enabled)
Environment-only setup (no config file)
Prefer not to commit a config file? Run DBdock entirely from environment variables:What to do next
Explore commands
Every command, every flag, with examples.
Choose storage
S3, R2, Cloudinary, or local disk.
Set up alerts
Slack, email, or custom webhooks.
Schedule backups
Automated cron-based backups.

