Fix exclude rule for backup folder and backup logs
Before every file in the tree containing backup was excluded
This commit is contained in:
@@ -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/*"\
|
||||||
|
Reference in New Issue
Block a user