diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | draksnapshot-config | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -3,6 +3,7 @@ o disable advanced settings if "backup the whole system" is selected o hide list under an "Advanced" expander o set 755 perms on cron entry (#39699) + o use ad hoc config if "backup the whole system" is selected o use spin buttons for intervals - draksnapshot-restore wasn't installed 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)); |