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

modules/tarsnap: document timestamp format

authored by Jörg Thalheim and committed by GitHub 329e70e0 51894963

+3 -8
+3 -8
nixos/modules/services/backup/tarsnap.nix
··· 29 30 options = { 31 services.tarsnap = { 32 - enable = mkOption { 33 - type = types.bool; 34 - default = false; 35 - description = '' 36 - Enable periodic tarsnap backups. 37 - ''; 38 - }; 39 40 keyfile = mkOption { 41 type = types.str; ··· 279 Tarsnap archive configurations. Each attribute names an archive 280 to be created at a given time interval, according to the options 281 associated with it. When uploading to the tarsnap server, 282 - archive names are suffixed by a 1 second resolution timestamp. 283 284 For each member of the set is created a timer which triggers the 285 instanced <literal>tarsnap-archive-name</literal> service unit. You may use
··· 29 30 options = { 31 services.tarsnap = { 32 + enable = mkEnableOption "periodic tarsnap backups"; 33 34 keyfile = mkOption { 35 type = types.str; ··· 273 Tarsnap archive configurations. Each attribute names an archive 274 to be created at a given time interval, according to the options 275 associated with it. When uploading to the tarsnap server, 276 + archive names are suffixed by a 1 second resolution timestamp, 277 + with the format <literal>%Y%m%d%H%M%S</literal>. 278 279 For each member of the set is created a timer which triggers the 280 instanced <literal>tarsnap-archive-name</literal> service unit. You may use