@astrofoundry/pi-astro 0.40.0 → 0.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/backup/SKILL.md +20 -0
package/package.json
CHANGED
package/skills/backup/SKILL.md
CHANGED
|
@@ -23,6 +23,26 @@ Restic commands run on Pulsar against `/mnt/pve/unas-backup/restic` with the hos
|
|
|
23
23
|
{ "args": ["arcane-backup-journal", "12 hours ago"] }
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
## Layer 2 per service
|
|
27
|
+
|
|
28
|
+
Each service has its own Restic tag and a method that gives a consistent copy (`host/arcane-backup.sh` and `host/README.md` in the arcane GitOps repository):
|
|
29
|
+
|
|
30
|
+
| Method | Tags |
|
|
31
|
+
|---|---|
|
|
32
|
+
| SQLite online backup (`sqlite3 .backup`): a consistent copy that includes the WAL; the app keeps running | `kuma` (plus `upload/` when it exists), `vaultwarden` (plus `rsa_key*`, `attachments/`, `sends/`) |
|
|
33
|
+
| The app's own backup zip, started through its API | `prowlarr`, `sonarr`, `radarr`, `lidarr` |
|
|
34
|
+
| Container stopped, files copied, container started | `arcane`, `bazarr`, `jellyfin`, `navidrome`, `sabnzbd`, `transmission`, `slskd`, `stirling-pdf` |
|
|
35
|
+
| Database dump plus data files | `mealie` (`pg_dump`, data), `paperless` (`pg_dump`, documents), `bigcapital` (`mysqldump --single-transaction`, all databases), `supabase` (`pg_dump -Fc` checked with `pg_restore --list`, global roles, pgsodium key) |
|
|
36
|
+
| Database dump plus object store, read while Grimoire is stopped | `grimoire` |
|
|
37
|
+
| Native storage snapshot | `qdrant` |
|
|
38
|
+
| Config file copy | `recyclarr` |
|
|
39
|
+
|
|
40
|
+
Restore tests on record: `kuma` 2026-08-15 (`PRAGMA integrity_check` ok), `supabase` 2026-08-31.
|
|
41
|
+
|
|
42
|
+
### Confirming a backup before an upgrade
|
|
43
|
+
|
|
44
|
+
A service's backup is confirmed when `arcane-backup-status` shows `Result=success` for last night's run, `restic-snapshots <tag>` lists a snapshot from that run, and `restic-ls <snapshot>` shows the files the method above names. The method already makes the copy consistent: do not ask for a WAL check, and a restore test is extra, not a condition. Layer 1 also holds the whole Arcane VM (vmid 100) from 02:30.
|
|
45
|
+
|
|
26
46
|
## Reading the output
|
|
27
47
|
|
|
28
48
|
- `*-status`: `Result=success`, `ExecMainStatus=0`, and the `ExecMainExitTimestamp` of the last run; the timer line shows the next run.
|