Backup/restore SQLite, JetStream, worm/tree, keep, IAM
| scripts | ||
| systemd | ||
| NATS.md | ||
| package.json | ||
| paths.env | ||
| README.md | ||
| SUMMARY.md | ||
verae-backup
Snapshot and restore zappier SQLite, staff IAM data, keep state, fleet-runtime (worm/tree blobs), and JetStream store if present.
Forgejo: https://git.georgelambert.org/marchon/verae-backup
SSH: ssh://git@git.georgelambert.org:2223/marchon/verae-backup.git
# on NS1
export BACKUP_ROOT=/SSD2/backups/verae
bash scripts/backup.sh
bash scripts/restore.sh --dry-run
# after stopping keep/fleet consumers:
# bash scripts/restore.sh --apply --archive /SSD2/backups/verae/20260101T031700Z.tgz
Paths: paths.env. Missing sources are skipped. Default retain 14 tarballs.
User timer: systemd/verae-backup.timer (03:17 UTC). Enable with linger.
Does not back up private keys. Restore identityFile paths on the operator host by hand.
Does not connect to NATS; it copies the JetStream directory if NATS_STORE exists.