36 lines
2 KiB
Django/Jinja
36 lines
2 KiB
Django/Jinja
#!/bin/sh
|
|
|
|
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
|