create
qemu-img create -b xxx.xxx.xxx.xxx_vm38F8A.qcow2 -O qcow2 backup_xxx.xxx.xxx.xxx_vm38F8A.qcow2
commit
qemu-img create -b xxx.xxx.xxx.xxx_vm38F8A.qcow2 -f qcow2 backup_xxx.xxx.xxx.xxx_vm38F8A.qcow2
qemu-img commit -f qcow2 backup_xxx.xxx.xxx.xxx_vm38F8A.qcow2
smilekvm
qkfkaehfdl@
vi /etc/sysconfig/network-scripts/ifcfg-eth0
mount -t cifs -o username=corehost,password=100dedi@ //xxx.xxx.xxx.xxx /corehost /mnt/backup
==============================
mount -t cifs -o username=corehost-18,password=100dedi@ //xxx.xxx.xxx.xxx /corehost-18 /mnt/backup
umount /mnt/backup
cat /etc/sysconfig/network|grep HOSTNAME|awk -F "-" {'print $4'}
root 15597 42.3 0.0 10880 1272 pts/0 Sl+ 18:02 0:53 qemu-img convert -f qcow2 xxx.xxx.xxx..xxx_209_vm00304.qcow2 -O qcow2 /BACKUP_VM/xxx.xxx.xxx.xxx_209_vm00304.qcow2
qemu-img convert -f qcow2 xxx.xxx.xxx.xxx_209_vm00304.qcow2 -O qcow2 /BACKUP_VM/xxx.xxx.xxx.xxx_209_vm00304.qcow2
댓글 없음:
댓글 쓰기