2022-11-24 23:15:25 +01:00
|
|
|
---
|
|
|
|
title: "Backups"
|
|
|
|
description: Backups of social.adyxax.org
|
2024-02-25 23:25:40 +01:00
|
|
|
tags:
|
|
|
|
- UpdateNeeded
|
2022-11-24 23:15:25 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
2023-04-18 22:31:46 +02:00
|
|
|
Backups are configured with borg on `lore.adyxax.org` to `yen.adyxax.org`.
|
2022-11-24 23:15:25 +01:00
|
|
|
|
2023-04-20 23:55:48 +02:00
|
|
|
There are two jobs:
|
2022-11-24 23:15:25 +01:00
|
|
|
```yaml
|
2023-04-20 23:55:48 +02:00
|
|
|
- name: gotosocial-data
|
|
|
|
path: "/jails/fedi/root/home/fedi/storage"
|
2023-04-18 22:31:46 +02:00
|
|
|
- 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
|
|
|
```
|