correction exclusion rsync
This commit is contained in:
parent
a334bb675f
commit
29da00a447
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue