Article · 2 min read · Backups

kubespin: Back up an app's data

Apps other than WordPress keep their data in volumes. kubespin backs up the volumes you choose, on the same schedule and to the same places as WordPress sites.

Apps other than WordPress keep their data in volumes. kubespin backs up the volumes you choose, on the same schedule and to the same places as WordPress sites.

In kubespin

  1. Open the app and go to its Backups tab.
  2. Choose Change.
  3. Tick the volumes to back up. kubespin lists the app’s named volumes.
  4. Optionally, tick Stop the app while it copies, for a consistent copy of data that changes all the time. The app is down for the length of the copy.
  5. Optionally, give a command to run first, such as pg_dump, for a database inside the app. Its output is included in the backup.
  6. Choose how often and how long to keep backups, and where copies go: On another server, In S3 or In OneDrive.
  7. Save. Back up now takes one straight away.

Volumes are archived read-only from a separate container, so the app’s own files aren’t touched.

Restore

On the Backups tab, pick a backup and choose Restore. The app’s current data is backed up first, so a restore can be undone. You can also restore to a new copy of the app on another server. See kubespin: Backups.

Moving is not a backup

Moving an app copies its volumes to another server (kubespin: Move an app to another server), but it keeps no copy you can go back to. Turn on backups as well.