This commit is contained in:
oliver
2026-04-21 13:53:37 -03:00
parent 22e49faf46
commit 4328750ac8
+2 -2
View File
@@ -30,7 +30,7 @@ for HOST in "${HOSTS[@]}"; do
# Pull mode: mount client's /BACKUP locally via SSHFS
if ! sshfs "${HOST}:/BACKUP" "$MOUNT_DIR" \
-o BatchMode=yes,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3; then
-o BatchMode=yes,reconnect,follow_symlinks,ServerAliveInterval=15,ServerAliveCountMax=3; then
echo "WARNING: Failed to mount $HOST:/BACKUP via SSHFS"
FAILED_HOSTS+=("$HOST")
rmdir "$MOUNT_DIR"
@@ -42,7 +42,7 @@ for HOST in "${HOSTS[@]}"; do
if ! borg create \
"$REPO::$ARCHIVE" \
"$MOUNT_DIR" \
--pattern "+ sh:*/current*" \
--pattern "+ sh:**/current*" \
--pattern "- *" \
--files-cache ctime,size \
--stats \