Add multiple Virtual Machines to Networker VADP backup

Blog of interesting data center technical tips / tasks / articles which we come across

Add multiple Virtual Machines to Networker VADP backup

May 14, 2014 Backup Networker VADP 1

Instead of adding clients manually one at a time through the Networker Management Console GUI, you can perform an initial bulk import using cmd line interface:

nsradmin -i import-file

where the import-file contains many lines like this

create type: NSR Client;name:win-vm;comment:SOME COMMENT;aliases:win-vm,win-vm.enlit.me;browse policy:Day;retention policy:Day;group:VM-Image-Daily;Proxy backup host:my-vcenter.enlit.me;Proxy backup type:VADP;

Use excel to form a large csv, then use Notepad to replace commas with semi colons. Be aware there is a comma in the aliases field, so use an alternative character in excel to represent this then replace it with a comma once all commas have been removed from the csv.

If you want to add additional attributes, just check an existing client entry. The attribute name is usually same as the one displayed in client window.

nsradmin> show name ; group; browse policy; retention policy;
nsradmin> print type: NSR client; name: jwin-vm.enlit.me
name: jwin-vm.enlit.me;
schedule: Daily Incremental;
browse policy: 3 Days;
retention policy: 3 Days;
group: VM-Image-Daily;

A list of other attributes can be found here too: http://nsrd.moab.be/nwcli8/nsr_client.html

More command line options can be found here

 

One Response

  1. Chupacabra says:

    ESX where the VMware backup host is running should have access to datastores where the Virtual Machine being backed up resides. 

Leave a Reply

Your email address will not be published. Required fields are marked *