Files from Blogpost

This commit is contained in:
2026-03-26 07:07:40 +01:00
parent e8c2940ffb
commit 6ede7c0241
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
[Unit]
Description=Backup /home to USB-Stick
After=network.service
[Service]
Type=oneshot
Environment="PARTUUID=7b2d5cb6-01" "MOUNTPOINT=/mnt/backup" "SOURCE=/home"
ExecStart=/usr/local/bin/autobackup.sh
StandardOutput=append:/var/log/autobackup.log
StandardError=append:/var/log/autobackup_error.log
Restart=no
[Install]
WantedBy=multi-user.target