Restore
Restore a stack
Section titled “Restore a stack”- Open the stack → Backups tab. Every backup is listed with its date and size; backups made before an update are marked.
- Click Restore next to the backup you want.
- Type the stack’s name to confirm and click Restore.
What happens:
- the stack is shut down,
- its current folder is moved to
/opt/stacks/.trash/<name>-before-restore-<date>– nothing is deleted, - the files from the backup come back,
- the databases start empty and are loaded from their dumps,
- the whole stack starts again.
The output is shown live and saved in the stack’s History.
Backup runs
Section titled “Backup runs”Settings → Backups lists backups by run: one nightly run contains every stack and the panel’s own settings; a backup of a single stack or a backup before an update is a run of its own. Open a run to see its stacks – including ones you have deleted since – and restore any of them.
Restore all stacks of a run
Section titled “Restore all stacks of a run”Open a run and click Restore all stacks. Every stack of that run is restored one after another, exactly as above. The panel’s own settings stay as they are.
Restore a deleted stack
Section titled “Restore a deleted stack”Open a run in Settings → Backups that still contains the stack, and click Restore next to it.
Make a copy (clone)
Section titled “Make a copy (clone)”In the restore form, change Restore as stack to a new name, e.g. nextcloud-test. The backup is restored as a new stack next to the original.
Restore everything on a new server
Section titled “Restore everything on a new server”When a server dies, install Stackmoor on a new one (Linux or Unraid) and open the panel. Instead of creating an account:
- click Restore a server from a backup,
- enter the storage (provider, address, bucket, folder, keys) and the encryption password of the old server, and click Connect,
- choose a backup – only complete runs are offered (they contain the panel’s settings),
- click Restore this backup and follow the progress.
Stackmoor restores, in this order:
- the panel’s settings: your administrator account (with its password), backup schedule and retention, local domains and DNS keys,
- every stack of that run, with its databases,
- Caddy with its certificates, if you used local domains.
Then log in with your previous account.
Backups made by version 0.5 can be used too: their snapshots are grouped into runs by time.
Only one app, only its data
Section titled “Only one app, only its data”All stacks share one repository in the bucket, but a restore only downloads the data of the backup you picked. Restoring a 500 MB app does not download a 50 GB one stored next to it.