diff --git a/btrbk.conf b/btrbk.conf index 55e3233..07479bd 100644 --- a/btrbk.conf +++ b/btrbk.conf @@ -23,7 +23,7 @@ RCLONEDIR="test:/mnt/bk/new/" KEEPLOCAL="10" #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 FULL=("full" "2") INCR=("incr" "1") diff --git a/btrbk.service b/btrbk.service index 3d4054c..0a84c93 100644 --- a/btrbk.service +++ b/btrbk.service @@ -3,8 +3,6 @@ Description=runs backup for btrfs subvolumes Wants=btrfs.timer [Service] -Type=oneshot +Type=simple ExecStart=/usr/local/bin/btrbk --backup -[Install] -WantedBy=multi-user.target diff --git a/btrbk.timer b/btrbk.timer index aba1ccd..c72d4e2 100644 --- a/btrbk.timer +++ b/btrbk.timer @@ -1,6 +1,5 @@ [Unit] Description=Timer for btrbk.service -Requires=btrbk.service [Timer] Unit=btrbk.service