备份文件
gitlab-rake gitlab:backup:create
gitlab-ctl stop unicorn
gitlab-ctl stop sidekiq
gitlab-ctl stop nginx
gitlab-rake gitlab:backup:create # 备份
gitlab恢复数据
# 停止相关数据连接服务gitlab-ctl stop unicorngitlab-ctl stop sidekiq# 从1393513186编号备份中恢复gitlab-rake gitlab:backup:restore BACKUP=1486219173_2017_02_04# 启动Gitlabsudo gitlab-ctl start
