47 lines
1.4 KiB
Markdown
47 lines
1.4 KiB
Markdown
# verae-backup
|
|
|
|
[](https://github.com/RichardLitt/standard-readme)
|
|
|
|
Snapshot and restore **zappier SQLite**, staff IAM data, keep state, fleet-runtime (worm/tree blobs), and JetStream...
|
|
|
|
**Forgejo:** https://git.georgelambert.org/marchon/verae-backup
|
|
**SSH:** `ssh://git@git.georgelambert.org:2223/marchon/verae-backup.git`
|
|
|
|
```bash
|
|
# 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.
|
|
|
|
## Install
|
|
|
|
```sh
|
|
git clone ssh://git@git.georgelambert.org:2223/marchon/verae-backup.git
|
|
cd verae-backup
|
|
```
|
|
|
|
## Usage
|
|
|
|
```sh
|
|
# No single entrypoint is declared in this tree.
|
|
ls
|
|
```
|
|
|
|
## Contributing
|
|
|
|
Questions: open an issue at https://git.georgelambert.org/marchon/verae-backup/issues. Pull requests are accepted.
|
|
|
|
## License
|
|
|
|
UNLICENSED © George Lambert
|