> ## 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.

# DBDock Documentation

> DBDock is a database toolkit for PostgreSQL and MongoDB — backups, restores, database copies, and cross-database migrations. Use the open-source CLI, the managed cloud dashboard, or both, kept in sync.

DBDock handles the database chores you'd rather not write scripts for: **backups, restores, database copies, scheduling, and cross-database migrations** — with encryption, compression, and multi-cloud storage built in.

There are two ways to use it, and they work together:

> [card] [DBDock Cloud](https://docs.dbdock.xyz/cloud/overview.md)
>
> A hosted dashboard at [dbdock.xyz](https://dbdock.xyz). Connect a database, schedule encrypted backups, and manage everything from the browser — no infrastructure to run.

> [card] [DBDock CLI](https://docs.dbdock.xyz/cli/overview.md)
>
> An open-source, MIT-licensed command-line tool. Run backups and migrations locally or in CI, from a single `dbdock` command.

> [!NOTE]
>
> **They're the same toolkit.** [Cloud Sync](https://docs.dbdock.xyz/cloud-sync/overview.md) links a local CLI project to your cloud dashboard, so you can automate from the terminal and monitor from the browser. Only non-secret metadata leaves your machine — [see what syncs](https://docs.dbdock.xyz/cloud-sync/data-handling.md).

## Pick your path

**1. Just want a dashboard?**

Start with the [Cloud quickstart](https://docs.dbdock.xyz/get-started/quickstart-cloud.md) — connect a database and take your first backup in the browser.

**2. Prefer the terminal?**

Start with the [CLI quickstart](https://docs.dbdock.xyz/get-started/quickstart.md) — install `dbdock` and back up a database in one command.

**3. Want both?**

Do either quickstart, then run `dbdock login` and `dbdock sync` to [link the two](https://docs.dbdock.xyz/cloud-sync/overview.md).

## What you can do

```bash theme={null}
npx dbdock backup                              # Encrypted, compressed backup
npx dbdock restore                             # Interactive point-in-time restore
npx dbdock copydb "src_url" "dst_url"          # Clone a database, zero config
npx dbdock migrate "mongo_url" "postgres_url"  # Cross-database migration
npx dbdock login && npx dbdock sync            # Link this project to the cloud
```

## Features at a glance

> [card] [Backups & restores](https://docs.dbdock.xyz/cloud/backups.md)
>
> PostgreSQL and MongoDB backups with AES-256-GCM encryption and zstd compression. Restore interactively or automate it.

> [card] [Database copies](https://docs.dbdock.xyz/cli/copydb.md)
>
> Clone prod → staging → local with a single command. No dump files to babysit.

> [card] [Cross-database migration](https://docs.dbdock.xyz/migration/overview.md)
>
> MongoDB ↔ PostgreSQL with automatic schema mapping, dry runs, and incremental syncs.

> [card] [Scheduling](https://docs.dbdock.xyz/cloud/schedules.md)
>
> Cron-based schedules that run in the cloud or from the CLI — with retries and run history.

> [card] [Multi-cloud storage](https://docs.dbdock.xyz/cloud/storage.md)
>
> DBDock managed storage, or bring your own: AWS S3, Cloudflare R2, Cloudinary, local disk.

> [card] [Alerts](https://docs.dbdock.xyz/alerts/overview.md)
>
> Email, Slack, and webhooks for backup success, failure, and schedule events.

> [card] [Analytics & admin panels](https://docs.dbdock.xyz/cloud/overview.md)
>
> Track database growth over time and build no-code admin dashboards from your data.

> [card] [Security-first](https://docs.dbdock.xyz/security/overview.md)
>
> Encryption by default, secrets kept in environment variables, and metadata-only cloud sync.

## Popular pages

> [card] [Cloud Sync](https://docs.dbdock.xyz/cloud-sync/overview.md)
>
> Link the CLI to your dashboard.

> [card] [Security](https://docs.dbdock.xyz/security/overview.md)
>
> How DBDock protects your data.

> [card] [CLI Reference](https://docs.dbdock.xyz/cli/overview.md)
>
> Every command and flag.

## Get help

* [Dashboard](https://dbdock.xyz) — the DBDock Cloud web app
* [Troubleshooting](https://docs.dbdock.xyz/help/troubleshooting.md) — common issues and fixes
* [FAQ](https://docs.dbdock.xyz/help/faq.md) — quick answers
* [GitHub](https://github.com/dbdock/dbdock) — source, issues, and discussions


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.