Revert "remove borg in favour of borgmatic"
This reverts commit e7c473264d.
This commit is contained in:
10
borg/.config/systemd/user/borg-backup.service
Normal file
10
borg/.config/systemd/user/borg-backup.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=borg backup
|
||||
Before=borg-prune.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=%h/.bin/borg_backup
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
10
borg/.config/systemd/user/borg-backup.timer
Normal file
10
borg/.config/systemd/user/borg-backup.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=borg backup
|
||||
|
||||
[Timer]
|
||||
Persistent=true
|
||||
OnCalendar=hourly
|
||||
Unit=borg-backup.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user