Create a virtual machine using an existing backup [EXSi 5.0.0]

Hello

I've looked everywhere to find a thread that explains me to reach higher. Our ESXi is currently a backup copy using ghettoVCB and store it on an external NAS. I know that I can simply restore a backup virtual computer by using the same script, because it supports.

But what I want to achieve is to create a separate entrance to the virtual machine by using an existing backup. I'm pretty there is a way, but I now know how to because I'm fairly new to ESXi and learn things slowly.

All advise you will be highly appreciated and thank you in advance.

Hello

I finally managed to do that. I should tried before posting this discussion, but somehow he's ready now. Back to ESXi users who are finding similar questions or have a confusion on how to achieve this, you can see below the process and this;

  1. Before you copy, make sure that you have appropriate files related to the virtual machine (there should be a .vmx, hard & sometimes flat hard-000)
  2. Copy the folder to the location of data store where is your VM (generally, it will be under/vmfs/volumes/yourdatastore) using ssh and WinSCP (a tool to connect in ftp/sftp/scp).
  3. Once copied into the data store, go to the data store by visiting configuration > store > select the data store & access your virtual machine directory, then simply add the .vmx file to the inventory by clicking on the right (Note: do this when you are connected to the ESXi using vCenter IP which is the recommended way to do).

I hope this helps!

Tags: VMware

Similar Questions

  • Create a virtual machine using the ubuntu (host of W7) partition

    I am running Windows 7 and 8 of VMware Workstation.

    The disc is actually a raid-0. There are 3 partitions: (Dual-boot)

    -Ubuntu (64-bit)

    -System reserved Windows

    -Windows (64-bit)

    I am trying to create a virtual machine under W7 using the Ubuntu partition.

    I tried 2 things for step 'select a physical drive:

    -Use individual partitions. The problem is at the end, when you click Finish. I get the error: "one of the provided parameters is not valid."

    -Disc use whole. The virtual machine is created, but when I turned on, I get the error:

    "Could not open the disk ' C:\. [..] \Ubuntu 64 - bit.vmdk' or one of the snapshot disks it depends on.

    Reason: the physical disk is already in use. »

    Thank you in advance for answering,

    Kind regards.

    In my tests I couldn't use a host physical diskwith a Windows 7 without setting the disc 'offline '.
    But then you can set the diskette from Windows Startup 'offline '.

    Using Linux or 2003, you don't have this problem.

  • create a virtual machine using createVM_Task

    Hello

    I extracted the configuration information of the VM (VirtualMachineConfigInfo []) and the use of I want to create a virtual machine (essentially wants to fill [VirtualMachineConfigSpec]).

    For the property '[of] deviceChange.device"in VirtualMachineConfigSpec, can I directly copy the information from the device of ' harware.device [of] ' VirtualMachineConfigInfo property. Will this work?

    I have two more questions:

    1 cant explain peripheral information by default (like PS2Controller/SIO controller, etc.) in VirtualMachineConfigSpec when calling CreateVM_Task()?

    2. is it compulsory for negative values(-ve) values for controller/key relationships?

    Thank you

    -Rambeau

    > For the property '[of] deviceChange.device"in VirtualMachineConfigSpec, can I directly copy the information from the device of ' harware.device [of] ' VirtualMachineConfigInfo property. Will this work?

    Lol it can be copied directly to "deviceChange.device" in VirtualMachineConfigSpec. Also, there could be other problems as well, like the support information will be common to both machines. So, at a time, you will be able to use only 1 VM. It will be not as trivial this may seem.

    > 1. Cant explain peripheral information by default (like PS2Controller/SIO controller, etc.) in VirtualMachineConfigSpec when calling CreateVM_Task()?

    Yes, you can specify default devices information (like PS2Controller/SIO controller, etc.) in VirtualMachineConfigSpec. The 'deviceChange.device' is a data object "VirtualDevice. This data object is extended by the class 'VirtualController '. It's even wider by the following classes:

    'VirtualIDEController', 'VirtualPCIController', 'VirtualPS2Controller', 'VirtualSCSIController', 'VirtualSIOController', 'VirtualUSBController '.

    You can implement the foregoing classes, assign it to the 'deviceChange.device' of VirtualMachineConfigSpec property and pass it to the CreateVM_Task.

    > 2. Is it mandatory to get negative values(-ve) values for controller/key relationships?

    It is not mandatory to give negative values for the controller and the key. By assigning a negative value, the server assigns self-produced nonnegative unique key for the device. This excludes the possibility to assign a duplicate key, which can cause an error.



    Hope that answers your questions.

  • create the virtual machine of the existing structure

    I received the file of the VM I import into my ESXi 5.5 Vcenter infrastructure.

    I see these files:

    test. NVRAM

    test.VMDK

    test - s001.vmdk

    test - s002.vmdk

    test.vmsd

    test.vmx

    test.vmxf

    VMware.log

    How can I import this virtual machine? I have to create the file (what a name? "It is a necessary specific name?) in my data store where I'm going to move these files?

    After?

    I see these files:

    test.vmx

    What is the source of these files? Like VMware Workstation or vCenter/ESXi?

    If these documents are in vCenter/ESXi, then copy the whole folder to the ESXi 5.5 data store

    Once copied a right-click on the test.vmx file and registry with the default settings.

  • Create the new virtual machine using Java API vCloud

    Hi guys,.

    I am trying to create the new virtual machine in TIME, but I've stuck here. The API I'm using is vcloud-java-sdk - 1.0.jar.

    Could you please show me a code snippet how to do this?

    For now I do it like this:

    RecomposeVAppParamsType recomposeVAppParamsType = new RecomposeVAppParamsType();

    List the items < CompositionItemParamType > = recomposeVAppParamsType.getItem ();
    ReferenceType vappTemplateVMRef = new ReferenceType();

    // ??? seems that new reference to the new virtual machine should be here. But how to create this VM
    CompositionItemParamType compositionItemParamType = new CompositionItemParamType();
    compositionItemParamType.setSource (vappTemplateVMRef);

    Items.Add (compositionItemParamType);
    ReferenceType vAppRef is Vdc.getVdcByReference (vcloudClient, vdcRef) .getVappRefByName ("vApp_Websrv");.

    Vapp.getVappByReference (vcloudClient, vAppRef) .recomposeVapp (recomposeVAppParamsType);

    One day before I played with Web Services SDK, which is much easier to understand. I was able to create the vApp and VMs in vSphere. Is it possible to import machines virtual vSphere to vCloud? Should what API I use for this?

    Thank you

    Hello

    You cannot add a new empty virtual machine in a paralytic.

    Instead, you can add a virtual machine from an existing vapp, vapptemplate.

    To import a vsphere vm to vcloud.

    Import vsphere vm as VAPP in vcloud. VMWVimserver-> importVmAsVApp()

    The importation of vsphere vm, as vAppTemplate, in vcloud. VMWVimserver-> importVmAsVAppTemplate()

    See also the example of ImportVmAsvAppTemplate.java, which is part of the vcloudjavasdk group.

    Kind regards

    Rajesh Kamal.

  • I installed windows 7 on a mac with boot camp and then used parallels to create a virtual machine to run windows inside Mac os10.6. Now he says I need to activate windows again, but he said I need a new activation key. Any ideas would be appreciated

    I installed windows 7 on a mac with boot camp and then used parallels to create a virtual machine to run windows inside Mac os10.6.  Now he says I need to activate windows again, but he said I need a new activation key.  Any ideas would be appreciated

    Yes, you must purchase a full license for the second installation of Windows 7 product key.  1 activation allows only one Windows 7 product key.  Apparently, you now have a second facility that requires a second product key. Carey Frisch

  • Backup of virtual machine using iSCSI Server

    As the title says.

    I (MSA 2312i) iSCSI storage and Im going to do install a backup on a virtual computer product.  To achieve LAN free backup, I think I need to create the virtual machine with two network cards.  One on the production of LAN and the other on the iSCSI network?

    I have a NETWORK card physical free that I can create a Virtual switch with a VMKernel port and then add it to the virtual machine, it would be the best solution?

    Thank you

    Yes the iscsi network, where by it would also be the LAN backup.

  • Syntax to create a new virtual machine using vCLI

    I use few of ESX 3.5 servers and a server vCenter 2.5 in my lab. I installed vCLI in vCenter server. I would like to know the command to create a new virtual machine through the vCLI. Use of the below details to provide the syntax / command.

    • Name of VM - windows2003
    • CPU - 2
    • Memory - 2096 MB
    • Name of ESX - esxserver1
    • Storage - disk 30 GB C and 40 GB D drive (these two must be placed in a storage centralized. i.e., data store name is - "filer1.lun123"

    Expecting more details.

    Thank you

    Ganesh

    VCLI orders are mainly used for configurations of the host, although as part of the installation of vCLI, you get also vSphere SDK for utilities Perl - http://www.vmware.com/support/developer/viperltoolkit/viperl41/doc/vsperl_util_index.html that provide additional canned scripts, which allows you to create a single set of virtual machines using the vmcreate.pl script. There is an example on how to use a script

  • Failed to create virtual machine using VMWare Workstation 11 (test)

    Hello people,

    I installed VMWare Workstation on my machine Windows 10 and trying to create multiple virtual machines to test the object. I have done this before on the Windows 7 computer and did not face any problems, but this time, as soon as I gave the location of the file to deploy an operating system it comes up with some fatal errors as error BLK_CACHE IOERR if I have enough space on the HARD drive and everything is not going further. So, my question is if my computer has compatible with Windows 10 problems or there is something else that would cause this problem. Any help or comments would be appreciated on this topic.

    Thank you!.

    Thanks for your answer, Noel

    I was going through discussions in the community with similar and found subjects that VMWare had released 12 pro workstation that supports Windows 10 entirely. I personally installed it on my physical machine and it works. Here is the link for the release of Workstation 12 notes.

    VMware Workstation 12 Pro Release Notes

  • API to create a Virtual Machine without using a model

    I see the GUI documentation how to create a virtual machine without a model, but I can't find the actions of the API how to build the virtual machine based on custom settings (CPU, memory, OS, etc.), there are a only of the shares how instantiate OVF or vAppTemplate. Could you please tell is possible to generate/create the VM without model or OVF by API?

    I see. Thanks for the background.

    Based on my notes there is no such API. Other applications were similar to this one and the solution suggested in this case is to programmatically create an OVF (describing the configuration of the VM to instantiate) and import it into the vDC. The end result is the same (i.e. an empty VM configured by entries) the difference is how it gets instantiate (created from zero Vs described in the OVF and imported).

  • How can I create a virtual machine

    Should I create a virtual machine from a boot camp partition or install Windows XP from an existing file?  Help!

    I did a little research on the website of Apple, and the marketing point of view, they have a sort of gloss over the fact that you need a Windows install with Boot Camp.  Here is a Knowledge Base article that makes it a little more clear.  I can see if you look how Apple sells Boot Camp (and Fusion or Parallels also) the need for a Windows installation disc is kind of lost in the noise.  If Photoshop is the only thing that you think you will need Windows to consider that a Windows install disc will probably cost you about $100.  While Boot Camp offers you the best performance under Windows Me, it is inconvenient to keep restart the machine in Mac OS X or Windows as needed.  Fusion or Parallels meets the needs most (I think that most needs except for gamers) and is much more convenient, but it is an another $35 à $50 or more on top of the purchase of Windows. That's why I suggest just buying a copy of Mac in Photoshop if that's all that you'll need Windows.

    Make no mistake that you are now several computers also with Boot Camp, Fusion or Parallels.  Llke maintenance common Windows defrag, backups must be done any program installation you chose to use.  In my case I have to use some applications only available under Windows for work, and I prefer Quicken on Windows to its ' equivalent of Mac (they are not the same program) so I use Fusion.  If it wasn't for these needs I will try to be just a Mac user.

    Post edited by: gbullman

    Link added to article Apple

  • Create the virtual machine with the ISO mounted CDROM

    Community of hell!

    Working on the vmcreate.pl script to add the creation of CD-ROM with iso data store, I got stuck on the error

    ' Invalid device configuration: ' VirtualSCSIControllerOption.numSCSICdroms '.

    I'm sure I'm missing something obvious, or this option but may not understand how to deliver this.

    I created a cdrom as follows (below test I create any CDROM, no iso file to reduce the number of layers):

    my $ BPPRR m_backing_info = VirtualCdromRemotePassthroughBackingInfo->new)

    deviceName = > ' '.

    exclusive = > 0,

    );

    my $description = description->new(label = > 'CDROM', summary = > 'cdddrom');

    my $connectable = VirtualDeviceConnectInfo->new(allowGuestControl = > 1,)

    connected = > 0,

    startConnected = > 1,

    ( State = > inmates ' / ' );

    my $ BPPRR m = VirtualCdrom->new(backup = > $BPPRRm_backing_info,

    connectable = > $connectable,

    controllerKey = > 0,

    deviceInfo = > $description,

    key => 1,

    ( unitNumber = > 1 );

    VirtualDeviceConfigSpec->new(device = > $BPPRRm,

    operation = > VirtualDeviceConfigSpecOperation->new()'add'));

    Did anyone have working example to create the virtual machine with CDRom?

    Andrey

    If someone will find this useful I followed this route Re: vmreconfig.pl add the device CD/DVD fails if the virtual machine created with vmcreate.pl

    and also I found good examples of what I need to in VMUtil.pm in cmd vmsphere libraries.

    Andrey

  • Create the virtual machine with the type of controller SCSI LSI logic SAS with PowerCLi

    Hey guys,.

    IM the difficulty to create a virtual machine with the type of controller SCSI to "LSI Logic SAS". The cmdlet New - VM im struggling to find where to create the type of controller?

    If you create a virtual machine without specifying a disk it will create a 4 GB SCSI type thick (0:0) hard drive 1 with 0 Parrall default BusLogic SCSI controller.

    What im wanting to do is to create a disk hard which is thin Prov. and create SCSI LSI logic SAS controller is set to.

    New-VM -name VMSTORE23 -$vmhost $esxhost MemoryMB- 4096 NumCpu- 2 -NetworkName "Vlan 6 Machine Virtual Network" | Get-NetworkAdapter | Set-NetworkAdapter -Type Vmxnet3 -MacAddress '00:50:56:00:00:21' -confirm:$false

    I have recived of aid by some LucD who helped direct the value of the network card in the New - VM cmdlet as follows. But I'm not able to add a hose for hard disk also like:

    | Get-hard drive | Together-hard drive - Datastore $datastore - slim StorageFormat

    And I have no idea how change the type of SCSI conroller or create it with the correct configuration?

    Any help would be great,

    Thanks in advance

    Eddie

    Greetings, steddyeddie-

    You should be able to use Set - hard drive and SCSI controller Set cmdlets to set the storage format of your hard drive and the SCSI controller type, respectively.  You were close to on the part of game - hard drive .  Try something like:

    ## get the VM object $vmVMSTORE23 = Get-VM VMSTORE23 ## set the harddisk storageformat to thin$vmVMSTORE23 | Get-HardDisk | Set-HardDisk -StorageFormat Thin ## set the SCSI controller type$vmVMSTORE23 | Get-ScsiController | Set-ScsiController -Type VirtualLsiLogicSAS
    

    It could pack in to your existing order to keep it as a good word, but for readability.

    Enjoy

  • deploy multiple virtual machines using vmdk and SID file

    Hello

    Need to know if I am correct or miss me something... I deploy many virtual machines using method.

    1. remove the vmdk files a XP.

    2. create new folders and copy the vmdk into this folder.

    3. create virtual machines using existing vmdk files.

    4 rename the computer and join it to the domain.

    My question is, my VMDK files are an existing xp VM (no longer exist), what is the status of the deployed virtual machines? they still have the same SID or it is changed? I managed to join to the domain, but do not want surprises in the future.

    Note:

    I had another option, could have all these automated with new SID using PowerCLi, unfortunately, osCustomization has default, I can't event run the get-OsCustomization command, it keeps failing.

    Thank you.

    Yes, Windows writes the SID on disk (virtual disk for virtual machines) or physical disk for physical machines.  The guest operating system has no idea on the vmx file.

    Dave

    VMware communities user moderator

    Now available - vSphere Quick Start Guide

    You have a system or a PCI with VMDirectPath?  Submit your specifications to Officieux VMDirectPath HCL.

  • Creating new virtual machine from an another vm

    I installed VMware ESXi 3.5 and that you have created a virtual machine to Windows Server 2003. I would like to use this virtual machine as a model to create other virtual machines. How to create a new virtual machine from a virtual machine existing? What is the best practice? Thank you.

    stop the virtual machine in question, and "the clone to a template.  You can then deploy oversized.  Make sure you have all of the sysprep files that are located in the right place.

    You wan to watch this .pdf, even if a small wedge, it might be useful

    http://www.VMware.com/PDF/vc_2_templates_usage_best_practices_wp.PDF

    Keep in mind that in order to use the functionality of model or a clone, you must have a vCenter Server

    If you believe this or any othe response was useful please consider marking as "useful" or "correct".

Maybe you are looking for

  • Applications on the iPhone is not projection in app shows

    I recently got my Apple Watch and after setting up, I started to install my apps. However I have noticed that a lot of apps in my iPhone that have shows apps appear in the watch application so I can install them. I tried to uninstall the apps on the

  • HP Officejet Pro 8710: HP 8710 keeps going offline

    My HP 8710 continues to go offline.  Shows that he has a wirelss connection but do not print.  I have to restart the printer to print.  I do this whenever I want to print something.  Already uninstalled and re installed the software and it does not s

  • iPod and Equium A60-692

    I'm the unhappy owner of a mini ipod since Christmas, having had the thing replaced twice as format on my Toshiba Equium A60-692 caused an error of hard disk (irreparable). I hear on the grapevine that there is a known fault.Someone at - it help him?

  • The keys menu, home, back and search does not turn on

    So last night I was getting to know my phone, I noticed that the menu, home, back and search keys were not light and I had trouble finding the right key in a low light situation. Also had the same problem while in the media that I have at my bedside

  • ThinkPad USB 3.0 Dock\Twist Internet Explorer causing

    Hello I'm racking me my brains on this one! I work in a school where we have recently acquired 60 Thinkpad odd twists. In the classroom, we have Thinkpad USB 3.0 docks connected to SmartBoards. The question we have is very strange - when connect us t