Branch: refs/heads/nixos/tarsnap/sep-cachedirs
Home: https://github.com/NixOS/nixpkgs
Commit: 5f316a814e1db45c55365181654745f0f4e34d27
https://github.com/NixOS/nixpkgs/commit/5f316a814e1db45c55365181654745f0f4e34d27
Author: Tanner Doshier <[email protected]>
Date: 2016-01-07 (Thu, 07 Jan 2016)
Changed paths:
M nixos/modules/services/backup/tarsnap.nix
Log Message:
-----------
nixos: tarsnap - make systemd timer persistent
A machine may not always be active (or online!) when a backup timer
triggers, meaning backups can be missed - now we properly set the
tarsnap timer's Persistent option so systemd will run the command even
when the machine wasn't online at that exact time.
However, we also need to make sure that we can contact the tarsnap
server reliably before we start the backup. So, we attempt to ping the
access endpoint in a loop with a sleep, before continuing.
This fixes #8823.
Signed-off-by: Austin Seipp <[email protected]>
Commit: 7024cb6da7b76ee524bd09d1a0e0d52e6e147b46
https://github.com/NixOS/nixpkgs/commit/7024cb6da7b76ee524bd09d1a0e0d52e6e147b46
Author: Austin Seipp <[email protected]>
Date: 2016-01-07 (Thu, 07 Jan 2016)
Changed paths:
M nixos/modules/services/backup/tarsnap.nix
Log Message:
-----------
nixos: tarsnap - separate archive cachedirs
Tarsnap locks the cachedir during backup, meaning if you specify
multiple backups with a shared cache that might overlap (for example,
one backup may take an hour), secondary backups will fail. This isn't
very nice behavior for the obvious reasons.
This splits the cache dirs for each archive appropriately. Note that
this will require a rebuild of your archive caches (although if you were
only using one archive for your whole system, you can just move the
directory).
Signed-off-by: Austin Seipp <[email protected]>
Commit: 803798548a3c952c401b6ec764796a3bb5871629
https://github.com/NixOS/nixpkgs/commit/803798548a3c952c401b6ec764796a3bb5871629
Author: Austin Seipp <[email protected]>
Date: 2016-01-07 (Thu, 07 Jan 2016)
Changed paths:
M nixos/modules/services/backup/tarsnap.nix
Log Message:
-----------
nixos: tarsnap - allow keys for individual archives
Two concurrent tarsnap backups cannot be run at the same time with the
same keys - completely separate sets of keys must be generated for each
archive in this case, if you want backups to overlap.
This extends the archives attrset to support a 'keyfile' option, which
defaults to /root/tarsnap.key like the top-level attribute.
With this change, if you generate two keys with tarsnap-keygen(1) and
use each of those separately for each archive, you can backup
concurrently.
Signed-off-by: Austin Seipp <[email protected]>
Compare: https://github.com/NixOS/nixpkgs/compare/5f316a814e1d^...803798548a3c_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits