Saturday, August 1, 2020

Create And Restore A Backup In Gitlab On Ubuntu 18

Video Tutorial -
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
in This Tutorial you will learn Create And Restore A Backup In Gitlab On Ubuntu 18"

GitLab is an open source GIT repository manager based on Rails and developed by GitLab Inc. It is a web-based GIT repository manager that allows your team to work on code, perform feature requests, track bugs, and test and implement applications. GitLab provides features such as a wiki, issue tracking, code reviews, activity feeds, and merge management. It is able to host multiple projects.
Offcial Website -https://docs.gitlab.com/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Testing Environment:
Ubuntu 18.04.LTS Bionic              Hostname - www.yourdomain.com  - ip Address - 192.168.1.40
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sudo gedit /etc/gitlab/gitlab.rb &>/dev/null   [ gitlab_rails['backup_path']

cd /mnt/new-backups ; pwd ; ls -la
gitlab-rake gitlab:backup:create

gitlab-ctl start
gitlab-ctl stop unicorn
gitlab-ctl stop sidekiq

gitlab-rake gitlab:backup:restore BACKUP=1589373739_2020_05_13_12.10.3
gitlab-ctl restart
gitlab-rake gitlab:check SANITIZE=true
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment