Making a backup of the server
Backups in the hosting panel create a consistent copy of the database through SQLite’s backup API, so it is safe to run while the app is in use. The panel keeps the newest ten in the data folder. Download them, because a backup on the same machine is not a backup.
Restore
Section titled “Restore”docker compose stop appdocker compose run --rm --no-deps -v "$PWD/backup.sqlite:/restore.sqlite:ro" --entrypoint sh app \ -c 'cp /restore.sqlite /data/db.sqlite && rm -f /data/db.sqlite-wal /data/db.sqlite-shm'docker compose up -d appYou can restore an older backup into a newer version. The migrations run when the app starts. CI runs these exact steps on every build.
Moving to another machine
Section titled “Moving to another machine”- Back up the old instance.
- Install on the new machine and finish the wizard. If you use Clerk, enter the same keys.
- Restore the backup.
- Point your DNS at the new machine.
A linked instance has no Shackworks Net key on the new host. Unlink it on your Net account page, then link it again. See Managing shared data.
Upgrade
Section titled “Upgrade”docker compose pull && docker compose up -dSet SHACKWORKS_IMAGE in .env to pin a version. Back up before you upgrade.
docker compose down keeps your data, and docker compose down -v deletes the data volume. An ADIF export contains contacts only. It does not include members, roles or settings.