Commit 1d634d
2025-09-03 14:28:17 admin: added initial page| /dev/null .. procédure de sauvegarde.md | |
| @@ 0,0 1,83 @@ | |
| + | # Procédure de sauvegarde |
| + | |
| + | ## Services |
| + | |
| + | As of 25/08/08 → 20 GiB approximatly. It should not grow very fast, since it is |
| + | mostly configuration files and a text wiki. |
| + | |
| + | Media is backed up seperatly where necessary: |
| + | |
| + | - jellyfin |
| + | - navidrome |
| + | |
| + | ### Dokuwiki |
| + | |
| + | [How to backup Dokuwiki ? → dokuwiki.org](https://www.dokuwiki.org/faq:backup) |
| + | |
| + | Dokuwiki being a flatfile wiki, we can back it up by simply copying the |
| + | `/mnt/data/dokuwiki` folder. |
| + | |
| + | ### Jellyfin |
| + | |
| + | [Backup and Restore → jellyfin.org](https://jellyfin.org/docs/general/administration/backup-and-restore) |
| + | |
| + | Stop the container completly, then copy the config folder (maybe nothing else ?) |
| + | → `/mnt/data/jellyfin/config` |
| + | |
| + | ### Kavita |
| + | |
| + | [Backups → wiki.kavitareader.com](https://wiki.kavitareader.com/guides/admin-settings/tasks/#kavita-backup) |
| + | |
| + | Backups are already generated, in `/mnt/data/kavita/config/backups`. |
| + | |
| + | ### Navidrome |
| + | |
| + | [Automated Backup → navidrome.org](https://www.navidrome.org/docs/usage/backup/) |
| + | |
| + | Backup can be automated via config file or env variables. Location is |
| + | `/mnt/data/navidrome/backup`. |
| + | |
| + | ### Miniflux |
| + | |
| + | [FAQ → miniflux.app](https://miniflux.app/faq.html#backup) |
| + | |
| + | [postgresql dump restore → postgresql.org](https://www.postgresql.org/docs/current/backup-dump.html) |
| + | |
| + | Miniflux stores all it's data in the postgresql db. We can dump it: |
| + | |
| + | ```bash |
| + | sudo bash -c "docker compose exec db pg_dump -U miniflux miniflux" > miniflux_backup.sql |
| + | ``` |
| + | |
| + | And use the file to restore it later. |
| + | |
| + | ### Readeck |
| + | |
| + | [Backups → readeck.org](https://readeck.org/en/docs/backups) |
| + | |
| + | ```bash |
| + | docker exec -i readeck sh -c 'readeck export "/readeck/readeck_backup_$(date +%Y%m%dT%H%M%S).zip"' |
| + | ``` |
| + | |
| + | to import, do the same and specifying the config file. |
| + | |
| + | Needs to be recuring via cron job or script. Could also be built by script that |
| + | does the overall backup, since backup is quick. |
| + | |
| + | ### Caddy |
| + | |
| + | It is sufficient to backup the `/mnt/data/caddy`. The most important folders |
| + | inside are: |
| + | |
| + | - `./Caddyfile` |
| + | - `./html/` |
| + | |
| + | To restore, the both should be in the same folder, for the Caddyfile contains |
| + | the paths to the different root folders for the websites hosted. |
| + | |
| + | ## Missing or broken installs |
| + | |
| + | - archivebox |
| + | - bookstack |
| + | - etherpad |
| + | - synapse |