VMware Backups using NetBackup 7

Configuring NetBackup 7 for VMware backup (using vStorage API)

Configure VMware backup host in Netbackup

wpid745-media_1268169003053.png

right-click on master server, select “Properties”

wpid746-media_1268169032231.png

Add VMware Backup Host

wpid747-media_1268169068352.png
wpid748-media_1268169100577.png
wpid749-media_1268169133115.png

Configure Credentials on vCenter

wpid750-media_1268169159126.png
wpid751-media_1268169176234.png
wpid752-media_1268169196136.png
wpid753-media_1268169227149.png
wpid754-media_1268169251033.png

Create the backup policy for Virtual Machine Backup

wpid755-media_1268169558017.png
wpid756-media_1268169599531.png
wpid757-media_1268169638301.png
wpid768-media_1269641712723.png
The parameters shown are not the default but reflect a configuration that seems to be optimal for test environment. Your mileage may vary.
These specific parameters have been changed from the default
Client Name Selection determines how Virtual Machines are identified to Netbackup.  VM Display name option matches the VM name as identified in vCenter
Transfer type determines how VM data is transfered to Netbackup host.  The san option uses Fibre Channel or iSCSI SAN (Note:, LUNs containing VMWare Data Stored must be presented to Netbackup host).  The nbd option resorts to a network copy, should the san option fail.
Existing snapshot handling, when set to Remove NBU, will remove stray NetBackup snapshots from VMs if encountered but ignore all other snapshots.
wpid758-media_1268169703636.png
wpid759-media_1268169735435.png
wpid760-media_1268169765662.png
wpid761-media_1268169782724.png

Configure remaining backup policy options based on backup windows etc.

wpid762-media_1268169805026.png
wpid763-media_1268169823906.png
wpid764-media_1268169840241.png
wpid765-media_1268169856070.png

If options need to be changed (‘cuz mine didn’t work in your environment 😉 ) , change on the policy’s attributes window

wpid766-media_1269640695368.png
wpid767-media_1269640972034.png

7 thoughts on “VMware Backups using NetBackup 7

  1. Some additional notes:

    One issue I ran into was with the default method of client selection (VM Host Name) many of the VMs in our lab had names that did not match the actual VM name. Our best guess at this point is that the VMs were deployed from templates but not customized, so the VM Host name was never set correctly. Because of the mis-match the VMs did not back up correctly.

    I also have noticed that templates do not back up correctly using the settings as described above. This is still being investigated.

    • Regarding templates, since a template isn’t a VM, these differences are pointed out in the NetBackup documentation:
      1. VMware won’t snap a template
      2. SAN transport method won’t work; nbd will
      3. BLIB is not applicable to a template

  2. Thanks for posting this. We’ve just upgraded to NB 7.0 for the express purpose of using the VMWare API. This post is a helpful pointer for me so far.

    Did you happen to figure out the issue with the templates not backing up and the name mis-match? If so, would you mind sharing your findings or work-around’s?

  3. Really , nice n cool this VM backup post using Netbackup . Very elaborative.
    Could you pls. provide VM restore for ( single guest file or complete VM ). that will be quite helpful.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s