Solved

Restore a VM from a usb drive

Posted on 2013-01-16
4
395 Views
Last Modified: 2013-01-21
I am trying to do a restore of a vm and I want to make sure I am doing this correctly. First of all I powered down the vm and then in vshpere client I went to the datastore and copied the folder of the vm which was named the vm name I gave it. (serv-1).

Next I put up a test box exsi server and I am now uploading the vm from the usb drive I copied it to.  My question is, Is there anything else I need to do once it is done copying?

I noticed that when it copied over one of the files in the folder look different. The file is SERV1-flat.vmdk . The original file that is on the exsi server is SERV1.vmdk it does not have the flat in the name like the copied file.
0
Comment
Question by:pgator
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 121
ID: 38783520
when you look at the VM files through the Datastore Browser you will only see a single VMDK.

if you look at the files via SSH or the console you will see two files SERV1.vmdk and SERV1-flat.vmdk .

So, what you are "seeing" is correct. Make sure you also copy the SERV1.vmx file.

Then Right Click this VMX file and Add to Inventory.
0
 

Author Comment

by:pgator
ID: 38783554
I do have that file as well. I have the following
nvram
vmdk
vmsd
vmx
vmxf
-flat.vmdk
Also these text files.
vmware
vmware-1
vmware-2
vmware-3

Ok, I will give that a try once it copies. Showing 900 minutes left in the upload, does it normally take this long on a 600gb vm
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 38783580
the really important ones are vmx, vmdk.

But it does not hurt to copy all the files completely.

vmware
vmware-1
vmware-2
vmware-3

the above are log files.

vmdk - virtual machine disk files.
vmx - virtual machine configuration files.
nvram - CMOS ram configuration.
vmsd - centralized file for storing information and metadata about snapshots.
vmxf - supplemental configuration file for virtual machines that are in a team
0
 
LVL 3

Expert Comment

by:Dariusz Tyka
ID: 38786433
Check also if you don't have a vmdk files located on another datastore(s). You would to copy them as well. But if you want to restore VM to other server with other datastores you will need to edit your configuration file or readd virtual disk once again.
0

Featured Post

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question