Integrating Citrix XenServer and HP Data Protector

14
5. In the Options tab, in the Post-exec field, specify the DPxen_restore.py script as follows:
PythonPath\python.exe ScriptPath\DPxen_restore.py [ConfigFile]
where:
PythonPath is the full path of the python interpreter, for example,
Data_Protector_home\bin\Python25
ScriptPath is the full path of the integration scripts, for example,
Data_Protector_home\bin
ConfigFile is an optional parameter for specifying a configuration file with a name of
your own. If this is omitted, the default configuration file
DPxen_config.py is used.
Note: The restore mode specified in the configuration file must be suitable for the filename
format of the files in the folder. See the previous point.
6. Click Restore and check that the conditions for the restore summarized in the Start Restore
Session panel are correct.
7. When you are sure that the restore is correctly specified, click Finish to start the restore.
Notes on restore
It is possible to perform the restore without specifying a post-exec. In this case, the .xva file is
restored to the temporary backup folder only. You can then run the script independently.
After the restore has completed, the files in the temporary backup folder are not deleted
automatically. If you do not require them for any other purpose, it is advisable to delete them.
When you restore a virtual machine, its UUID changes.
Special considerations
The online backup performs a snapshot of the virtual machine, but this operation is not always
allowed. For XenServer 5.0, at the time of writing, snapshots were supported with VHD,
Netapp, or EqualLogic storage repositories only. Any attempt to perform an online backup of
a virtual machine that uses a different storage repository will fail, and the error message “
At
least one sr used by vmName does not support snapshot
” will be displayed in
the monitor. If you are performing a backup of multiple virtual machines, only the virtual
machines that allow snapshot operation will be backed up.
For the latest snapshot support with your XenServer version, refer to the XenServer
documentation.
If you want to convert your default storage repository to file-based VHD-on-EXT3, follow the
instructions given in the Citrix forum at
http://support.citrix.com/article/ctx116324.
When you perform an online backup, only the disks of the virtual machines are available for
restore, not the metadata. To be able to restore the disks and the metadata, you need to
perform an offline backup. The best practice is to perform an offline backup after the metadata
of a virtual machine has changed, for example after installing a new application. The rest of
the time it is sufficient to perform online backups.
If only the disks of a virtual machine have been corrupted, you only need to restore your latest
online backup. If the metadata is corrupted, you need first to restore your latest offline backup
and then your latest online backup, if newer.
Before performing a backup, ensure that there is enough space on the Disk Agent host. If there
is not enough space, the backup will fail.
Further information
For further information, refer to http://www.hp.com/go/dataprotector.