Scheduled backups require a Solo plan or above. Hobbyist accounts can still connect databases and run manual backups — the Schedule option simply won’t appear in the TUI menu, and the CLI subcommands below will return an upgrade error. Upgrade your plan from the billing page to unlock it.
Subcommands
capsule schedule add
Flags
Re-running
add for a connection that already has a schedule updates its cron expression (and timezone, if passed) in place and un-pauses it if it was paused.
Why --timezone matters
By default, a cron expression like 0 2 * * * means “2 AM in whatever timezone your server’s clock is set to” — which may well not be your own timezone. If your server runs on UTC and you’re several hours ahead or behind, “2 AM” on the server can land at a very different hour on your own clock, which is a common source of confusion (“I scheduled a 2 AM backup, why did the email show up at 3 AM?”).
Pass --timezone with an IANA zone name (e.g. Africa/Lagos, America/New_York, Europe/London — the same names used by most operating systems and the tz database) to make the schedule run at 2 AM in that zone specifically, regardless of what timezone the server itself is set to:
Cron expression examples
A cron expression is just five space-separated fields, in this order: minute, hour, day-of-month, month, day-of-week. A* means “any” — so 0 2 * * * reads as “at minute 0, hour 2, any day of the month, any month, any day of the week,” i.e. every day at 2:00 AM.
capsule schedule list
capsule schedule remove
add again with a cron expression to bring it back.
When to run: When decommissioning a database, or removing a schedule that was set up incorrectly. If you just want to temporarily stop backups without losing the cron expression, use pause instead.
capsule schedule pause / resume
Ctrl+D on the Schedule screen) and these CLI subcommands do the same thing under the hood.
Live reload
Every subcommand above tries to signal the running daemon to reload its schedules immediately, so the change takes effect without a full daemon restart or any interruption to a backup that happens to be running at that moment. When it succeeds, you’ll see:Notes
- Schedules are stored in
~/.config/capsule/capsule.yamland executed by thecapsule daemonprocess - The daemon must be running for scheduled backups to fire — install it as a service with
sudo capsule install-serviceif you haven’t already. See capsule service - Schedule changes sync to your dashboard automatically; a sync failure (e.g. offline) is logged as a warning but doesn’t block the local change
- The timezone (if set) syncs along with everything else, and is shown next to the schedule on the dashboard