www/content/docs/adyxax.org/social/backups.md

21 lines
482 B
Markdown
Raw Normal View History

2022-11-24 23:15:25 +01:00
---
title: "Backups"
description: Backups of social.adyxax.org
tags:
- UpdateNeeded
2022-11-24 23:15:25 +01:00
---
## Documentation
Backups are configured with borg on `lore.adyxax.org` to `yen.adyxax.org`.
2022-11-24 23:15:25 +01:00
There are two jobs:
2022-11-24 23:15:25 +01:00
```yaml
- name: gotosocial-data
path: "/jails/fedi/root/home/fedi/storage"
- name: gotosocial-db
path: "/tmp/gotosocial.db"
pre_command: "echo \"VACUUM INTO '/tmp/gotosocial.db'\"|sqlite3 /jails/fedi/root/home/fedi/sqlite.db"
post_command: "rm -f /tmp/gotosocial.db"
2022-11-24 23:15:25 +01:00
```