Link to home
Start Free TrialLog in
Avatar of valuelabs97
valuelabs97Flag for India

asked on

VM backup using VCB

Hi

Can any one guide me in step by step procedure of setting up vcb.

thanks
Avatar of za_mkh
za_mkh
Flag of United Kingdom of Great Britain and Northern Ireland image

To be honest ... just read the manual ... then if you still have any questions ... ask ..
This should put you on the right step though!
http://www.petri.co.il/virtual-vmware-consolidated-backup-vcb.htm 
Avatar of Irwin W.
What is your backup application that will be leveraging VCB?
Let me give you high level steps so that you can start

1. Download the vcb framework
2. Install it on on win2k3/win2k8 (can be a vm for testing only)
3. To quickly test backup a running VM on an esx server to local disk run the following command, vcbmounter -h hostname -u user -p password -a name:vm-nam -r c:\backup-location -t fullvm -m nbd

There you go, your first backup using VCB of a live running VM :)

So how do you quickly restore, just use the vmware converter to import the backup file to a VM

But the beauty of VCB is that it can be integrated to existing backup software, so this is where you need to install the integration module depending on backup software you plan to use
Wait...what if i dont want to backup full VM? Can i do file level backup?
Yes you can, but this only work for windows based VMs

For complete guide, refer to http://www.vmware.com/pdf/vsphere4/r40/vsp_vcb_15_u1_admin_guide.pdf
Avatar of valuelabs97

ASKER

Hi ryder0707,


vcbmounter -h hostname -u user -p password -a name:vm-nam -r c:\backup-location -t fullvm -m nbd

In the above command what hostname means is it virtual center or esx server or some other one.

Thanks
VL
Either one, if you dont have VCS you can specify esx host but you need to specify the correct credential to use
Hi nappy_d,

We are planned to use Backup exec 12.5 D

Thanks
VL
Hi ryder0707,

If I have esx with DNS name esx1.mydomain.com and have two VMS in it with DNS name vm1.corp.ads.mydomain.com & vm2.corp.ads.mydomain.com

if I want to take backup of vm1.corp.ads.mydomain.com from the service console of ESX how can I do it.

thanks
VL
you mean like full vm image? vcb dont work in service console
you need a separate backup server to trigger the backup and you will need to isntall backup agent in the service console but this is generally not recommended and normally cause high load to the esx host
If you need to backup running vm with no downtime via the service console, take snapshot of the vm, copy the main vmdk to another location, you have now full backup of your vm vmdk but "before" you take the snapshot, you can then snapshot just delete it
This is actually similar concept to vcb, as it will also do snapshot before it can actually backup a running vm
Hi ryder0707,

Do you have any idea on integrating VCB with Backup exec 12.5 D

Thanks
VL
Install the vcb integration module for BackupExec
Take a look at this PDF for some info on VCB and BExec 12 http://eval.symantec.com/.../b-backupexec_12.5_faq_10-2008_69739.en-us.pdf
Hi nappy_d / ryder0707

I have installed the symantic backup exec  integration kit. after I need to run any scripts to take backup of VM or can I directly select the vm from backup exec gui console.
ASKER CERTIFIED SOLUTION
Avatar of Iamthecreator
Iamthecreator
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi iamthecreator,

I guess apart from above steps mentioned in the above links, we need to configure the VCB proxy server.

If you have any detailed instructions, please send it to me.

Hi

I am getting the following error when we try to take VM backup using symantec backup exec 12.5

The job log will show the following exception
Backup of the virtual machine ' Virtual Machine Name ' warning. VMware VCB framework reported the following warning Disk servername.vmdk is marked as independent. Ignoring for backup.
The backup job for Virtual Machine will complete with following exception as during the VMware Consolidated Backup (VCB) process, VCB needs to create a snapshot of the vmdk disk file(s). One of the attributes of a (vmdk) disk defined as "independent" is that a snapshot of it cannot be created. Therefore, it cannot be backed up as part of a VCB style backup. Hence the job completes with exception.
The job log message may be ignored as the as the .vmdk disk file(s) defined as "independent" as its attribute, cannot be changed. The possible workaround will be to install Remote agent for Windows server (RAWS) on the Virtual Machine and take the backup using Backup Exec to protect the resources on the server.
Backup job for a Virtual Machine using Agent for VMware Virtual Infrastructure (AVVI) will complete with exception.
http://support.veritas.com/docs/319506 
 
Setting default backup and restore options for the Agent for VMware
http://support.veritas.com/docs/310549 
Solution Found