mail.sh an neuen Container angepasst

This commit is contained in:
Hartmut Bauer committed 2025-05-08 16:59:25 +02:00
1 parent 912d4b9434
commit 27e0889bd1
3 files changed
+19 -11

No files matched your search

+4 -3
View File
@@ -1,9 +1,10 @@
#!/usr/bin/env bash
USER_CONTAINERS="homeassistant-pod codeserver jellyfin pgadmin nextcloud-pod calibre nexus git-pod caddy.socket caddy"
USER_CONTAINERS="homeassistant-pod codeserver jellyfin pgadmin nextcloud-pod calibre nexus git-pod caddy.socket caddy smtp-relay roonserver"
ROOT_CONTAINERS=
DOCKER_ROOT=/var/docker
CONTAINERS_ROOT=/var/containers
BACKUP_TARGET=$DOCKER_ROOT/tmp
NAS_TARGET="$NAS_ROOT/daily/$HOST_NAME/backup.$DAY"
@@ -27,9 +28,9 @@ before_backup() {
let local rc=0
#dump_mariadb $DOCKER_ROOT/dump/mysql
#let rc=rc+$?
dump_postgresql ncd_pg $DOCKER_ROOT/dump/nextcloud
dump_postgresql ncd_pg $CONTAINERS_ROOT/dump/nextcloud
let rc=rc+$?
dump_postgresql gitea_pg $DOCKER_ROOT/dump/gitea
dump_postgresql gitea_pg $CONTAINERS_ROOT/dump/gitea
let rc=rc+$?
if [ $rc -gt 0 ]; then
return 1