summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xdraksnapshot-config3
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f826f38..269dc99 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,9 @@
- applet:
o do not crash if notify deamon failed on ->show (#40031)
o do not consider USB root disc
+- configurator:
+ o exclude snapshot point from being backuped (thus preventing to
+ recursively backup the backup directory) (#39801)
Version 0.9 - 3 April 2008, Thierry Vignaud
diff --git a/draksnapshot-config b/draksnapshot-config
index f749c52..72aab47 100755
--- a/draksnapshot-config
+++ b/draksnapshot-config
@@ -271,7 +271,8 @@ sub save() {
my $where2snapshot = $where->get_text;
save_keyword('backup', map { join("\t", 'backup', @$_[0], 'localhost/') } @{$backup_list->{data}});
- save_keyword('exclude', map { join("\t", 'exclude', @$_[0]) } @{$exclude_list->{data}});
+ save_keyword('exclude', map { join("\t", 'exclude', $_) }
+ uniq($where2snapshot, map { @$_[0] } @{$exclude_list->{data}}));
save_keyword('snapshot_root', join("\t", 'snapshot_root', $where2snapshot));
generate_cron_entry();
}