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

## 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"
```