include backup functionality

This commit is contained in:
2026-10-26 16:13:05 -06:00
parent e771d305b1
commit 8c8c59d6d5
5 changed files with 204 additions and 0 deletions
@@ -0,0 +1,9 @@
[Unit]
Description=Back up your home folder to your Nextcloud files
[Service]
Type=oneshot
ExecStart=%h/.local/share/coredesktop/system/backup
# Stay out of the way of whatever you're doing
Nice=19
IOSchedulingClass=idle
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=Back up your home folder daily
[Timer]
OnCalendar=daily
RandomizedDelaySec=1h
# Catch up at the next login if the computer was off or you weren't logged in
Persistent=true
[Install]
WantedBy=timers.target