gitlab update

1) Snapshot des VM’s actuelles
2) Update la version a 14.6.7 en changant la version dans puppet
3) Backup – backup-gitlab.sh
4) rsync le tar + /etc/gitlab/ dans le new

5) Restore
sudo gitlab-ctl reconfigure (optional)
cd /var/opt/gitlab/backups
sudo cp 11493107454_2018_04_25_10.6.4-ce_gitlab_backup.tar /var/opt/gitlab/backups/
sudo chown git:git /var/opt/gitlab/backups/11493107454_2018_04_25_10.6.4-ce_gitlab_backup.tar

Stop the processes that are connected to the database. Leave the rest of GitLab running:

sudo gitlab-ctl stop puma
sudo gitlab-ctl stop sidekiq
# Verify
sudo gitlab-ctl status

# This command will overwrite the contents of your GitLab database!
# NOTE: « _gitlab_backup.tar » is omitted from the name
sudo gitlab-backup restore BACKUP=11493107454_2018_04_25_10.6.4-ce

Next, restart and check GitLab:

sudo gitlab-ctl restart
sudo gitlab-rake gitlab:check SANITIZE=true