diff options
| author | Franck Cuny <franck@fcuny.net> | 2023-04-29 17:12:06 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2023-04-30 14:39:49 -0700 |
| commit | f37e5d6940228930852d4dd6d1993eb75940dc52 (patch) | |
| tree | 986d49639a3971d3b1f4c5d1c84662b2b60d8a6f /hosts/tahoe/services.nix | |
| parent | modules/backup: add a module for rsync (diff) | |
| download | infra-f37e5d6940228930852d4dd6d1993eb75940dc52.tar.gz | |
hosts/tahoe: enable rsync-ing backups to rsync.net
Diffstat (limited to 'hosts/tahoe/services.nix')
| -rw-r--r-- | hosts/tahoe/services.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix index 26ce9f6..a04225e 100644 --- a/hosts/tahoe/services.nix +++ b/hosts/tahoe/services.nix @@ -68,6 +68,13 @@ in exclude = [ ]; }; + backup.rsync = { + enable = true; + timerConfig = { OnCalendar = "00:15"; }; + sourceDir = "/data/slow/backups/"; + destination = "de2664@de2664.rsync.net:backups/"; + }; + sendsms.enable = true; }; |
