Checkpoint first
DBDock saves a checkpoint before each change and refuses the change if it cannot be saved. One command puts your schemas back.
- Saved before the change
- Stored outside the database
- Undo with one command
DBDock saves a checkpoint of your Postgres before each change and refuses the change if the checkpoint is not saved. It records who or what ran it, and one command puts your schemas back. Your database URL stays on your machine or CI.
DBDock saves a checkpoint before each change and refuses the change if it cannot be saved. One command puts your schemas back.
One line for each change: the time, the person or the agent, the deploy, and what the SQL did.
Agents run SQL through dbdock run --sql. They get the same checkpoint, and the record names them.
Checkpoints go to local disk or your own S3/R2 bucket, outside the database you are changing. Add your own key to encrypt them.
DBDock still runs scheduled backups, with an email, Slack or webhook alert when one fails.
| Change | Checkpoint |
|---|---|
| Schema: 1 column removed | Saved 14:01 |
| SQL operations: CREATE | Saved 11:26 |
| SQL operations: DELETE | Saved 11:24 |
| SQL operations: ALTER | Restored |
| Schema: 1 column added | Saved 09:12 |
Set DATABASE_URL in your local environment, then link the project. The CLI keeps checkpoints on disk or in your S3/R2 bucket, and agents use it through the rules on each tab. Only change records go to Cloud.
npm install --save-dev dbdocknpx dbdock init # runs your migration scripts through DBDocknpx dbdock loginnpx dbdock linknpm run db:migrate # saves a checkpoint, then migratesnpx dbdock undo # puts the database backLocal checkpoints and records, with optional Cloud backups.
We host the bucket and send the alert emails.
More storage, more connections, and priority support.
Local and customer-bucket checkpoints are outside Cloud backup limits. Encrypt them on every plan with your own key.
The CLI is on npm and the code is on GitHub. You can run backups, restores, copies, and migrations on your own infrastructure without signing in, and you keep the buckets and the keys.
Can't find what you need? Write to [email protected].
Changes that go through DBDock are recorded and can be restored. Changes that use the raw database URL are not.