Document the second gotosocial backup job

This commit is contained in:
Julien Dessaux 2023-04-20 23:55:48 +02:00
parent 2c4468e267
commit 9e6bb1a3e5
Signed by: adyxax
GPG key ID: F92E51B86E07177E

View file

@ -7,8 +7,10 @@ description: Backups of social.adyxax.org
Backups are configured with borg on `lore.adyxax.org` to `yen.adyxax.org`. Backups are configured with borg on `lore.adyxax.org` to `yen.adyxax.org`.
There is only one job : There are two jobs:
```yaml ```yaml
- name: gotosocial-data
path: "/jails/fedi/root/home/fedi/storage"
- name: gotosocial-db - name: gotosocial-db
path: "/tmp/gotosocial.db" path: "/tmp/gotosocial.db"
pre_command: "echo \"VACUUM INTO '/tmp/gotosocial.db'\"|sqlite3 /jails/fedi/root/home/fedi/sqlite.db" pre_command: "echo \"VACUUM INTO '/tmp/gotosocial.db'\"|sqlite3 /jails/fedi/root/home/fedi/sqlite.db"