Fix DB-Dump

This commit is contained in:
Hartmut Bauer committed 2025-05-05 13:07:14 +02:00
1 parent a8a00a9f46
commit 912d4b9434
3 files changed
+10 -9

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
USER_CONTAINERS="homeassistant-pod codeserver jellyfin pgadmin nextcloud-pod calibre nexus git-pod caddy"
USER_CONTAINERS="homeassistant-pod codeserver jellyfin pgadmin nextcloud-pod calibre nexus git-pod caddy.socket caddy"
ROOT_CONTAINERS=
DOCKER_ROOT=/var/docker
@@ -27,9 +27,9 @@ before_backup() {
let local rc=0
#dump_mariadb $DOCKER_ROOT/dump/mysql
#let rc=rc+$?
dump_postgresql postgres $DOCKER_ROOT/dump/postgres
dump_postgresql ncd_pg $DOCKER_ROOT/dump/nextcloud
let rc=rc+$?
dump_postgresql pg_nextcloud $DOCKER_ROOT/dump/pg_nextcloud
dump_postgresql gitea_pg $DOCKER_ROOT/dump/gitea
let rc=rc+$?
if [ $rc -gt 0 ]; then
return 1