创建备份:
gitlab-rake gitlab:backup:create
恢复:
# 停止相关数据连接服务
gitlab-ctl stop unicorn
gitlab-ctl stop sidekiq
从1393513186编号备份中恢复
gitlab-rake gitlab:backup:restore BACKUP=1393513666
启动Gitlab
sudo gitlab-ctl start
创建备份:
gitlab-rake gitlab:backup:create
恢复:
# 停止相关数据连接服务
gitlab-ctl stop unicorn
gitlab-ctl stop sidekiq
从1393513186编号备份中恢复
gitlab-rake gitlab:backup:restore BACKUP=1393513666
启动Gitlab
sudo gitlab-ctl start