-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.example
56 lines (51 loc) · 1.3 KB
/
config.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#BORG="/usr/bin/borg"
BORG_REPO="<user>@<reposerver>:/srv/borg/$(hostname -f)"
# If using a non-standard SSH port ssh:// have to be specified (per borg v1.0.9)
#BORG_REPO="ssh://<user>@<reposerver>:<ssh_port>/srv/borg/$(hostname -f)"
BORG_PASSPHRASE="longandcomplexpassphrase"
PATHS=(
"/etc"
"/home"
"/root"
"/srv"
"/usr/local"
"/var/spool/cron/crontabs"
)
EXCLUDES=(
"sh:/home/**/.cache"
"/root/.cache"
"*.pyc"
)
KEEP_HOURLY=0
KEEP_DAILY=31
KEEP_WEEKLY=0
KEEP_MONTHLY=24
KEEP_YEARLY=5
# Limit bandwith used when backing up to SSH repositories. Requires the utility `pv`.
# The unit is bytes per second. 0 means no limit. The numeric part must be an integer value.
# You can use K, M, G or T binary prefixes (power of 1024), e.g., 5M = 5MiB/s = 5242880 bytes/s.
#BWLIMIT=0
# Location of borgwrapper lock files
#LOCKDIR="/run/lock/borgwrapper"
# You can add args, such as a custom identity key file, to ssh here
#BORG_RSH="ssh"
# Optional arguments to the different borg commands.
# The current default values are listed. Modify if needed.
#BORG_CREATE_ARGS=(
# --info
# --stats
# --list
# --filter AME
# --compression lz4
#)
#BORG_PRUNE_ARGS=(
# --info
# --stats
# --list
#)
#BORG_CHECK_ARGS=(
# --info
#)
#BORG_INIT_ARGS=(
# --encryption repokey-blake2
#)