You can add a new database server so that you can protect PostgreSQL databases.
Procedure
-
From the Command Center navigation pane, go to Protect > Databases.
The database Overview page appears.
-
Click Add server from the upper-right corner of page.
The Select Database Type page appears.
-
Select PostgreSQL, and then click Next.
The Configure database server page appears.
-
Install the database server package using either the Interactive installation or Push installation method:
-
To install software interactively on database servers, select Interactive installation and then complete the following steps:
-
Download and install the PostgreSQL database server package on the PostgreSQL database server to be protected.
-
Install the PostgreSQL database server package on the server you want to back up and authenticate using the authcode.
-
Return to this window after the agent installation has completed.
-
From the Server name list, select the newly installed servers after completing the agent installations.
-
-
To install client software on database servers using the push method, select Push installation and then complete the following steps:
-
Click Add.
The Add database server dialog box appears.
-
In the Host name box, enter the host name of the database.
-
Select the OS type.
-
Windows:
-
To select a software cache from which to push agent packages, from the Software cache list select a server.
-
To use saved credentials, move the Use saved credentials toggle key to the right.
From Credential list, you can select a saved credential or add a new credential.
Steps to add a credential
-
Click +.
The Add Credential dialog box appears.
-
From the Credential Vault list, select a credential vault to store, share, and update account credentials with shared resources in your environment.
-
In the Credential name box, enter a unique name to access the credential.
-
In the User account box, enter the user account that has access to the PostgreSQL server.
-
In the Password box, enter the password for the user account.
-
In the Description box, enter a brief description for the credential.
-
Click Save.
-
-
-
Unix and Linux:
-
To select a software cache from which to push agent packages, from the Software cache list select a server.
The software cache works as a network gateway between the server and client.
-
To use saved credentials, move the Use saved credentials toggle key to the right.
From the Credential list, you can select a saved credential or add a new credential.
Steps to add a credential
-
Click +.
The Add Credential dialog box appears.
-
From the Credential Vault list, select a credential vault to store, share, and update account credentials with shared resources in your environment.
-
In the Credential name box, enter a unique name to access the credential.
-
In the User account box, enter the user account that has access to the PostgreSQL server.
-
To use an SSH key, move the Use SSH key toggle to the right and then enter the SSH key path.
6.In the Password/Passphrase box, enter the password for the user account.
- Click Save.
-
-
In the SSH port number box, enter the port number.
-
To use an SSH key, move the Use SSH key toggle to the right and then enter the SSH key path.
-
To grant write access to processes that belong to a specific group, in the UNIX group box, enter the UNIX group name.
-
-
-
In the Installation location box, enter the installation path of the server.
-
You can configure the following option during installation by moving the corresponding toggle keys:
-
Install MediaAgent
-
Restore only agent
-
Reboot if required
-
-
Click Install.
-
When the install jobs are complete, from the Server name list, select the newly installed servers.
-
-
-
Click Next.
The Select A Plan dialog box appears.
-
Select an existing backup plan or create a backup plan for PostgreSQL. For more information about backup plan backup plan creation, refer to create backup plan.
The backup plan defines how often the software backs up the database and the log files, and where it stores the backups.
-
Click Next.
The Summary page appears.
-
Review the summary and click Finish to add the PostgreSQL database server.
Result
The system does the following:
-
Installs the appropriate Commvault software packages on the server.
-
Discovers the database instances and adds them to the Commvault configuration.
-
Creates the appropriate subclients for the instance.