root@ubuntu4146:/var/opt/gitlab/backups# gitlab-rake gitlab:backup:restore BACKUP=1502357536_2017_08_10_9.4.3 Unpacking backup ... done Before restoring the database we recommend removing all existing tables to avoid future upgrade problems. Be aware that if you have custom tables in the GitLab database these tables and all data will be removed. Do you want to continue (yes/no)?
过程中出现交互页面,都输入yes继续执行,完成后开启Gitlab服务
sudo gitlab-ctl start
查看老、新Gitlab服务数据是否一致。
Linux公社的RSS地址:https://www.linuxidc.com/rssFeed.aspx