add borg.config
This commit is contained in:
parent
0bbe208532
commit
8a3a2b9b22
1 changed files with 38 additions and 0 deletions
38
contrib/borg.config
Normal file
38
contrib/borg.config
Normal file
|
@ -0,0 +1,38 @@
|
|||
#place into ~/.config/borg.config and adapt
|
||||
|
||||
BORGHOST="glotze"
|
||||
USER="backup"
|
||||
REPO="backup"
|
||||
BORG_PASSPHRASE=""
|
||||
export BORG_PASSPHRASE
|
||||
|
||||
MYREPO=${USER}@${BORGHOST}:${REPO}
|
||||
|
||||
BORG_EXCLUDE_FILE=""
|
||||
|
||||
BORG_EXCLUDE_PATTERN=("/var/cache/*"
|
||||
"/var/tmp/*"
|
||||
"/var/log/*"
|
||||
"/home/*/.cache/*"
|
||||
"/root/.cache/*"
|
||||
)
|
||||
|
||||
BORG_BACKUP_DIRS=(
|
||||
"/etc"
|
||||
"/var"
|
||||
"/boot"
|
||||
"/root"
|
||||
"/home"
|
||||
"/usr/local"
|
||||
"/var/lib/libvirt/images"
|
||||
)
|
||||
|
||||
BORG_ARGS="--compression lzma,7"
|
||||
|
||||
BORG_PRUNEARG=("--keep-daily=7" "--keep-weekly=4" "--keep-monthly=12")
|
||||
|
||||
#only needed if executed as an non-root user AND in an environment without HOME-variable -> adapt to non-root home.
|
||||
#HOME="/root/"
|
||||
|
||||
set if backup host has to be woken up
|
||||
#MAC=""
|
Loading…
Add table
Reference in a new issue