From 44b984860f13c46533fe0f474848a6b66a5ee029 Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 12 Dec 2022 12:40:03 +0100 Subject: [PATCH] first scan over all files to prevent after copy created hardlinks --- gaboshlib/g_backup.bashfunc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gaboshlib/g_backup.bashfunc b/gaboshlib/g_backup.bashfunc index 66c0ba1..dfcb84f 100644 --- a/gaboshlib/g_backup.bashfunc +++ b/gaboshlib/g_backup.bashfunc @@ -86,7 +86,7 @@ var-lib-docker sshopts="g_retrycmd ssh -n -p $BACKUPSRVPORT -o BatchMode=yes -o StrictHostKeyChecking=accept-new $BACKUPSRVUSER@$BACKUPSRV" fi - rsyncopts="-aXAh --timeout=180 --force --delete --ignore-missing-args --inplace --partial" + rsyncopts="-aXAh --no-inc-recursive --timeout=180 --force --delete --ignore-missing-args --inplace --partial" [ -n "$BACKUPEXCLUDES" ] && rsyncopts="$rsyncopts --delete-excluded --exclude-from=$BACKUPEXCLUDES" [ -n "$BACKUPSRV" ] && rsyncopts="$rsyncopts -e 'ssh -p $BACKUPSRVPORT'" [ "$BACKUPSRVUSER" == "root" ] && syncopts="$rsyncopts --numeric-ids"