Categoría: vmware ESXi

  • Ghetto Tech Preview – ghettoVCB-restore.sh – Restoring VM’s backed up from ghettoVCB to ESX(i) 3.5 and 4.0+

    Table of Contents:

      • Description
      • Requirements
      • Setup
      • Usage
      • Sample Execution
      • Change Log
      • Known Issues

    Description:

    This script performs a restore of virtual machines backed up using ghettoVCB. Tasks are performed directly within the service console of the ESX(i) server involved in the restore process. This is currently a Ghetto Tech Preview that includes basic restore functionality. Two main use cases are supported in this release:

    1) Restore a VM that contains ALL VMDKs on one datastore
    2) Restore a VM that has VMDKs located on multiple datastores

    In all cases, restored VMs will have VMDKs that reside on the SAME datastore chosen for the restore process. Please ensure that there is sufficient space on the target datastore before attempting a restore operation. In the near future, restoration of VMs backed up using the compression feature of ghettoVCB will be implemented.

    (más…)

  • Creating Virtual Machine Backups in VMware with GhettoVCB

    Hi folks, like I mentioned before I’ll be showing you how to create backups using the GhettoVCB script from William Lam. First things first, please enable SSH access on your ESXi box. You can do this by following my steps in my previous blog post.

    Next, you have to download the following software for use on your computer to help you get this all accomplished.

    • Putty.exe (This is one of the more famous SSH programs out there used to connect to the ESXi server via SSH)
    • Plink.exe (This is used to run command line commands in your SSH session with the ESX server, this is integral for scheduling scripts)
    • WinSCP (This program is used to upload and download files between your ESXi server and your workstation)

    After you have downloaded these programs, please install them on your workstation. Then you can go and download the ghettoVCB.sh script from the VMware communities web site where this script is hosted at.

    After you have downloaded the script, do not edit it on a Windows computer otherwise you run the risk of introducing control characters into the script which will cause the script to fail when run on the ESXi server. Instead, just upload the script to your ESXi server using WinSCP. Please ensure that you change the transfer settings mode to text mode for the transfer.
    (más…)