-
Notifications
You must be signed in to change notification settings - Fork 17
/
elabctl.conf
48 lines (35 loc) · 1.36 KB
/
elabctl.conf
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
# elabctl configuration file
# see https://github.com/elabftw/elabctl
# does nothing by default
# uncomment and edit to customize your environment
# ONLY ABSOLUTE PATHS HERE (start with a /)
# where do you want your backups to end up?
#declare BACKUP_DIR='/var/backups/elabftw'
# where do we store the config file?
#declare CONF_FILE='/etc/elabftw.yml'
# where do we store the MySQL database and the uploaded files?
#declare DATA_DIR='/var/elabftw'
# name of the web container (default: elabftw)
#declare ELAB_WEB_CONTAINER_NAME='elabftw'
# name of the mysql container (default: mysql)
#declare ELAB_MYSQL_CONTAINER_NAME='mysql'
# defines the time until older mysql dumps will be deleted (+0 = older than 24h, +1 = older than 48h and so on)
# this value will be passed to the -ctime argument of find command
# set to "disabled" to disable pruning
#declare DUMP_DELETE_DAYS=+0
#############################
# BORG BACKUP CONFIGURATION #
#############################
# full path to the borg executable
#declare BORG_PATH=/usr/local/bin/borg
# borg passphrase
#declare BORG_PASSPHRASE=
# borg repository
# remote example (with ssh): backupserver:/elabftw
# local example: /mnt/data/big_drive/elabftw
#declare BORG_REPO=
# granularity of backups to keep
declare BORG_KEEP_DAILY=14
declare BORG_KEEP_MONTHLY=6
# optional, only set if required (rsync.net)
#declare BORG_REMOTE_PATH=borg1