service modified
This commit is contained in:
parent
a14f346546
commit
744220e1a2
|
@ -23,7 +23,7 @@ RCLONEDIR="test:/mnt/bk/new/"
|
||||||
KEEPLOCAL="10"
|
KEEPLOCAL="10"
|
||||||
|
|
||||||
#Suffix name for incremental/full backups and retention
|
#Suffix name for incremental/full backups and retention
|
||||||
#example: YYYY-mm-full and will keep the last two backups
|
#example: [YYYY-mm-"full"] and will keep the last two backups
|
||||||
#For full Backups dont set retention below 1 or you will always delete your current backup which renders all following incremental backups useless
|
#For full Backups dont set retention below 1 or you will always delete your current backup which renders all following incremental backups useless
|
||||||
FULL=("full" "2")
|
FULL=("full" "2")
|
||||||
INCR=("incr" "1")
|
INCR=("incr" "1")
|
||||||
|
|
|
@ -3,8 +3,6 @@ Description=runs backup for btrfs subvolumes
|
||||||
Wants=btrfs.timer
|
Wants=btrfs.timer
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=simple
|
||||||
ExecStart=/usr/local/bin/btrbk --backup
|
ExecStart=/usr/local/bin/btrbk --backup
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Timer for btrbk.service
|
Description=Timer for btrbk.service
|
||||||
Requires=btrbk.service
|
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
Unit=btrbk.service
|
Unit=btrbk.service
|
||||||
|
|
Loading…
Reference in a new issue