Skip to Content
DocumentationGuidesAuto backup your apps using cron

Auto Backup Your Apps

Automated backup scheduling is not built into Companion Hub yet. Today you back up individual apps on demand from the dashboard.

See Backup & Restore for how per-app backups work and where they’re written.

In the meantime

Two things you can automate yourself today:

Copy your backups offsite. Hub writes backups to <ROOT_FOLDER_HOST>/backups/. Syncing that directory to another disk or machine on a schedule protects you against drive failure, which per-app backups alone do not.

Cap retention. Set MAX_BACKUPS so old snapshots don’t fill the disk β€” see Environment Variables.

Do not script tar over a running app’s data directory. Hub stops the app before archiving it precisely so the files are consistent; copying live data can produce a backup that won’t restore.

Last updated on