To prepare for full system recovery, you must run regular backups of the ContentStore directory and the PostgreSQL database on the production computer.
Procedure
-
Install the PostgreSQL Agent and SAP Archive Link Agent on the client computer.
Make a note of the following configurations that you provide during the PostgreSQL iDataAgent installation.
-
Installation path
-
Postgres server password
-
Port number used by the Postgres server
-
Port number used by the Apache Tomcat server
-
Job results location configured for the ContentStore
-
-
Back up the ContentStore directory.
-
From the CommCell Console, expand Client Computers > Client > File System.
-
Right-click the defaultBackupSet, point to All Tasks and click New Subclient.
-
In the Subclient name box, type a name for the subclient.
-
Click the Content tab.
-
Click Browse. Navigate to the ContentStore directory as was specified during the installation. By default, this directory typically exists under /opt/<Installation_path>/iDataAgent/jobResults/. For example: /opt/Commvault/iDataAgent/JobResults/ContentStore.
Note: You can retrieve the ContentStore directory path from the fileRepository registry key located in /etc/CommVaultRegistry/Galaxy/Instance001/OBJSRV/.properties.
-
Click Add to add the path to the subclient content.
-
Click the Storage Device tab.
In the Storage Policy box, select a Storage Policy name and then click OK.
-
Right-click the newly created subclient and click backup.
-
Select the required backup type and thenclick OK.
You can track the progress of the job from the Job Controller window of the CommCell console.
-
-
Configure the PostgreSQL instance in the PostgreSQL iDataAgent.
-
From the CommCell Console, expand Client Computers > Client.
-
Right-click PostgreSQLand point to All Tasks > New PostgresSQL Instance.
-
In the Server Name box, type the Server Name.
-
In the PostGres User Name box, type the user name to access the Postgres application.
-
In the PostGres Account Password box, type the Postgres User Account Password and Confirm the Password.
-
In the PostGres Confirm Password box, type the Postgres Password to Confirm the Password.
-
In the Maintenance DB box,type the name of the system database (postgres).
-
In the Binary Directory box,type the path to the Postgres application. Alternatively click Browse to locate the path.
-
In the Lib Directory box, type the path to the library directory for the instance. For example, /opt/PostgreSQL/8.4/lib.
-
In the Archive Log Directory box, type the path to any existing Postgres directory. For example, /opt/PostgreSQL/8.4/data.
Note: It is not required to configure the archive log directory.
To skip the check for a valid archive log directory, on the client computer, add the sSkipWalCheck additional setting with value Y.
For instructions on adding the additional setting from the CommCell Console, see Adding or Modifying Additional Settings from the CommCell Console.
Refer to the following table for applicable values:
Property
Value
Name
sSkipWalCheck
Category
PostGres
Type
String
Value
Y - to skip the check for archive log directory
N- to allow the check for a valid archive log directory
-
In the Port box, type or select the port to open the communication between PostgreSQL Server and the clients.
Note: Enter the port number for the Postgres server that you specified during the PostgreSQL iDataAgent installation.
-
In the Log Backup Storage Policy box, select a storage policy to be used for the transaction log backup jobs under Log Backup section.
-
Click OK.
-
-
Configure a storage policy for the default subclient.
-
From the CommCell Browser, navigate to Client Computers | <Client>| PostgreSQL | <Instance> | DumpBaseBackupSet.
-
Right-click the default subclient and then click Properties.
-
Click the Storage Device tab.
-
In the Storage Policy box, select the storage policy name.
-
Click OK.
-
-
Schedule backups of the DumpBasedBackupSet.