From 29da00a447b51572f163f0e7df997b44f3ac43de Mon Sep 17 00:00:00 2001 From: admin666 Date: Fri, 31 May 2024 16:42:45 +0200 Subject: [PATCH] correction exclusion rsync --- restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index cec7f7c..0bba95a 100755 --- a/restore.sh +++ b/restore.sh @@ -85,7 +85,7 @@ borg mount root@${backuphost}:/var/backups/borg/${vm}.repo::${DATES[backupdate]} # Syncing echo "Syncing now !" sleep 1 -rsync -ar --info=progress2 --progress --no-i-r --sparse --delete --exclude={"/bin","/sbin","/proc","/dev","/sys","/run","/tmp","/mnt","/media","/lost+found"} ${rsync_options} /mnt/${vm}-remote/. /mnt/${vm} +rsync -ar --info=progress2 --progress --no-i-r --sparse --delete --exclude={"/proc","/dev","/sys","/run","/tmp","/mnt","/lost+found"} ${rsync_options} /mnt/${vm}-remote/. /mnt/${vm} # Cleaning up echo -e "\nOK\n"