feat: add scheduled backups with borg

This commit is contained in:
Bruno Carlin 2022-08-12 23:59:24 +02:00
parent 7c897dbfc2
commit edb34572a0
4 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1,6 @@
[Unit]
Description=Backup this computer to a remote server
[Service]
Type=oneshot
ExecStart=%h/.local/bin/backups.sh

View file

@ -0,0 +1,9 @@
[Unit]
Description=Backup this computer to a remote server
[Timer]
OnUnitActiveSec=15m
Unit=backups.service
[Install]
WantedBy=timers.target

View file

@ -0,0 +1 @@
/home/bca/.config/systemd/user/backups.timer