* moved example to example attribute, changed description of sitecopy backup module

svn path=/nixos/trunk/; revision=17693
This commit is contained in:
Rob Vermaas 2009-10-07 12:52:04 +00:00
parent 15ffc4a296
commit e6e3c11dba

View File

@ -36,20 +36,24 @@ in
}; };
backups = mkOption { backups = mkOption {
default = []; example = [
description = '' { name = "test";
List of attributesets describing the backups.
E.g. { name = "test";
local = "/tmp/backup"; local = "/tmp/backup";
remote = "/staff-groups/ewi/st/strategoxt/backup/test"; remote = "/staff-groups/ewi/st/strategoxt/backup/test";
server = "webdata.tudelft.nl"; server = "webdata.tudelft.nl";
protocol = "webdav"; protocol = "webdav";
https = true ; https = true ;
}; }
Username/password are extracted from ${stateDir}/sitecopy.secrets at activation ];
time. The secrets file lines should have the following structure: default = [];
server username password description = ''
List of attributesets describing the backups.
Username/password are extracted from <filename>${stateDir}/sitecopy.secrets</filename> at activation
time. The secrets file lines should have the following structure:
<screen>
server username password
</screen>
''; '';
}; };