2.5

Table Of Contents
Perform Point-in-time Recovery of Management Server Database
You can perform a point-in-time recover of the Management Server database if you determine that the database
is corrupted.
Prerequisites
n
Verify that VMware Data Recovery (VDR) is deployed with vCenter and set up with the vSphere client.
n
Verify that regular backups are being performed on the Data Director vApp using VDR.
n
Before starting point-in-time recovery on the Management Server database, take a full backup of the Data
Director vApp. If the target time you choose for your point-in-time recovery results in recovery failure,
you can restore the management server to this backup and perform a point-in-time recovery with an earlier
target time.
Procedure
1 In the vSphere client, shut down the Management Server virtual machine.
2 Restore only the database disk (management_server_2.vmdk) from a backup using VDR.
3 Select Edit Settings > Options > vApp Options > Properties, and select the vApp
Management server recovery flag.
4 Turn on the Management server.
5 Open the console and log in as aurora, or log in from root as su aurora, and type the following command.
/opt/aurora/sbin/recover_cmsdb.sh
6 Enter a target time stamp when prompted.
The time must be after the time of the VDR backup that you use to restore the Central Management Server
(CMS).
7 When the recover finishes, shut down the vApp of Data Director.
8 Deselect the management server recovery flag on the Management Server.
9 Check the Management Server network cards connection in the virtual machine settings, and connect them
manually if necessary.
10 Turn on the Data Director vApp.
Add Pre-Action and Post-Action Scripts to the DBVM for Selected
Agents
You can add pre-action and post-action scripts in the DBVM for selected agents (APIs). You can create scripts
to create, clone, and restore databases, and to take snapshots and create backups.
The following types of scripts are supported.
n
Post-action scripts to create, clone, and restore databases.
n
Pre-action and post-action scripts to take snapshots and create backups of databases.
Prerequisites
Log in to the database virtual machine to which you need to add scripts.
Chapter 12 Safeguarding Data
VMware, Inc. 139