Solved

Restore a VM from a usb drive

Posted on 2013-01-16
4
389 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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
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:Geniek73
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
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:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now