Integration Script Functions; Backup Using The Integration - HP Data Protector A.06.11 Integration Manual

For vmware virtual infrastructure, sybase, network node manager, and network data management protocol server
Hide thumbs Also See for Data Protector A.06.11:
Table of Contents

Advertisement

Integration script functions

The integration components, supplied in the xenServer_backup_solution.zip
file, and their purposes are described below:
DPxen_config.py. This is the default configuration file for backup and restore
operations using the integration. It is the only file that should be changed by the
user, to match particular work scenarios. For details of setting up its contents,
refer to
and
"Updating configuration script DPxen_config.py for
For convenience, you can create your own versions of this file, with your own
names, for instance myBackupConfig and myRestoreConfig, and specify these
when calling the main scripts DPxen_backup.py and DPxen_restore.py.
DPxen_operations.py. This contains same auxiliary functions that are used during
backup and restore, for example, functions to import or export a virtual machine,
to find a virtual machine by name, and so on.
DPxen_backup.py. This controls obtaining the files to backup from the XenServer,
according to the parameters specified in the configuration file, and writing them
to the temporary backup folder ready for backup by Data Protector. If snapshots
are created during the backup process it also deletes them afterwards.
This script can be called with the name of the configuration file as an argument,
which allows you to use your own configuration file. If called without an argument,
the default configuration file, DPxen_config.py is used.
DPxen_restore.py. This restores the files saved during the backup in the XenServer.
It also deletes all the auxiliary elements created during a restore in the XenServer.
The files restored by Data Protector to the temporary backup folder are not deleted
by this script. This script also accepts as an argument the name of the configuration
file to use.
DPxen_postbackup.py. This can be used to delete the contents of the temporary
backup folder. It should be run after completion of a backup session as a cleanup
operation. Alternatively, it could be used to delete the contents of the temporary
backup folder before a restore session.

Backup using the integration

To produce a backup using the integration, you need to perform the following
operations:
1.
Update the configuration script DPxen_config.py, or your own equivalent.
2.
Ensure that the temporary backup directory is empty.
204
Integrating Citrix XenServer and HP Data Protector
"Updating configuration script DPxen_config.py for
backup" on page 205
restore" on page 209.

Advertisement

Table of Contents
loading
Need help?

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

Table of Contents