Skip to main content
schedule is an interactive menu for adding, editing, and removing cron schedules. Schedules are stored in dbdock.config.json.
The CLI manages config — it doesn’t run schedules. To actually execute scheduled backups, you need to either run DBDock as a long-lived process (see scheduling guide) or use an external scheduler like system cron.

Interactive menu

Presets

When adding a schedule, DBDock offers common presets:

Schedule structure

Schedules end up in dbdock.config.json:

Running the schedules

Option 1 — long-lived DBDock process

Use the programmatic API with node-cron. See SDK → scheduling.

Option 2 — external cron

Let system cron trigger dbdock backup on the schedule you want:
This bypasses dbdock schedule entirely and is the simplest option on a single server.

Option 3 — cloud scheduler

On Kubernetes (CronJob), AWS (EventBridge → Lambda/ECS), or GCP (Cloud Scheduler), trigger dbdock backup on the schedule.

See also

Scheduling guide

Detailed guide on running scheduled backups.

dbdock status

View configured schedules.