Solved

Restore a VM from a usb drive

Posted on 2013-01-16
4
393 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
  • 2
4 Comments
 
LVL 120
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 120

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 2

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
NAS Solution for VMware ESXi 2 121
Cannot unmount datastore 5 73
RDM/VMFS5  limitation in vSphere 6.0 1 37
export vdswitch fails in web client and in powercli 6 32
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:

730 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