btrbk/btrbk.conf

24 lines
810 B
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
#btrfs volume too keep snapshots in
2022-05-25 20:02:09 +02:00
SNAPDIR="/.snapshots/"
2022-07-04 16:46:55 +02:00
#Rclone Directory on remote storage
2022-05-25 20:02:09 +02:00
RCLONEDIR="test:/mnt/bk/new/"
2022-07-04 16:46:55 +02:00
#Suffix name for incremental/full backups and retention
#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")