diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-28 09:02:22 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-28 09:02:22 +0300 |
| commit | 969dcf722a6cc1034136b1e20d21d56240e18414 (patch) | |
| tree | b89e9943bca4636a84aeab527c31eb1f92555040 /systemd-user/home-backup.timer | |
| parent | b934cb4431fa0f87b7ee116c976750f16bff031a (diff) | |
Add home-backup script with daily systemd timer
Backs up ~ to encrypted ZFS dataset on f2 (zdata/enc/earth-backup) via
rsync over SSH. Excludes caches, trash, build artifacts, git checkouts,
syncthing, and media libraries. Adds systemd user service+timer (daily)
and enables it via Rex home_systemd_user task.
Amp-Thread-ID: https://ampcode.com/threads/T-019f0cc8-1a8f-71ab-8a1c-914d7cdb055a
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'systemd-user/home-backup.timer')
| -rw-r--r-- | systemd-user/home-backup.timer | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd-user/home-backup.timer b/systemd-user/home-backup.timer new file mode 100644 index 0000000..db26c4e --- /dev/null +++ b/systemd-user/home-backup.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Run home-backup once per day + +[Timer] +OnCalendar=daily +Persistent=true +RandomizedDelaySec=30m + +[Install] +WantedBy=timers.target |
