gitlab 备份与恢复

#1.确认备份目录
vim /etc/gitlab/gitlab.rb
#2. 生成备份文件
gitlab-rake gitlab:backup:create
#3. 恢复 自定义文件名称
gitlab-rake gitlab:backup:restore BACKUP=00000000_2025_06_28_10.8.4


 

停止当前gitlab,重新加载配置
gitlab-ctl stop
gitlab-ctl reconfigure