forked from sund/auto-gitlab-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauto-gitlab-backup.conf.sample
72 lines (57 loc) · 1.87 KB
/
auto-gitlab-backup.conf.sample
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
## user account on remote server
# likely 'git' user
remoteUser=""
## remote host
# a backup gitlab server?
remoteServer=""
## path to an alternate ssh key, if needed.
sshKeyPath=""
## $remoteServer path for gitlab backups
remoteDest="/var/opt/gitlab/backups"
## backup gitlab configs
# change to 1 to enable
backupConfigs="0"
## rake quietly
# change to 1 to enable quiet rake job
quietRake=0
## enable backblaze b2 sync
# change to 1 to enable
# and set bucketname
# and change b2keepDays if other than 5 days is desired
b2blaze=0
b2Bucketname=""
b2keepDays="5"
## set $localConfDir
# blank disables conf backups
# you can create /var/opt/gitlab/backups/configBackups --
# gitlab doesn't seem to complain with a subfolder
# in there. Plus it will rsync up with the backup.
# So you won't need to enable a separate rsync run
localConfDir="/var/opt/gitlab/backups/configBackups"
## set $remoteServer path for gitlab configs
# blank disables remote copy
# unless $localConfDir is outside /var/opt/gitlab/backups/configBackups
# you can leave this blank
remoteConfDest=""
## ssh port or 873 for rsyncd port
remotePort=22
## git user home.
# Only change the below setting if you have git's home in a different location
gitHome="/var/opt/gitlab"
## only set below if rvm is in use and you need to source the rvm env file
# echo $(rvm env --path)
RVM_envPath=""
## only use the below settings if your destination is using rsync in daemon mode
remoteModule=""
rsync_password_file=""
## localbackup directories
# only change if gitlab_rails['backup_path'] in gitlab.rb is set
# other than $gitHome/[backups|ci-backups]
gitRakeBackups="/var/opt/gitlab/backups"
gitRakeCIBackups="/var/opt/gitlab/ci-backups"
## only change if configs are in different locations. (unlikely)
localConfig="/etc/gitlab"
localsshkeys="/var/opt/gitlab/.ssh"
## Check remote quota
# change to true or 1 to enable
checkQuota="0"