系统运维

gitlab 从备份中还原

gitlab从备份中还原

  1. sudo cp 140623891_gitlab_backup.tar  /var/opt/gitlab/backups/   
  2. sudo gitlab-ctl stop unicorn  
  3. sudo gitlab-ctl stop sidekiq  
  4. sudo gitlab-rake gitlab:backup:restore BACKUP=140623891   -- 备份文件名的时间戳前缀  
  5. sudo gitlab-ctl start  
  6. sudo gitlab-rake gitlab:check SANITIZE=true

留言

您的电子邮箱地址不会被公开。 必填项已用*标注

闽ICP备20008591号-1