* 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
@ -36,20 +36,24 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
backups = mkOption {
|
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 = [];
|
default = [];
|
||||||
description = ''
|
description = ''
|
||||||
List of attributesets describing the backups.
|
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
|
|
||||||
time. The secrets file lines should have the following structure:
|
|
||||||
server username password
|
|
||||||
|
|
||||||
|
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…
x
Reference in New Issue
Block a user