Apr 7

How-to Backup Virtual Machines with vcbMC-1.0.6 Beta

Category: VMware

This How-to should provide you basic how to use vcbMC-1.0.6 Beta for your VMware ESX virtual machine backup operation.

Features :

  • Browse virtual machines
  • Manual backup virtual machines
  • Register virtual machines for autobackup
  • Auto backup virtual machines
  • Others (Unmount virtual machine images)

Requirements :

  • vcb-1.5.0
  • vcbMC-1.0.6 Beta
  • Windows Server 2003
  • CMD.exe
  • Windows Task Schedule

Pre-Configuration
1) vcb-1.0.5
Should go under default directory (c:\Program Files\VMware\VMware Consolidated Backup Framwork)

2) vcbMC-1.0.6
a)Make sure to copy below files to vcb default directory (c:\Program Files\VMware\VMware Consolidated Backup Framwork)
If the installation doesn’t copy to the vcb folder it automatically.
-browser_log
-vm.txt
-job.txt

3) cmd.exe (Auto Backup)
Change default startup directory from “c:\windows\system32″ to “c:\Program Files\VMware\VMware Consolidated Backup Framwork)”

* Go to regedit
* HKEY_LOCAL_MACHINE
* Software
* Microsoft
* Command Processor

Double click “AutoRun” & please key-in “CD /D C:\Program Files\VMware\VMware Consolidated Backup Framework”

NOTE: If you do manual backup ONLY, just leave it as is.

BROWSING YOUR VIRTUAL MACHINE
Before you can browse the list of virtual machines found on your ESX hosts, first you must store it into vcbMC temporary file (browser_log.txt). To do this :

  1. Launch vcbMC
  2. Put your ESX ip address, user & source=any, then press button “Get VM”
  3. Key in your password and press “Enter”
  4. Then browse and find your virtual machine name by pressing top menu button “Virtual Machine”. (use UP/DOWN keyboard arrow buttton)

vmbrowse1 vmbrowse2 vmbrowse3
MANUAL BACKUP VIRTUAL MACHINE
Manual backup operation can be done successfully either you choose “file” or “fullvm” backup method. To do this :

  1. Put your ESX ip address, username, password & etc. (Please use combo box instead manually insert the parameters for “source”, “type” and “Mode”)
  2. Press button “Generate” then observe & verify the whole command line & parametes must correct.
  3. Press button “Confirm” to lock all the parameters from any changes.
  4. Press button “Start” to start manual backup operation.

vmmanual1 vmmanual2 vmmanual3
NOTE : you can monitor your manual backup progress by opening “vm.txt” file’s.

REGISTER / GENERATE VIRTUAL MACHINE .BAT
vcbMC do auto backup for your virtual machines by referring to .bat files generated and stored in VMware vcb default directory. To generate first .bat file for your virtual machine :

  1. Press button “Add VM” to start register/generate your virtual machine .bat file.
  2. Key in your ESX ip address, username, password & etc as shown in the picture below.
  3. Press ” OK” then observe & verify the full vcb command before vcbMC going to store it into your .bat file.
  4. Once satisfied, press button ‘Generate .bat”

vmgenerate
AUTO BACKUP VIRTUAL MACHINE
Auto backup virtual machine can be done if only you already did :

  1. Changed default CMD start-up to c:\Program Files\VMware\VMware Consolidated Backup Framework\
  2. Generated .bat for auto backup virtual machines

To start backup virtual machine automatically, please do :

  1. Press top menu button “Auto”
  2. Click once your virtual machine .bat list
  3. Change “At run time” to your appropriate time.
  4. Select on which day the job must be running.
  5. Press “Activate” to save the job
  6. Press “refresh” double check whether the job successfully been registered via AT command on “Active Job” Box.
  7. To delete the job, simply key in the job ID you want to delete.

vmautobak1 vmautobak4 vmautobak2 vmautobak3 vmunmount1
ariyossss

athlon_crazy 07042009 1:10pm

2 Comments so far

  1. Akchan April 26th, 2009 9:11 am

    Great tools! I had tested vcbMC to backup my virtual machines on ESXi 3.5u2 successfully. But there’s no quisence, monolotic option for vcbMounter.exe

  2. athlon_crazy April 26th, 2009 9:14 am

    Don’t worry! will be added soon for the next beta release. BTW, I need more feedback please before I’m going to release vcbMC-1.0.7-Beta.

Leave a comment