From 7826addc265ace0aaf46d31c87cd5e8200cb975e Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Mon, 13 Jan 2020 15:44:05 +0100 Subject: [PATCH] Fix exclude rule for backup folder and backup logs Before every file in the tree containing backup was excluded --- seqs/backup.cfg.example | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seqs/backup.cfg.example b/seqs/backup.cfg.example index 8f01601..1bedfb4 100644 --- a/seqs/backup.cfg.example +++ b/seqs/backup.cfg.example @@ -10,8 +10,9 @@ BACKUP_TARGET="/backup" # 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*"\ + "/backup*"\ "/home/network/*"\ "/dev/*"\ "/proc/*"\