|
From: <di...@us...> - 2013-01-05 18:23:58
|
Revision: 839
http://safekeep.svn.sourceforge.net/safekeep/?rev=839&view=rev
Author: dimi
Date: 2013-01-05 18:23:52 +0000 (Sat, 05 Jan 2013)
Log Message:
-----------
Specify a default size for a snapshot (set to 20% of the free space)
Modified Paths:
--------------
safekeep/trunk/doc/safekeep.backup.txt
safekeep/trunk/doc/safekeep.conf.txt
safekeep/trunk/safekeep
Modified: safekeep/trunk/doc/safekeep.backup.txt
===================================================================
--- safekeep/trunk/doc/safekeep.backup.txt 2013-01-05 01:38:42 UTC (rev 838)
+++ safekeep/trunk/doc/safekeep.backup.txt 2013-01-05 18:23:52 UTC (rev 839)
@@ -260,8 +260,7 @@
percentage, e.g. `20%`, which is equivalent to 20% of the
logical volume. Other values as listed for `lvcreate(8)`
can also be given.
- Mandatory for a `<snapshot>` element, unless a default value
- has been specified in `safekeep.conf`.
+ Optional, defaults to 'snapshot.size' as specified in `safekeep.conf`.
/backup/setup/snapshot/@tag::
A list of tags to be added to the snapshot, with the `--addtag`
Modified: safekeep/trunk/doc/safekeep.conf.txt
===================================================================
--- safekeep/trunk/doc/safekeep.conf.txt 2013-01-05 01:38:42 UTC (rev 838)
+++ safekeep/trunk/doc/safekeep.conf.txt 2013-01-05 18:23:52 UTC (rev 839)
@@ -129,7 +129,7 @@
a percentage (`%`). If not otherwise specified, the percentage is
based on unallocated space (i.e. LVM2 `%FREE'), which is different
to the interpretation within the `<snapshot>` option.
- This value is optional and there is no default.
+ This value is optional, it defaults to '20%FREE'.
NOTES
-----
Modified: safekeep/trunk/safekeep
===================================================================
--- safekeep/trunk/safekeep 2013-01-05 01:38:42 UTC (rev 838)
+++ safekeep/trunk/safekeep 2013-01-05 18:23:52 UTC (rev 839)
@@ -70,7 +70,7 @@
client_defaults = []
current_pid = os.getpid()
default_bandwidth = {}
-default_snapshot = None
+default_snapshot = '20%FREE'
statistics = []
# Default mount options, overridden elsewhere:
# Key is a file system type, or 'snapshot' for default for snapshot mount
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|