From 8f254e85f9db776cb7c31660709cf4b368531c93 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 3 Jan 2023 13:31:04 +0100 Subject: [PATCH] added rsync-options --one-file-system --open-noatime --- 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 7894ae4..1df0e52 100644 --- a/gaboshlib/g_backup.bashfunc +++ b/gaboshlib/g_backup.bashfunc @@ -90,7 +90,7 @@ var-lib-docker sshopts="g_retrycmd ssh -n -p $BACKUPSRVPORT -o BatchMode=yes -o StrictHostKeyChecking=accept-new $BACKUPSRVUSER@$BACKUPSRV" fi - rsyncopts="-aXAh --no-inc-recursive --timeout=180 --force -yy --delete-after --ignore-missing-args --partial" + rsyncopts="-aXAh --no-inc-recursive --timeout=180 --force -yy --one-file-system --open-noatime --delete-after --ignore-missing-args --partial" [ -n "$BACKUPEXCLUDES" ] && rsyncopts="$rsyncopts --delete-excluded --exclude-from=$BACKUPEXCLUDES" [ -n "$BACKUPSRV" ] && rsyncopts="$rsyncopts -e 'ssh -p $BACKUPSRVPORT'" [ "$BACKUPSRVUSER" == "root" ] && syncopts="$rsyncopts --numeric-ids"