diff options
Diffstat (limited to 'draksnapshot-config')
-rwxr-xr-x | draksnapshot-config | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/draksnapshot-config b/draksnapshot-config index 790c811..c2a7a7f 100755 --- a/draksnapshot-config +++ b/draksnapshot-config @@ -263,6 +263,11 @@ sub save() { if_($val, join("\t", 'interval', $_, $val)); } @ordered_intervals); + if (!$box->get('sensitive')) { # Mandriva defaults + @{$backup_list->{data}} = '/'; #qw(/bin /boot /etc /home /lib /lib64 /opt); + @{$exclude_list->{data}} = qw(/media /mnt /proc /sys /tmp /var/run /var/tmp *~); + } + 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('snapshot_root', join("\t", 'snapshot_root', $where->get_text)); |