username
The username of a user with the required access rights to the XenServer.
password
The password of the user specified in Username.
vmName
A list containing the names of the virtual machines to be restored. If you specify
online or offline for the Mode parameter, you must specify the names of
the individual virtual machines that you want to restore. The format of the list is:
["name1", "name2",..]
If you specify allOnline or allOffline for the Mode parameter, the vmName
parameter is ignored.
debug
A Boolean value that should be set to True if you want to create a debug file
during the restore.
sr
The name of the storage repository to which you want to restore the virtual
machine(s) specified in the vmName parameter. This does not have to be the
same storage repository as the one in use when the virtual machine was backed
up. If the specified value is blank (sr = "") the restore is performed to the
default storage repository.
IMPORTANT:
You must have a default storage repository defined if you leave this
parameter blank for a restore, otherwise the restore will fail.
Example restore configurations
•
Restore the Debian virtual machine, which was backed up using offline mode,
into the default storage repository. Create a debug file.
Mode = "offline"
url = "http://tpc227.company.com"
username = "user"
password = "myPassword"
vmName = ["Debian"]
debug = False
sr = ""
210
Integrating Citrix XenServer and HP Data Protector
Need help?
Do you have a question about the Data Protector A.06.11 and is the answer not in the manual?
Questions and answers