From 969dcf722a6cc1034136b1e20d21d56240e18414 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 28 Jun 2026 09:02:22 +0300 Subject: 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 --- systemd-user/home-backup.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 systemd-user/home-backup.service (limited to 'systemd-user/home-backup.service') diff --git a/systemd-user/home-backup.service b/systemd-user/home-backup.service new file mode 100644 index 0000000..0b9a69e --- /dev/null +++ b/systemd-user/home-backup.service @@ -0,0 +1,10 @@ +[Unit] +Description=Backup home directory to f2 (encrypted ZFS via rsync over SSH) +Wants=network-online.target +After=network-online.target + +[Service] +Type=oneshot +ExecStart=%h/scripts/home-backup +Nice=10 +IOSchedulingClass=idle -- cgit v1.2.3