gitlab-rake备份与恢复
1.gitlab-rake备份与恢复 #备份: gitlab-rake gitlab:backup:create >> gitlab-backup.log #在/var/opt/gitlab/backups会有1650507742_2022_04_21_14.3.0_gitlab_backup.tar备份的文件 恢复: 拷贝到需要迁移会服务器的 /var/opt/gitlab/backups 目录下面 mv 1650507742_2022_04_21_14.3.0_gitlab_backup.tar 1650507742_gitlab_backup.tar gitlab-rake gitlab:backup:restore BACKUP=1650507742 2.登录gitlab 查看是否迁移成功