* moved example to example attribute, changed description of sitecopy backup module
svn path=/nixos/trunk/; revision=17693
This commit is contained in:
parent
15ffc4a296
commit
e6e3c11dba
1 changed files with 13 additions and 9 deletions
|
@ -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>
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue