Fix exclude rule for backup folder and backup logs

Before every file in the tree containing backup was excluded
This commit is contained in:
2020-01-13 15:44:05 +01:00
parent 29ede5409b
commit 7826addc26

View File

@@ -10,8 +10,9 @@
BACKUP_TARGET="/backup" BACKUP_TARGET="/backup"
# Exclude notation "directory/*" creates the directory but NOT its content # Exclude notation "directory/*" creates the directory but NOT its content
# Leading slash binds the rule to the "root" of the transfer operation
BACKUP_EXCLUDES=(\ BACKUP_EXCLUDES=(\
"backup*"\ "/backup*"\
"/home/network/*"\ "/home/network/*"\
"/dev/*"\ "/dev/*"\
"/proc/*"\ "/proc/*"\