correction exclusion rsync

This commit is contained in:
admin666 2024-05-31 16:42:45 +02:00
parent a334bb675f
commit 29da00a447
1 changed files with 1 additions and 1 deletions

View File

@ -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"