-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.template
74 lines (60 loc) · 1.92 KB
/
.env.template
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
DB_PATH=./datadir
BK_PATH=./databackup
HTTP_HOST=0.0.0.0:9292
SECRET=34753778214125442A472D4B6150645367566B59703273357638792F423F4528482B4D6251655468576D5A7134743677397A24432646294A404E635266556A58
BUCKETS=ctl_games,ct_games
CMD_UNIX_SOCKET="/tmp/relKV.sock"
##
## value of 0 turns off the bloom filter.
##
## bloom filters take up a large amount of memory, if getting OOM, try lowering this value.
## this will make reading longer as it will need to read from disk to find the key. In my
## archive I needed to turn it off completely to keep from OOM and it still functioned fine.
##
## The higher rate of false positive, the less memory it will consume.
##
## According to docs, 0.01 is the default 1% false positive.
BLOOM_FALSE_PERCENTAGE=0.01
# BLOOM_FALSE_PERCENTAGE=0
LOG_FILE=bkDb.log
# LOG_FILE= <- goes to standard out
LOG_LEVEL=WARN
# LOG_LEVEL=DEBUG|INFO|WARNING|ERROR
ALLOW_CREATE_DB=1
# ALLOW_CREATE_DB=0 <- 0 = do not allow create
BK_HOURS=0,17,22
# Number of hours after last backup that the status page considers there is an issue
BACKUP_GRACE_HOURS=26
## Add day / hour to backup name
## files will be overwritten based on filename so H and D will
## create many files. #days * #backubs in day (BK_HOURS).
BK_SUFFIX_HOUR=0
BK_SUFFIX_DAY=1
NOBACKUP=0
# NOBACKUP <- 1 = do not do backups
#
# Do you want the backup created as a zip file
# Requires gzip for running.
BK_ZIP=0
#
# How many go routines to use in backup. The higher number can be faster but takes up much more memory
# and cause oom during the backup.
#
BK_NUM_GO=2
#
# Send the backup to another server
#
# url, dir, uname and (upwd or keypath) need to be specified
#
BK_SCP_HOST=
BK_SCP_DIR=
BK_SCP_UNAME=
BK_SCP_UPWD=
BK_SCP_PATH_TO_KEY=
## Add day / hour to backup name on the destination machine
## files will be overwritten based on filename so H and D will
## create many files. #days * #backubs in day (BK_HOURS).
BK_SCP_SUFFIX_HOUR=0
BK_SCP_SUFFIX_DAY=1
#
#