Dear Guru,
If I do not want to conifgure the js.config, does the following .bat file works?
Am I right to say that once the job is schedule at 10pm, all the 4 machine will be mounted and being backup at the SAME Time?
Prebackup.bat
vcbMounter -h wisdom.bar.com -u vcbuser -p password -a ipaddr:192.168.1.5 -r d:\backups\foo-fullVM -t fullvm -m san
vcbMounter -h wisdom.bar.com -u vcbuser -p password -a ipaddr:192.168.1.6 -r d:\backups\hr-fullVM -t fullvm -m san
vcbMounter -h wisdom.bar.com -u vcbuser -p password -a ipaddr:192.168.1.7 -r d:\backups\mis-fullVM -t fullvm -m san
vcbMounter -h wisdom.bar.com -u vcbuser -p password -a ipaddr:192.168.1.8 -r d:\backups\acct-fullVM -t fullvm -m san
In addition, how does the system know who to unmount when the backup complete.
For the integration kit, go to http://www.vmware.com/download/vi/drivers_tools.html scroll to the bottom of the page and you will see a list of integration kits for NBU depending on the version of ESX you are running. I would suggest using VCB 1.5 and the kit for ESX3.5U2 if you can.
Also, take a look at my doc at http://viops.vmware.com/home/docs/DOC-1133 It is a companion to my preso at VMworld, which should be available in a couple of weeks on the VMworld site.
Sometimes, the stock scripts that come with the integration kit don't satisfy the need. Taks a look at Duncan's (That's depping) site http://www.yellow-bricks.com/tag/vcb/ for some nice VCB info.
Dave
Your pre-backup.bat script justs runs the vcbmounter command to backup the VMs and it works.
And to unmount the VM you need to run the following commands:
vcbmounter -h wisdom.bar.com -u vcbuser -p password -U d:\backups\ foo-fullVM
vcbmounter -h wisdom.bar.com -u vcbuser -p password -U d:\backups\hr-fullVM
vcbmounter -h wisdom.bar.com -u vcbuser -p password -U d:\backups\mis-fullVM
vcbmounter -h wisdom.bar.com -u vcbuser -p password -U d:\backups\acct-fullVM
If we submit a job mounting and backup of VMs happens one by one.
So what are you actually looking for? Do you want a full image level backup or a file level backup? This batch file you posted is for full image backups. If you do this in a batchfile than it will behave as a normal batchfile, the first dump starts and the second dump will only start when the first is finished. with full image level backups there's no need to unmount anything. if you do an unmount than the actual dumps you just created will be deleted again. my advice would be to delete the files right before you do a backup, this way you have your environment ready for restore within a sec.
Duncan
My virtualisation blog:
If you find this information useful, please award points for "correct" or "helpful".
Hi,
I would like full backup on a weekend basis and File level backup from Monday to Friday.
Am I right to say that when doing a full backup, No post script required to unmount the full vm?
Assuming if the vm is mounted for file level and during the bakcup it failed, will it unmount itself when it failed?
Thanks
Yes, the full will unmount(remove snapshots) when it's finished. The file level will not do this. You'll need to unmount it per vm, even when it fails. Just do a batched unmount of all vm's this way you should be certain that there are no unwanted snapshots still running.
Duncan
Blogging: http://www.yellow-bricks.com
If you find this information useful, please award points for "correct" or "helpful".
Just to clarify things.... NBU 6.0 requires that you install the integration kit. This will put bpstart_notify.bat and bpend_notify.bat scripts in your netbackup\bin directory. These will call the VCB framework for you. For full backups, the "file selection" in the policy would be E:\mnt\vm.fqnd.com-fullvm. For file level backups, the selection would be e:\mnt\vm.fqdn.com\letters\c.
If you are using 6.5.x, make sure you are using at leaste 6.5.2. Just install VCB on the proxy and point the media server to it.
Check out http://viops.vmware.com for "Proven Practice" documents that will outline setting up your version of NBU.
Dave
Hi Dave,
If I do not install the Intergration module, does the batch file works?
May I know where to download the correct Integration module as I'm using Netbackup 6.0
For the integration kit, go to http://www.vmware.com/download/vi/drivers_tools.html scroll to the bottom of the page and you will see a list of integration kits for NBU depending on the version of ESX you are running. I would suggest using VCB 1.5 and the kit for ESX3.5U2 if you can.
Also, take a look at my doc at http://viops.vmware.com/home/docs/DOC-1133 It is a companion to my preso at VMworld, which should be available in a couple of weeks on the VMworld site.
Sometimes, the stock scripts that come with the integration kit don't satisfy the need. Taks a look at Duncan's (That's depping) site http://www.yellow-bricks.com/tag/vcb/ for some nice VCB info.
Dave