* 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 {
example = [
{ name = "test";
local = "/tmp/backup";
remote = "/staff-groups/ewi/st/strategoxt/backup/test";
server = "webdata.tudelft.nl";
protocol = "webdav";
https = true ;
}
];
default = [];
description = ''
List of attributesets describing the backups.
E.g. { name = "test";
local = "/tmp/backup";
remote = "/staff-groups/ewi/st/strategoxt/backup/test";
server = "webdata.tudelft.nl";
protocol = "webdav";
https = true ;
};
Username/password are extracted from ${stateDir}/sitecopy.secrets at activation
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>
'';
};