Enable backups for other services
This commit is contained in:
parent
b7cadf2b91
commit
1944a88df3
2 changed files with 22 additions and 13 deletions
|
@ -30,34 +30,21 @@
|
|||
- /root/.pgpass:/root/.pgpass:ro
|
||||
- /mnt/hdd/archivebox-data:/data/archivebox:ro
|
||||
- archivebox:/data/docker/archivebox:ro
|
||||
- authentik-redis:/data/docker/authentik-redis:ro
|
||||
- authentik-media:/data/docker/authentik-media:ro
|
||||
- authentik-templates:/data/docker/authentik-templates:ro
|
||||
- authentik-certs:/data/docker/authentik-certs:ro
|
||||
- comfycamp:/data/docker/comfycamp:ro
|
||||
- forgejo:/data/docker/forgejo:ro
|
||||
- freshrss:/data/docker/freshrss:ro
|
||||
- freshrss-extensions:/data/docker/freshrss-extensions:ro
|
||||
- immich-redis:/data/docker/immich-redis:ro
|
||||
- immich-model-cache:/data/docker/immich-model-cache:ro
|
||||
- /mnt/hdd/immich:/data/immich:ro
|
||||
- jellyfin-cache:/data/docker/jellyfin-cache:ro
|
||||
- jellyfin-config:/data/docker/jellyfin-config:ro
|
||||
- /mnt/hdd/jellyfin:/data/jellyfin:ro
|
||||
- maddy:/data/docker/maddy:ro
|
||||
- redis-mastodon:/data/docker/redis-mastodon:ro
|
||||
- mastodon-public-system:/data/docker/mastodon-public-system:ro
|
||||
- minecraft:/data/docker/minecraft:ro
|
||||
- /mnt/hdd/minio:/data/minio:ro
|
||||
- grafana:/data/docker/grafana:ro
|
||||
- prometheus:/data/docker/prometheus:ro
|
||||
- uptime-kuma:/data/docker/uptime-kuma:ro
|
||||
- nextcloud:/data/docker/nextcloud:ro
|
||||
- nextcloud-redis:/data/docker/nextcloud-redis:ro
|
||||
- /mnt/hdd/nextcloud:/data/nextcloud:ro
|
||||
- ollama:/data/docker/ollama:ro
|
||||
- open-webui:/data/docker/open-webui:ro
|
||||
- peertube-redis:/data/docker/peertube-redis:ro
|
||||
- /mnt/hdd/peertube:/data/peertube:ro
|
||||
- phoenix:/data/docker/phoenix:ro
|
||||
- prosody:/data/docker/prosody:ro
|
||||
|
|
|
@ -5,10 +5,32 @@ set -e
|
|||
docker exec restic-1 restic -o s3.bucket-lookup=dns \
|
||||
backup --stdin-filename /data/postgresql.sql --stdin-from-command \
|
||||
-- pg_dumpall -U postgres -h postgresql --no-password
|
||||
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/archivebox
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/archivebox
|
||||
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/authentik-media
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/authentik-certs
|
||||
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/comfycamp
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/forgejo
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/freshrss
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/immich
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/jellyfin-config
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/maddy
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/minecraft
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/minio
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/grafana
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/prometheus
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/uptime-kuma
|
||||
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/nextcloud
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/nextcloud
|
||||
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/peertube
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/phoenix
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/prosody
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/synapse
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/vaultwarden
|
||||
|
||||
docker exec restic-1 restic -o s3.bucket-lookup=dns forget --keep-daily 7 --keep-weekly 2
|
||||
|
|
Loading…
Reference in a new issue