aboutsummaryrefslogtreecommitdiff
path: root/content/docs/adyxax.org/social/backups.md
blob: 09546b201ef1202315bdb54df694a0b482cfc028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
title: "Backups"
description: Backups of social.adyxax.org
---

## Documentation

Backups are configured with borg on `lore.adyxax.org` to `yen.adyxax.org`.

There are two jobs:
```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"
```