diff options
author | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-10-07 09:30:49 +0000 |
---|---|---|
committer | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-10-07 09:30:49 +0000 |
commit | b9a9c1366987aa8342a0c87622fff87a49f140c7 (patch) | |
tree | 302193465e6e499cee5110ca1cda6387b88e3d71 /draksnapshot-config | |
parent | 2154732290782d7f9edc30adea094f7cd63faf9a (diff) | |
download | draksnapshot-b9a9c1366987aa8342a0c87622fff87a49f140c7.tar draksnapshot-b9a9c1366987aa8342a0c87622fff87a49f140c7.tar.gz draksnapshot-b9a9c1366987aa8342a0c87622fff87a49f140c7.tar.bz2 draksnapshot-b9a9c1366987aa8342a0c87622fff87a49f140c7.tar.xz draksnapshot-b9a9c1366987aa8342a0c87622fff87a49f140c7.zip |
(save) set 'no_create_root' option so that we skip backuping when
devices are not mounted
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@247863 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'draksnapshot-config')
-rwxr-xr-x | draksnapshot-config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/draksnapshot-config b/draksnapshot-config index 14c7b3f..ebb7f4b 100755 --- a/draksnapshot-config +++ b/draksnapshot-config @@ -298,6 +298,7 @@ sub save() { my $where2snapshot = $where->get_text; save_keyword('backup', map { join("\t", 'backup', @$_[0], 'localhost/') } @{$backup_list->{data}}); + save_keyword('no_create_root', "no_create_root\t1"); save_keyword('exclude', map { join("\t", 'exclude', $_) } uniq($where2snapshot, map { @$_[0] } @{$exclude_list->{data}})); save_keyword('snapshot_root', join("\t", 'snapshot_root', $where2snapshot)); |