Availability for the Always-On Enterprise
Post Reply
rschmid
Novice
Posts: 3
Liked: never
Joined: Oct 24, 2017 8:34 am
Full Name: Roland Schmid
Contact:

copy vmdk file from a VM to another (ESXi)

Post by rschmid » Oct 24, 2017 8:44 am

Hello,

I need to copy my virtual disk from one VM to another VM. Both VMs are running on different vSphere Hosts.
Do just select my hdd.vmdk copy and paste it or do I have to copy files like *.vmx or *.nvram?

Kind regards,
Roland

vmniels
Veeam Software
Posts: 2002
Liked: 442 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: copy vmdk file from a VM to another (ESXi)

Post by vmniels » Oct 24, 2017 10:45 am

If it's only the disk you need, then the VMDK is fine. VMX is the configuration file so no need for it.
VCP-DCV
Veeam Certified Architect (VMCA)
http://foonet.be

Vitaliy S.
Veeam Software
Posts: 21536
Liked: 1281 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: copy vmdk file from a VM to another (ESXi)

Post by Vitaliy S. » Oct 24, 2017 11:01 am

You need to copy flat VMDK and its descriptor, and then add it to another VM.

rschmid
Novice
Posts: 3
Liked: never
Joined: Oct 24, 2017 8:34 am
Full Name: Roland Schmid
Contact:

Re: copy vmdk file from a VM to another (ESXi)

Post by rschmid » Oct 24, 2017 11:40 am

how do I identify its descriptor?

Kind regards,
Roland

Vitaliy S.
Veeam Software
Posts: 21536
Liked: 1281 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: copy vmdk file from a VM to another (ESXi)

Post by Vitaliy S. » Oct 24, 2017 11:44 am

Usually it has the same name as the flat disk, but with a relatively small size > https://venthusiastic.wordpress.com/2014/03/12/vmdk/

rschmid
Novice
Posts: 3
Liked: never
Joined: Oct 24, 2017 8:34 am
Full Name: Roland Schmid
Contact:

Re: copy vmdk file from a VM to another (ESXi)

Post by rschmid » Oct 24, 2017 11:58 am

Fileserver-VM-1_1-flat.vdmk (5.120.00 GB)
Fileserver-VM-1_1.vdmk (0,58 KB)

like above pasted example, thank you now I understand it.

Kind regards,
Roland

Vitaliy S.
Veeam Software
Posts: 21536
Liked: 1281 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: copy vmdk file from a VM to another (ESXi)

Post by Vitaliy S. » Oct 24, 2017 12:00 pm

If you want to schedule a copy operation of the disk, then you can use replication job (just pick the virtual disk you need) and then attach the replicated disk to a new VM.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 25 guests