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