solusvm 克隆kvm虚拟机

kevin.Zhu 发布于:2022-4-25 17:56 分类:文摘  有 24 人浏览,获得评论 0 条  

https://support.solus.io/hc/en-us/articles/360026415111-How-to-clone-a-KVM-VPS-on-the-KVM-slave-server-


Answer

  1. Create a new VPS with the same configuration on the server from SolusVM.
  2. Stop both the VPS on the server.
  3. Connect to Slave node via SSH.
  4. Create the backup of the source VPS.

    dd if=/dev/vps/kvm101_img | gzip | dd of=/home/kvm101_backup.gz bs=4096

  5. Copy the backup to the new VPS on the server:

    dd if=/home/kvm101_backup.gz | gzip -d | dd of=/dev/vps/kvm102_img bs=4096

  6. Reconfigure the new VPS at SolusVM > Virtual Servers > VPS > Re-Configure