How to clone or copy a VM on free ESXi 6.5 or 6.7 without using vCenter

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 81

  • @lordryck
    @lordryck 5 років тому +17

    Thank you, that worked great. I did discover one modification that saves on the housekeeping. Create the VM without a hard drive. Then copy the VMDK file directly into that VM directory and then add it to the VM.

  • @timisw
    @timisw 6 років тому +2

    Thanks for this information. What about converting from Thick to Thin during the process?

  • @hitmanLis
    @hitmanLis Рік тому

    Exactly what I needed. Just enough details and perfect pace!

  • @Aaron-ig8ie
    @Aaron-ig8ie 3 роки тому

    Thanks, if the original vm was an activated win server, the copy asks for activation ?

  • @bryonmiller4326
    @bryonmiller4326 2 роки тому

    I have my VMs set up on thin provision, I see yours was thick. When you attached the old hard drive to the new vm you created, it ghosted out the ability to change the size. Are you able to do this with thin provision? If not is it able to be converted back once you bring it up?

  • @mohammedaliduonaji9503
    @mohammedaliduonaji9503 2 роки тому

    Emilio Aguero is the best trainer have seen. He pretty don't keep you in the dark. Thanks for making me

  • @Unstoppable939
    @Unstoppable939 3 роки тому

    Great! what if you want to "copy this VM" to a different network? Do I just take the files and put them on the new host? also, does this move take the network setting or only the HDD?

  • @felixdicristina
    @felixdicristina 3 роки тому

    have any particular video or idea in how to clone or move a vmware machine from a exsi server to another VM exsi server...?

  • @allanzfs
    @allanzfs 2 роки тому +1

    I just copy the entire folder, after shutting down the instance to another folder(s). If the working VM fails, just rename it for further work and copy the original folder back. What I'd like is a way to script the entire process... shutdown the working OS at midnight, copy the entire folder to another location after deleting or renaming the prior back, complete the backup and then restart the original VM.

  • @michaelcooper5490
    @michaelcooper5490 3 роки тому

    So how about copy the disk to NFS or iSCSI, would it work like that as well?

  • @hpclabsttn926
    @hpclabsttn926 3 роки тому

    Thank you Emilio, It was very helpful.
    I have a question, is it true if we want to backup a VM, we just download vmdk and vmx files only?

  • @drbob777
    @drbob777 5 років тому

    What about snapshots that you could have made?

  • @taniksambo1969
    @taniksambo1969 3 роки тому

    are you saying a paid esxi version will have cloning?

    • @TechWithEmilio
      @TechWithEmilio  3 роки тому

      Thanks for your comment and question...technically not the same cloning method as what is found on vCenter, within ESXi it is simply a workaround method.

  • @migueldelahoz4740
    @migueldelahoz4740 4 роки тому

    Is there a way to do it, without shutting down the virtual machine?

  • @PrzemoPSzynku
    @PrzemoPSzynku 2 роки тому

    Hi @Emilio Aguero,
    Could you please create a video about how to migrate VM machine from Exsi 6.7 to another 6.7 without using vshere or vmotion.

    • @TechWithEmilio
      @TechWithEmilio  2 роки тому +1

      Thanks for the suggestion, will look into that

  • @fwoodman
    @fwoodman 4 роки тому

    How to clone if I already started creating snapshots and wanted to pick the latest snapshot?

  • @surfandonanuvem4279
    @surfandonanuvem4279 4 роки тому

    IF the vmdk has 10 snapshots, how can I do it ?

  • @testntestl5947
    @testntestl5947 3 роки тому

    Thanks Emilio for your video. I tried your way. However, it did not work for me. The copied disk file in the new folder did not appear in the folder when I browser it to add existing disk, where I got stuck. on ESXi 6.5.

    • @ayodelegilbert8860
      @ayodelegilbert8860 2 роки тому

      You need to copy the vmk descriptor file with the vmdk. The file is like 7kb and it has the vmdk extension.

  • @ulrichlamb8420
    @ulrichlamb8420 3 роки тому

    Thanks for the video and good explanation. However I am wondering why you only copied across the .vmdk files and not the entire vm folder including the entire vm. Using the vSphere Standalone Converter you can do the same and resize WIN hard disk at the same time and switch thick to thin provisioning as you like. What you explain works but as always there are other possible paths one can take. Keep the good work up.

  • @bhavyaarora7165
    @bhavyaarora7165 2 роки тому

    Simple and effective explanation, great job @Emilio Aguero.

  • @LibertyX82
    @LibertyX82 4 роки тому

    I have done it exactly like in the video but the new VM isn't booting.

  • @marcoliocops
    @marcoliocops 4 роки тому +1

    Good you said "I absolutely love it!"

  • @mmmubeen3878
    @mmmubeen3878 3 роки тому

    Thanks for very good short cut.

  • @thuytruongluu3669
    @thuytruongluu3669 4 роки тому

    Copy Virtual Disk
    Description
    Copy the disk, either a datastore path or a URL referring to the virtual disk
    Datastore:
    [datastore1] abc/abc.vmdk
    State
    Failed - Unable to access file [datastore1]abc/abc.vmdk since it is locked
    Errors
    Please help me!

  • @SuperJambu
    @SuperJambu 5 років тому +1

    Thank you very much. It was very helpful. Simple and straight forward.

  • @paddy__VR-Player
    @paddy__VR-Player 5 років тому

    Thanks for this information. been looking to do this for days

    • @TechWithEmilio
      @TechWithEmilio  5 років тому

      Thanks for your comment, glad you found it helpful!

    • @parahumanoid
      @parahumanoid 4 роки тому

      I have a thin-provisioned vmdk. Won't it become thick during a copy? That's especially important when cloning _potentially_ large machines that haven't grown yet, but have provisioning that would exceed the available space if we go thick. Would using command line allow us to go low-level on this operation, avoiding the management front end's smarting off?

  • @bostjanko
    @bostjanko 4 роки тому

    Why not using copy of the whole vm folder... than selecting "register existing VM" and answer "I copied it" whan vsphere asks you where you've got it from? This way whole virtual HW is copied and it actually is a clone. You cloned only the disk.

  • @zhimwar1367
    @zhimwar1367 2 роки тому

    very helpful video, thank you so much for sharing your knowledge!!!

  • @mitchellsmith4601
    @mitchellsmith4601 4 роки тому

    Nope, total failure. The new vmdk file doesn't appear when browsing for it to add it as an existing drive in ESXi 6.5.

    • @TechWithEmilio
      @TechWithEmilio  4 роки тому

      hey, thanks for your comment. The vmdk files are browsable across current versions of ESXi, including 6.5. What do you see when you browse the datastore?

  • @jefftee448
    @jefftee448 5 років тому +1

    Easy peasy, thank you sir!

    • @TechWithEmilio
      @TechWithEmilio  5 років тому

      Thanks for the comment, glad you found it helpful!

  • @goruby2
    @goruby2 8 місяців тому

    Thanks

  • @ForeIndication
    @ForeIndication 5 років тому +1

    Nicely done, thank you.

  • @Ickythekid
    @Ickythekid 5 років тому +1

    Great tip! Thank you!

    • @TechWithEmilio
      @TechWithEmilio  5 років тому

      Thanks for your comment, glad you found it helpful!

  • @zathurian
    @zathurian 5 років тому +1

    I'm unable to use this. My ESXI interface does not seem to be allowing copy or download options. When I hit copy it creates a 559Byte file of what should be 29GB. Same thing when I download. VM was powered off while attempting this.

    • @Manuel-dc7im
      @Manuel-dc7im 4 роки тому

      i have the same bullshit

    • @pavelpskov
      @pavelpskov 4 роки тому

      i'm too. Solution is enable ssh in ESXi and copy vmdk using WinSCP

    • @jeffreyrknowles
      @jeffreyrknowles 3 роки тому

      i found if you copy the whole folder it's in, instead of just the file, it will work right.

  • @serverpi
    @serverpi 4 роки тому

    Nice Tutorial!

  • @Reeltinyphish
    @Reeltinyphish 5 років тому

    Perfect! Worked great!

    • @TechWithEmilio
      @TechWithEmilio  5 років тому

      Thanks for your comment, glad you found it helpful!

  • @joobinpirzadeh7939
    @joobinpirzadeh7939 4 роки тому

    loads of thanks, it was useful.

  • @nikolailiev3546
    @nikolailiev3546 3 роки тому

    maybe create the VM first before transfering the disk;

  • @s2003katalin
    @s2003katalin 3 роки тому

    Or use VMware converter. Easiest way and free!

  • @yusufcet
    @yusufcet 5 років тому +1

    Thank you Sir !

    • @TechWithEmilio
      @TechWithEmilio  5 років тому

      Glad you found it helpful! Thanks for watching.

  • @johnnyle8518
    @johnnyle8518 4 роки тому

    Very nice, thanks!

  • @shanebagel
    @shanebagel 3 роки тому

    Bloody goddamn legend mate

  • @newart88
    @newart88 6 років тому

    Thanks.

  • @hengkaing2665
    @hengkaing2665 4 роки тому

    nice, thanks

  • @mclord1974
    @mclord1974 4 роки тому

    Thank you ;)

  • @douggray169
    @douggray169 4 роки тому

    Well done

    • @TechWithEmilio
      @TechWithEmilio  4 роки тому

      Thanks, really appreciate your comment!
      Feel free to check out my channel for some other great tech videos that you may find helpful. ua-cam.com/users/digitalbytecomputing

  • @dineshharmalkar4549
    @dineshharmalkar4549 5 років тому

    Thank you........

    • @TechWithEmilio
      @TechWithEmilio  5 років тому

      Thanks for your comment, glad you found it helpful!

  • @ThierryC2373
    @ThierryC2373 5 років тому +2

    This is not a proper Vmware cloning, more a copy of an existing VM. Title is misleading as the copied VM will share the same hostname and IP address as the source.

    • @TechWithEmilio
      @TechWithEmilio  5 років тому +1

      Hi Thierry, thanks for your comment. This is what a VM clone is. What are you trying to achieve? Happy to help.

    • @jefftee448
      @jefftee448 5 років тому

      @@TechWithEmilio I know right? There really is no difference. Copy and clone essentially have the same meaning

    • @foxfire1112
      @foxfire1112 5 років тому

      Hostname and IP is dependent on the VM, so yes of course. Sysprep the VM if you're using windows if you want to do this

    • @parahumanoid
      @parahumanoid 4 роки тому

      This is such a bullshit "issue" to bring up. It's a non-issue at all. You can set all of that on your first boot. It really shouldn't be the hypervisor's burden to edit the contents of the vmdk anyway, even if it is not content-agnostic. Theoretically, the internal structure of partitions on the virtual disk could be damaged by a virus and require careful restoration. No automatic operations should be applied outside the admin control in such a scenario. The virtualization dev team has enough on their hands. Consider this an image copy between identical machines: all you need to do, you can do in minutes, otherwise you have no business being a systems administrator.

  • @nisva786
    @nisva786 6 років тому

    Nice

    • @TechWithEmilio
      @TechWithEmilio  6 років тому +1

      Thanks for your comment, appreciate it!