谷歌了很多教程, 想从 vps A (般瓦公)迁移至 VPS B (谷歌云) , 且 A 和 B 系统都是 centos 7, 尝试 rsync,完成同步后更新 grub,reboot VPS B 无法启动
在 VPS B 执行的命令:
sudo rsync -auHxv -e 'ssh -p 22' --numeric-ids --exclude=/etc/fstab --exclude etc/sysconfig/network-scripts/* --exclude=/proc/* --exclude=/tmp/* --exclude=/sys/* --exclude=/dev/* --exclude=/mnt/* --exclude=/boot/* --exclude=/root/* [email protected]:/* /
grub2-mkconfig -o /boot/grub2/grub.cfg
请问大家有成功迁移过不同服务商 vps 的吗?小弟折腾 2 天都没能解决,来求大家帮帮忙指点一下,谢谢🙏!
在 VPS B 执行的命令:
sudo rsync -auHxv -e 'ssh -p 22' --numeric-ids --exclude=/etc/fstab --exclude etc/sysconfig/network-scripts/* --exclude=/proc/* --exclude=/tmp/* --exclude=/sys/* --exclude=/dev/* --exclude=/mnt/* --exclude=/boot/* --exclude=/root/* [email protected]:/* /
grub2-mkconfig -o /boot/grub2/grub.cfg
请问大家有成功迁移过不同服务商 vps 的吗?小弟折腾 2 天都没能解决,来求大家帮帮忙指点一下,谢谢🙏!