Merge pull request #108955 from asymmetric/tarsnap-doc-format

modules/tarsnap: document timestamp format
This commit is contained in:
Jörg Thalheim 2021-01-10 16:39:31 +00:00 committed by GitHub
commit 329e70e0cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,13 +29,7 @@ in
options = {
services.tarsnap = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Enable periodic tarsnap backups.
'';
};
enable = mkEnableOption "periodic tarsnap backups";
keyfile = mkOption {
type = types.str;
@ -279,7 +273,8 @@ in
Tarsnap archive configurations. Each attribute names an archive
to be created at a given time interval, according to the options
associated with it. When uploading to the tarsnap server,
archive names are suffixed by a 1 second resolution timestamp.
archive names are suffixed by a 1 second resolution timestamp,
with the format <literal>%Y%m%d%H%M%S</literal>.
For each member of the set is created a timer which triggers the
instanced <literal>tarsnap-archive-name</literal> service unit. You may use