Problem: NetBackup using the vSphere/vCenter MOB to create a Snapshot for a VM
To create this process the following can be performed:
https:// <virtual_center>/mob/?moid= <VM mob identifier>&method=createSnapshot
<virtual_center> is the name or IP of the virtual center machine
<VM mob identifier> is the Manged Object reference for the VM in question. This can be obtained from the NetBackup cache (NetBackup\online_util\fi_cntl\vcbnames_<vcenter>_Any)
Here is an example of the vcbnames_ <vcenter>_Any:
Fields are described below:
name – NetBackup uses the following name format "NBU_SNAPSHOT <proxy> <time>", where proxy should be the backup host and time is formatted local time. For example (NBU_SNAPSHOT nbproxy 1405363154). It is not necessary to use the same format as NetBackup unless you believe the name is causing a problem, you can just use "Test1" or something simple.
description – NetBackup uses the following decription format "Created by <proxy> on <time>", where proxy should be the backup host and time is formatted local time. For example (Created by nbproxy on Mon Jul 14 14:42:25 2014). It is not necessary to use the same format as NetBackup, you can create a simple description or leave it blank.
memory – false
quiesce – true if Virtual machine quiesce is enabled. Else false.
Virtual Center Snapshot Manager can be used to Remove the created snapshot, however if you are trying to test the snapshot removal using the API use the following web call:
https:// <vcenter>/mob/?moid= <snapshot_moref>&method=remove
https:// <vcenter>/mob/?moid= <VM mob identifier>&doPath=snapshot
Please sign in to leave a comment.