Skip to content

Commit 783bca1

Browse files
committed
bring README uptodate with conf file and features
1 parent d908a12 commit 783bca1

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ http://sund.la/glup
44

55
----
66

7-
A collection of scripts to use omnibus-gitlab's own backup ```gitlab-rake``` command on a cron schedule and rsync to another server if wanted or to restore a backup.
7+
A collection of scripts to use omnibus-gitlab's own backup ```gitlab-rake``` command on a cron schedule and rsync to another server, if wanted, or to restore a backup.
88

9-
Also will backup and copy the Gitlab-CI DB.
9+
Also will backup and copy the Gitlab-CI DB if configured.
10+
11+
This script is now more omnibus-gitlab centric. Compare your config fiile with the template! Usage with a source install is possible but not expressly shown here.
1012

1113
#### Clone
1214

@@ -16,7 +18,7 @@ clone to your directory of choice. I usually use ```/usr/local/sbin```
1618

1719
Change ```/etc/gitlab/gitlab.rb``` to expire backups
1820

19-
Change ```config/gitlab.yml``` to expire backups
21+
```
2022
# backup keep time
2123
gitlab_rails['backup_keep_time'] = 604800
2224
```
@@ -45,10 +47,16 @@ remoteServer="" #remote host
4547
remoteDest="" #remote path
4648
sshKeyPath="" #path to an alternate ssh key, if needed.
4749
remotePort=22 # ssh port
50+
## Only change the below setting if you have git's home in a different location or are installing gitlab from source
51+
gitHome="/var/opt/gitlab"
52+
## only set below if rvm is in use and you need to source the rvm env file
53+
# echo $(rvm env --path)
54+
RVM_envPath=""
4855
## only use the below settings if your destination is using rsync in daemon mode
4956
remoteModule=""
5057
rsync_password_file=""
51-
enableCIBackup=1 #change to true or 1 to enable CI backups
58+
checkQuota="0" #change to true or 1 to enable
59+
enableCIBackup="0" #change to true or 1 to enable CI backups
5260
```
5361

5462
#### cron settings

0 commit comments

Comments
 (0)