Problem
Need to create GitLab backup skipping git repositories themselves. GitLab installed using Omnibus package.
Solution
According GitLab Omnibus Documentation and Backing up and restoring GitLab, required backup can be created using command below:
Need to create GitLab backup skipping git repositories themselves. GitLab installed using Omnibus package.
Solution
According GitLab Omnibus Documentation and Backing up and restoring GitLab, required backup can be created using command below:
gitlab-rake gitlab:backup:create BACKUP=gitlab_20190420 GZIP_RSYNCABLE=yes SKIP=repositories
Please note, that following files are not included to backup and must be backed up separately.
/etc/gitlab/gitlab.rb /etc/gitlab/gitlab-secrets.json
Reference
No comments:
Post a Comment