Backup & Restore GITLAB instances | Omnibus method | Tech-Tip

Опубликовано: 02 Июнь 2026
на канале: Santhosh Balaji Ramesh
4,786
63

#gitlab #omnibus #backup #restore
In this video, I will show you the instructions for backing and restoring a GITLAB instance, the rightway.

Timestamp
00:00 Introduction
00:28 Pre-Requisites
01:45 Backup Instructions
02:19 Restore Instructions

Resources:
Link to backup and restore for other methods: https://docs.gitlab.com/ee/raketasks/...

Quick start: GITLAB    • Install and Explore GITLAB CE 13.7 (Omnibu...  

The commands used:
Backup: sudo gitlab-backup create
Restore:
1. Copy backup file: sudo cp 11493107454_2018_04_25_10.6.4-ce_gitlab_backup.tar /var/opt/gitlab/backups/
2. Set rights to GIT user: sudo chown git.git /var/opt/gitlab/backups/11493107454_2018_04_25_10.6.4-ce_gitlab_backup.tar
3. Stop the processes: sudo gitlab-ctl stop unicorn && sudo gitlab-ctl stop puma && sudo gitlab-ctl stop sidekiq
4. Restore the backup: sudo gitlab-backup restore BACKUP=timestamp_here
5. Restart: sudo gitlab-ctl reconfigure && sudo gitlab-ctl restart && sudo gitlab-rake gitlab:check SANITIZE=true

"Icon made by Freepik https://www.freepik.com from www.flaticon.com"