Blame
|
1 | # Procédure de sauvegarde |
||||||
| 2 | ||||||||
| 3 | ## Services |
|||||||
|
4 | > [!NOTE] |
||||||
|
5 | > As of _25/08/08_ → **20 GiB** approximatly. It should not grow very fast, since it is |
||||||
|
6 | > mostly configuration files and a text wiki. |
||||||
|
7 | |||||||
| 8 | Media is backed up seperatly where necessary: |
|||||||
| 9 | ||||||||
| 10 | - jellyfin |
|||||||
| 11 | - navidrome |
|||||||
| 12 | ||||||||
|
13 | ### Otterwiki |
||||||
|
14 | |||||||
|
15 | OtterWiki being a flatfile wiki, we can back it up by simply copying the |
||||||
| 16 | `/mnt/data/otterwiki` folder. |
|||||||
|
17 | |||||||
| 18 | ### Jellyfin |
|||||||
| 19 | ||||||||
| 20 | [Backup and Restore → jellyfin.org](https://jellyfin.org/docs/general/administration/backup-and-restore) |
|||||||
| 21 | ||||||||
| 22 | Stop the container completly, then copy the config folder (maybe nothing else ?) |
|||||||
| 23 | → `/mnt/data/jellyfin/config` |
|||||||
| 24 | ||||||||
| 25 | ### Kavita |
|||||||
| 26 | ||||||||
| 27 | [Backups → wiki.kavitareader.com](https://wiki.kavitareader.com/guides/admin-settings/tasks/#kavita-backup) |
|||||||
| 28 | ||||||||
| 29 | Backups are already generated, in `/mnt/data/kavita/config/backups`. |
|||||||
| 30 | ||||||||
| 31 | ### Navidrome |
|||||||
| 32 | ||||||||
| 33 | [Automated Backup → navidrome.org](https://www.navidrome.org/docs/usage/backup/) |
|||||||
| 34 | ||||||||
| 35 | Backup can be automated via config file or env variables. Location is |
|||||||
| 36 | `/mnt/data/navidrome/backup`. |
|||||||
| 37 | ||||||||
| 38 | ### Miniflux |
|||||||
| 39 | ||||||||
| 40 | [FAQ → miniflux.app](https://miniflux.app/faq.html#backup) |
|||||||
| 41 | ||||||||
| 42 | [postgresql dump restore → postgresql.org](https://www.postgresql.org/docs/current/backup-dump.html) |
|||||||
| 43 | ||||||||
| 44 | Miniflux stores all it's data in the postgresql db. We can dump it: |
|||||||
| 45 | ||||||||
| 46 | ```bash |
|||||||
| 47 | sudo bash -c "docker compose exec db pg_dump -U miniflux miniflux" > miniflux_backup.sql |
|||||||
| 48 | ``` |
|||||||
| 49 | ||||||||
| 50 | And use the file to restore it later. |
|||||||
| 51 | ||||||||
| 52 | ### Readeck |
|||||||
| 53 | ||||||||
| 54 | [Backups → readeck.org](https://readeck.org/en/docs/backups) |
|||||||
| 55 | ||||||||
| 56 | ```bash |
|||||||
| 57 | docker exec -i readeck sh -c 'readeck export "/readeck/readeck_backup_$(date +%Y%m%dT%H%M%S).zip"' |
|||||||
| 58 | ``` |
|||||||
| 59 | ||||||||
| 60 | to import, do the same and specifying the config file. |
|||||||
| 61 | ||||||||
| 62 | Needs to be recuring via cron job or script. Could also be built by script that |
|||||||
| 63 | does the overall backup, since backup is quick. |
|||||||
| 64 | ||||||||
| 65 | ### Caddy |
|||||||
| 66 | ||||||||
| 67 | It is sufficient to backup the `/mnt/data/caddy`. The most important folders |
|||||||
| 68 | inside are: |
|||||||
| 69 | ||||||||
| 70 | - `./Caddyfile` |
|||||||
| 71 | - `./html/` |
|||||||
| 72 | ||||||||
| 73 | To restore, the both should be in the same folder, for the Caddyfile contains |
|||||||
| 74 | the paths to the different root folders for the websites hosted. |
|||||||
| 75 | ||||||||
| 76 | ## Missing or broken installs |
|||||||
| 77 | ||||||||
| 78 | - archivebox |
|||||||
| 79 | - bookstack |
|||||||
| 80 | - etherpad |
|||||||
| 81 | - synapse |
|||||||