# DBdock ## Docs - [Email alerts (SMTP)](https://docs.dbdock.xyz/alerts/email.md): Send backup notifications via any SMTP provider. - [Alerts overview](https://docs.dbdock.xyz/alerts/overview.md): Get notified when backups succeed or fail. - [Scheduling backups](https://docs.dbdock.xyz/alerts/scheduling.md): Run automated backups on a cron schedule. - [Slack alerts](https://docs.dbdock.xyz/alerts/slack.md): Send backup notifications to Slack via incoming webhooks. - [Custom webhooks](https://docs.dbdock.xyz/alerts/webhooks.md): Send alerts to Discord, Teams, WhatsApp, or any HTTP endpoint. - [dbdock backup](https://docs.dbdock.xyz/cli/backup.md): Create a database backup with compression and encryption. - [dbdock cleanup](https://docs.dbdock.xyz/cli/cleanup.md): Apply your retention policy to remove old backups. - [dbdock copydb](https://docs.dbdock.xyz/cli/copydb.md): Copy a PostgreSQL database between two URLs — no config, no backup file. - [dbdock delete](https://docs.dbdock.xyz/cli/delete.md): Delete specific backups or all backups. - [dbdock init](https://docs.dbdock.xyz/cli/init.md): Interactive setup wizard — run once per project. - [dbdock list](https://docs.dbdock.xyz/cli/list.md): List all available backups with filtering. - [dbdock migrate-config](https://docs.dbdock.xyz/cli/migrate-config.md): Move legacy secrets from the config file to environment variables. - [CLI overview](https://docs.dbdock.xyz/cli/overview.md): Every DBdock command at a glance. - [dbdock restore](https://docs.dbdock.xyz/cli/restore.md): Interactive restore with smart filtering and migration support. - [dbdock schedule](https://docs.dbdock.xyz/cli/schedule.md): Manage backup schedules stored in your config file. - [dbdock status](https://docs.dbdock.xyz/cli/status.md): View configured schedules and service health. - [dbdock test](https://docs.dbdock.xyz/cli/test.md): Validate your database, storage, and alert configuration. - [Concepts](https://docs.dbdock.xyz/core/concepts.md): How DBdock thinks about backups, compression, encryption, and storage. - [Configuration](https://docs.dbdock.xyz/core/configuration.md): Complete reference for dbdock.config.json and environment variables. - [Security](https://docs.dbdock.xyz/core/security.md): Encryption, credential storage, key management, and production best practices. - [Installation](https://docs.dbdock.xyz/get-started/installation.md): Install DBdock globally, use with npx, or add it as a library dependency. - [Quickstart](https://docs.dbdock.xyz/get-started/quickstart.md): Go from zero to your first backup in under 5 minutes. - [Encryption key rotation](https://docs.dbdock.xyz/guides/key-rotation.md): Safely rotate DBdock encryption keys without losing access to old backups. - [Production deployment checklist](https://docs.dbdock.xyz/guides/production-checklist.md): Everything to verify before relying on DBdock in production. - [Retention strategies](https://docs.dbdock.xyz/guides/retention-strategies.md): Recommended backup retention policies for different workloads. - [Refresh staging from production](https://docs.dbdock.xyz/guides/staging-refresh.md): Keep staging databases current with production data using dbdock copydb. - [Changelog](https://docs.dbdock.xyz/help/changelog.md): What's new in each DBdock release. - [FAQ](https://docs.dbdock.xyz/help/faq.md): Quick answers to common questions. - [Troubleshooting](https://docs.dbdock.xyz/help/troubleshooting.md): Common DBdock issues and how to fix them. - [Welcome to DBdock](https://docs.dbdock.xyz/index.md): The open-source database toolkit for backups, restores, and cross-database migrations. - [dbdock analyze](https://docs.dbdock.xyz/migration/analyze.md): Scan a database and print its shape, types, and inconsistencies. - [Dry runs & validation](https://docs.dbdock.xyz/migration/dry-run.md): Validate a migration plan against a temporary schema before committing. - [Incremental migration](https://docs.dbdock.xyz/migration/incremental.md): Pull only new or changed data after an initial migration. - [dbdock migrate](https://docs.dbdock.xyz/migration/migrate.md): Migrate data between MongoDB and PostgreSQL in either direction. - [Migration overview](https://docs.dbdock.xyz/migration/overview.md): Cross-database migration between MongoDB and PostgreSQL. - [Schema mapping](https://docs.dbdock.xyz/migration/schema-mapping.md): How DBdock translates types between MongoDB and PostgreSQL. - [Alerts (SDK)](https://docs.dbdock.xyz/sdk/alerts.md): Send backup notifications programmatically. - [Creating backups](https://docs.dbdock.xyz/sdk/creating-backups.md): Create database backups programmatically with BackupService. - [Listing backups](https://docs.dbdock.xyz/sdk/listing-backups.md): Query backup history programmatically. - [SDK overview](https://docs.dbdock.xyz/sdk/overview.md): Use DBdock programmatically in your Node.js app. - [Scheduling backups (SDK)](https://docs.dbdock.xyz/sdk/scheduling.md): Build a scheduled backup runner with node-cron. - [Cloudinary](https://docs.dbdock.xyz/storage/cloudinary.md): Media-platform storage with a generous free tier. - [Deletion safety](https://docs.dbdock.xyz/storage/deletion-safety.md): How DBDock protects backups in object storage from accidental or runaway deletion. - [Local storage](https://docs.dbdock.xyz/storage/local.md): Store backups on the local filesystem. - [Storage overview](https://docs.dbdock.xyz/storage/overview.md): Choose where DBdock puts your backups. - [Cloudflare R2](https://docs.dbdock.xyz/storage/r2.md): S3-compatible storage with zero egress fees. - [AWS S3](https://docs.dbdock.xyz/storage/s3.md): Store backups in Amazon S3 or any S3-compatible service. ## OpenAPI Specs - [openapi](https://docs.dbdock.xyz/api-reference/openapi.json) ## Optional - [NPM](https://www.npmjs.com/package/dbdock) - [GitHub](https://github.com/dbdock/dbdock)