Local DD
1 |
dd if=/home/vm/vm17088 of=/dev/vg-storage/vm17088 bs=100M status=progress |
Upload the disk image you have saved remotely over SSH to the new GalaxyData. Replace server.galaxydata.ru with the GalaxyData’s IP address and /home/vm/vm17088 with the disk images’s path.
1 |
dd if=/home/vm/vm17088 | ssh root@server.galaxydata.ru "dd of=/dev/vg-storage/vm17088 bs=100M status=progress" |
Данные передаем в сжатом виде. Все просто добавить status=progress
1 |
dd if=/dev/vg-storage/vm69045 | gzip | ssh root@server-kvm.galaxydata.ru 'gzip -d | dd of=/var/lib/libvirt/images/chia-win.img status=progress' |
где
if=/dev/vg-storage/vm69045 – размещение диска или устройства, откуда будут копироваться данные
of=/var/lib/libvirt/images/chia-win.img – назначение диска или устройства, куда будут копироваться данные