<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 3, 2022 at 12:28 AM Kaushal Shriyan <<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 1, 2022 at 9:39 PM Kaushal Shriyan <<a href="mailto:kaushalshriyan@gmail.com" target="_blank">kaushalshriyan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Is there a way to backup KVM Guest VM in kvmguestosimage.ova or kvmguestosimage.vmdk format as I am trying to restore it in AWS by referring to <a href="https://aws.amazon.com/ec2/vm-import/" target="_blank">https://aws.amazon.com/ec2/vm-import/</a> article as per the below supported file format. </div><div><br></div><div>[1] Open Virtualization Archive (OVA)<br>[2] Virtual Machine Disk (VMDK)<br>[3] Virtual Hard Disk (VHD/VHDX)<br>[4] raw<br></div><div><br></div><div>Also any method to take full and incremental backup of KVM Guest VM.</div><div><br></div><div><div>Any help will be highly appreciated. I look forward to hearing from you. Thanks in Advance.</div><div><br></div></div><div>Best Regards,</div><div><br></div><div>Kaushal</div><div><br></div><div><br></div></div></blockquote><div><br></div><div>Hi,</div><div><br></div><div>Checking in again if someone can pitch in for my earlier post to this mailing list. Thanks in advance.</div><div><br></div><div>Best Regards,</div><div><br></div><div>Kaushal <br></div></div></div></blockquote><div><br></div><div>Hi,</div><div><br></div><div>I followed the below steps by referring to <a href="https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html" target="_blank">https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html</a>. </div><div><br></div><div># qemu-img -h | grep Supported<br>Supported formats: blkdebug blklogwrites blkverify compress copy-before-write copy-on-read file ftp ftps gluster host_cdrom host_device http https iscsi iser luks nbd null-aio null-co nvme preallocate qcow2 quorum raw rbd ssh throttle vhdx vmdk vpc<br><br></div><div># qemu-img --version<br>qemu-img version 6.2.0 (qemu-kvm-6.2.0-12.module_el8.7.0+1140+ff0772f9)<br>Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers<br>#<br></div><u><div class="gmail_quote"><u><br></u></div>Step No. 1</u><br>#qemu-img convert -O vmdk openapibox.img openapibox.vmdk -p<br><br><u>Step No. 2</u><br>#aws ec2 import-image --disk-containers Format=vmdk,UserBucket="{S3Bucket=daclabservers,S3Key=openapidbox.vmdk}"<br>{<br>    "ImportTaskId": "import-ami-0232f452194f6efe0",<br>    "Progress": "1",<br>    "SnapshotDetails": [<br>        {<br>            "DiskImageSize": 0.0,<br>            "Format": "VMDK",<br>            "UserBucket": {<br>                "S3Bucket": "daclabservers",<br>                "S3Key": "openapibox.vmdk"<br>            }<br>        }<br>    ],<br>    "Status": "active",<br>    "StatusMessage": "pending"<br>}<br><br><u>Step No. 3</u><br>#aws ec2 describe-import-image-tasks --import-task-ids import-ami-0232f452194f6efe0<br>{<br>    "ImportImageTasks": [<br>        {<br>            "ImportTaskId": "import-ami-0232f452194f6efe0",<br>            "SnapshotDetails": [<br>                {<br>                    "DiskImageSize": 0.0,<br>                    "Status": "completed"<br>                }<br>            ],<br>            "Status": "deleted",<br>            "StatusMessage": "ClientError: Disk validation failed [Unsupported VMDK File Format]",<br>            "Tags": []<br>        }<br>    ]<br>}<br><div> </div><div>Please guide me. Am I missing anything? Thanks in advance.</div><div><br></div><div>Best Regards,</div><div><br></div><div>Kaushal  </div></div></div>