Fix DB-Dump
This commit is contained in:
1 parent
a8a00a9f46
commit
912d4b9434
3 files changed
+10
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user