Backups

Last updated

This page is for server administrators: backup destinations, schedules, retention, and restores of any account or of the whole server. To back up or restore your own account, see Backups (User).

/jabali-admin/backups. The parent surface for backup destinations, schedules, retention, and restore.

Tabs

Backup kinds

  • account_full: one user’s entire account: home directory, all databases owned by the user, all mailboxes in the user’s domains, DNS records, cron jobs, app installs.
  • system_backup: the whole panel host: 7 stages comprising three rolling panel-DB dumps, OS users, Stalwart state, Kratos state, hosted sites, config snapshot, then a single restic snapshot wrapping all of the above.

Both kinds are restic-backed: deduplicated, encrypted at rest, multi-destination.

Default schedule

The installer creates no schedules by default; the operator picks the cadence per environment. Common starting point:

  • account_full per user nightly at 03:00 local, 7 daily / 4 weekly / 12 monthly snapshots.
  • system_backup weekly Sunday 04:00 local, 4 weekly / 6 monthly snapshots.

What is not backed up

  • The kernel and OS packages.
  • /proc, /sys, /tmp, /var/cache.
  • Restic itself (use a b2 / s3 destination with its own provider-side history, or a second restic repo, for disaster-recovery of the panel’s own backup state).

Run history

The Backups tab lists every backup and restore. A scheduled or Full Server run is one row that expands to its jobs.

  • User: the account, System, or a run’s scope (system + 12 accounts).
  • Destination: the destination’s name and kind, for example Offsite (SFTP). Local is the server’s own repository, Uploaded file a restore from an uploaded backup, Several a run that wrote to more than one destination, and Deleted destination one that has been removed since.
  • Type, Status, the data added after deduplication, the logical size, and when it started.

Expanding a row lists its jobs with the full job ID (with a copy button) and when each was created, plus Download, Log, Restore, Cancel and Delete. Log shows the job’s stage-by-stage log.

Uploaded backups

Account backups uploaded from another server with Restore from Upload are listed above the run history, with Restore and Delete. See Uploaded backups stay on the server.

CLI

jabali backup destination list
jabali backup destination create --kind sftp --name daily-offsite --url sftp:[email protected]:/srv/restic
jabali backup destination test daily-offsite

jabali backup schedule list
jabali backup schedule create --kind account_full --user <id> --destination daily-offsite --cron "0 3 * * *" --keep-daily 7

jabali backup scheduler tick    # manual trigger of all due schedules