btrbk/btrbk.conf

38 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-05-25 20:02:09 +02:00
#!/bin/bash
2022-07-04 16:46:55 +02:00
#The Fingerprint of the PGP Public Key you want to use to encrypt your Backups
2022-05-25 20:02:09 +02:00
PUBKEY="DB7D3FF57FB85CC81A1D4675371DB61AC29E4986"
2022-07-04 16:46:55 +02:00
#Path of the Subvolumes to Backup
2022-05-25 20:02:09 +02:00
SUBVOLS=("/" "/home")
2022-07-04 16:46:55 +02:00
#Names that should be associated with the local Subvolumes on the remote storage
#VOLNAME has to be in the same order as SUBVOLS to be interpreted correctly
2022-05-25 20:02:09 +02:00
VOLNAME=("root" "home")
2022-07-04 16:46:55 +02:00
2022-07-06 16:32:40 +02:00
#UUID of the Disk with the btrfs root
BTRFSUUID="d1b20b8a-3cf4-41f7-bdc8-d50d53dc77c2"
2022-07-04 16:46:55 +02:00
#btrfs volume too keep snapshots in
2022-05-25 20:02:09 +02:00
SNAPDIR="/.snapshots/"
2022-07-04 16:46:55 +02:00
2022-07-12 13:21:07 +02:00
#rclone Directory on remote storage
2022-05-25 20:02:09 +02:00
RCLONEDIR="test:/mnt/bk/new/"
2022-07-06 16:32:40 +02:00
#How many local snapshots should be kept
KEEPLOCAL="10"
2022-07-12 11:31:47 +02:00
#How often to run a full backup: "monthly" or "weekly"
BKCYCLE="monthly"
#Day when to run full Backup
2022-07-12 13:21:07 +02:00
#can be specified multiple times 1-7 for weekely and 1-30 for monthly
#example ("1" "5" "23")
BKDAY=("1")
2022-07-12 11:31:47 +02:00
2022-07-04 16:46:55 +02:00
#Suffix name for incremental/full backups and retention
2022-07-11 15:46:38 +02:00
#example: [YYYY-mm-"full"] and will keep the last two backups
2022-07-04 16:46:55 +02:00
#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")