nixpkgs/nixos/modules/services/backup
Tanner Doshier ad796f155b 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 <aseipp@pobox.com>
2016-01-07 05:52:18 -06:00
..
almir.nix types.uniq types.int -> types.int 2015-06-15 18:11:32 +02:00
bacula.nix nixos: bacula service: re-format descriptions 2015-09-07 01:12:26 +02:00
crashplan.nix Use lib instead of pkgs.lib 2014-11-17 20:30:37 +03:00
mysql-backup.nix
postgresql-backup.nix postgresql-backup: cleanup 2015-05-19 18:35:22 +03:00
rsnapshot.nix rsnapshot: add git version & make it configurable in the nixos module 2014-10-27 20:38:39 +01:00
sitecopy-backup.nix nixos: sitecopy service: re-format descriptions 2015-09-07 01:25:54 +02:00
tarsnap.nix nixos: tarsnap - make systemd timer persistent 2016-01-07 05:52:18 -06:00