miyagi-backup.sh aktualisiert

This commit is contained in:
2026-02-04 17:09:40 +01:00
parent 15e86400f0
commit 2fa79afd66
+4 -3
View File
@@ -519,6 +519,7 @@ send_piggyback_external() {
log "Externer Piggyback-Export deaktiviert."
return
fi
write_zsync_config
get_sourcehostname
log "Ermittelter SOURCEHOSTNAME: $SOURCEHOSTNAME"
@@ -563,7 +564,7 @@ send_checkzfs_external() {
log "Externer Check-ZFS deaktiviert (ECHECKZFS=$ECHECKZFS)"
return
fi
write_zsync_config
get_sourcehostname # Setzt SOURCEHOSTNAME, wenn nicht vorhanden
local checkzfs_cmd="${checkzfs_cmd:-$(command -v checkzfs)}"
@@ -586,9 +587,9 @@ send_checkzfs_external() {
filter="#${filter%|}"
log "Generierter ZFS-Filter: $filter"
local combined="miyagi-${SOURCEHOSTNAME}-$(hostname)"
local combined="miyagi-${SOURCEHOSTNAME}-$(hostname)-${ZPUSHTAG}"
local spoolfile="/tmp/${combined}_checkzfs_external"
local spooldest="90000_${combined}_checkzfs_external"
local spooldest="120000_${combined}_checkzfs_external"
log "Führe checkzfs aus..."
{