Blame

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