备份文件
    gitlab-rake gitlab:backup:create
    gitlab-ctl stop unicorn
    gitlab-ctl stop sidekiq
    gitlab-ctl stop nginx
    gitlab-rake gitlab:backup:create # 备份

    gitlab恢复数据

    1. # 停止相关数据连接服务
    2. gitlab-ctl stop unicorn
    3. gitlab-ctl stop sidekiq
    4. # 从1393513186编号备份中恢复
    5. gitlab-rake gitlab:backup:restore BACKUP=1486219173_2017_02_04
    6. # 启动Gitlab
    7. sudo gitlab-ctl start