Configure Backup Schedules

Who this is for

Users who want to automatically back up their servers or sites on a schedule without manually triggering each backup.


Prerequisites

  • Server is running with SSH connectivity.
  • Owner or Admin role in the organization.

How to Create a Backup Schedule

  1. Open the server detail → Backups tab → Schedules sub-tab.
  2. Click + Add Schedule.
  3. Fill in the form:
FieldDescription
Backup typesnapshot, files, database, or full
Schedule (cron)Cron expression (e.g., 0 2 * * * = daily at 2 AM)
Retention daysHow long to keep each backup (default 30)
IncrementalFor file backups: only back up files changed since last backup (faster, less disk)
EncryptedEncrypt backup files at rest
Offsite enabledUpload each backup to cloud storage automatically
Offsite providers3, gcs, azure_blob, or do_spaces
Offsite bucketThe cloud storage bucket name
Offsite cloud accountThe connected cloud account to use for storage
Offsite regionCloud region for the storage bucket
  1. Click Save.

Common Cron Expressions

ExpressionSchedule
0 2 * * *Daily at 2:00 AM
0 2 * * 0Weekly on Sundays at 2:00 AM
0 2 1 * *Monthly on the 1st at 2:00 AM
0 */6 * * *Every 6 hours
0 2,14 * * *Twice daily (2 AM and 2 PM)

Tip: Schedule backups during low-traffic hours — typically late at night or early morning.


Recommended Backup Strategy

For production servers:

Backup typeScheduleRetentionOffsite
databaseDaily at 2 AM30 daysYes
fullWeekly, Sunday 3 AM90 daysYes
snapshotWeekly, Saturday 1 AM14 daysN/A (cloud provider)

Incremental Backups

When Incremental is enabled for file backups:

  • The first backup is always a full backup.
  • Subsequent backups only include files changed since the last backup.
  • Incremental backups are faster and use less disk space.
  • Restore requires the full backup plus all incremental backups up to the desired point.

How to Edit or Delete a Schedule

  1. In the Schedules tab, find the schedule.
  2. Click Edit (pencil icon) to change the cron expression, retention, or offsite settings.
  3. Click Delete (trash icon) to remove the schedule.

Editing the cron expression recalculates the nextRunAt automatically.


What Success Looks Like

The schedule appears in the list with the correct cron expression and a next run timestamp. After the scheduled time passes, a new backup appears in the Backups list with trigger: scheduled.


Common Issues and Fixes

IssueLikely causeFix
"INVALID_CRON" errorCron expression syntax errorUse exactly 5 space-separated fields: minute hour day month weekday
Schedule created but backups not runningServer is offline at scheduled timeEnsure server is running. CloudAIPilot skips missed schedules.
Offsite upload failsCloud account credentials invalid or bucket not accessibleVerify the cloud account — see KB-05-07: Cloud Storage Vault Setup

Related Articles