GitLab. backup/restore
Posted: Mon Aug 26, 2019 7:39 pm
I was able to make back-up and restore GitLab to "fresh" GitLab installation.
Probably I was just lucky.
Linux: Ubuntu 16.04
GitLab: 10.2.4
Create back-up on fixed copy of the Git server
Back-up package appeared
Then I made machine with the same Linux version: ubuntu-16.04.6-server-amd64.
Install GitLab. Same version: 10.2.4
(https://packages.gitlab.com/gitlab/gitl ... _amd64.deb)
Back-up should be placed to the same folder
Probably I was just lucky.
Linux: Ubuntu 16.04
GitLab: 10.2.4
Create back-up on fixed copy of the Git server
Code: Select all
sudo gitlab-rake gitlab:backup:createCode: Select all
/var/opt/gitlab/backups/1566846988_2019_08_26_10.2.4-ee_gitlab_backup.tarCode: Select all
sudo apt-get update
sudo apt-get install ca-certificates curl openssh-server
(https://packages.gitlab.com/gitlab/gitl ... _amd64.deb)
Code: Select all
curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
sudo apt-get install gitlab-ee=10.2.4-ee.0
Code: Select all
/var/opt/gitlab/backups/1566846988_2019_08_26_10.2.4-ee_gitlab_backup.tar
Code: Select all
sudo gitlab-rake gitlab:backup:restore BACKUP=1566817660_2019_08_26_10.2.4-ee