Complete the Databases Guided Setup for PostgreSQL

The Databases guided setup guides you through creating a backup plan and adding a PostgreSQL database server.

Go to the Databases Guided Setup

  1. From the navigation pane, go to Guided setup.

    The Welcome page appears.

  2. On the Protect tab, in the Databases tile, click Configure.

    The Configure Database Server page appears.

  3. Select PostgreSQL and click Next.

Create a Backup Plan That You Can Use for PostgreSQL

The backup plan defines how often the software backs up the database and the log files, and where it stores the backups.

If you already have a backup plan that you can use, you can skip this step.

Before You Begin

To create a backup plan, you must have the Plan creator role assigned to your user account.

Procedure

  1. On the Create backup plan page, click Create a new plan, and then specify the settings for a backup plan that you can use for the PostgreSQL instance.

  2. Settings

    Steps

    Plan name

    1. Fill in the following plan information:

      1. Choose whether to create a new plan or use a base plan.

      2. If you selected Create a new plan, in the Plan name, enter a name for the backup plan.

      3. If you selected Use existing base plan, specify the plan name and select a base plan.

    Backup destinations

    1. Click Add copy.

      The Add copy dialog box appears.

    2. In Name, enter a name for the backup destination.

    3. From the Storage list, select the storage to use for the backups.

      You can use the Air Gap Protect cool storage class for creating secondary copies, but not for creating primary copies.

    4. To specify the start time for backups on a specific date and later, move the Backups On and After toggle key to the right.

    5. For Retention rules, enter the amount of time to retain the backups.

    6. To specify additional backups, such as weekly full backups, move the Extended retention rules toggle key to the right, and then add rules.

    7. Click Save.

    8. To add additional regions to the backup destination, move the Multi-region toggle key to the right, and then select the regions.

      You can also add more regions and associate the storage copy to the region.

    RPO

    1. For Backup frequency, click Add.

      The Add backup frequency dialog box appears.

      1. From the Backup type list, select the backup type, and from the for list, select All agents or Databases.

      2. Specify the frequency of the backup.

      3. To specify the client time zone, full backup database frequency, or to add exceptions, move the Advanced toggle key to the right, and do the following:

        • From the time zone list, select the time zone according to which the backups must run.

        • If you select incremental or differential backup type for all agents or databases, to modify the full backup frequency of the database, specify a value for Run full backup on databases every option.

        • To add exceptions when the backups must not run, click Exceptions, and then add exceptions for any day of a month or week or schedule an exception for any week of the month.

          Exceptions repeat every week or month according to the selected exception.

    2. To modify the transaction log frequency, or enable disk cache for log backups, in the Run transaction log for databases field, click Edit edit button outline grey/gray pencil.

      • For Transaction log, specify how often to run log backups.

      • To automatically back up the database logs to the MediaAgent cache, move the Advance toggle button to the right and do the following:

        1. Move the Use disk cache for log backups toggle key to the right.

        2. For Commit every, enter how often to commit the logs to the CommServe computer.

        Disk caching of database logs applies to the following databases: Informix, Microsoft SQL Server on Windows, Oracle, Oracle RAC, and SAP HANA

        Note

        The database schedules are available only if the backup plan is applicable to database solution and only one transaction log schedule can be added to that specific plan.

    3. For Backup window (if incremental and differential backups are supported for the workload), specify when you want incremental and differential backups to run.

    4. For Full backup window, specify when you want full backups to run.

  3. Click Save.

Add a PostgreSQL Database Server

  1. In the Add database servers section, click Add.

    The Add database servers dialog box appears.

  2. In the Host name box, enter the host name of the database.

  3. Select an OS type from the following:

    • Unix

    • Windows

      Note

      Unix is selected by default.

  4. From Credential list, you can select a saved credential or add a new credential.

    Steps to add a credential
    1. Click +.

      The Add Credential dialog box appears.

    2. In the Account type box, the Linux account is selected by default.

    3. From the Credential Vault list, select a credential vault to store, share, and update account credentials with shared resources in your environment.

    4. In the Credential name box, enter a unique name to access the credential.

    5. In the User account box, enter the user account that access to the PostgreSQL server.

    6. In the Password/Passphrase box, enter the password for the user account.

    7. In the Description box, enter a brief description for the credential.

    8. Click SAVE.

    Note

    If you select OS as Windows.

    • From Credential list, select a saved credential or add a new credential.

    • Click SAVE.

  5. To grant write access to a UNIX group, such as the dba group, in the UNIX group box, type the name of the group.

  6. In the SSH port number box, enter the port number.

  7. To use a SSH key, do the following:

    • Move the Use SSH key toggle key to the right.

    • In the SSH key path box, enter the path for the SSH key. Alternately, you can click SELECT FILE button to define a path.

  8. To use a passphrase for the SSH key, do the following:

    • Move the Use SSH key file passphrase toggle key to the right.

    • In the Passphrase box, enter the passphrase for the SSH key.

  9. In the Advanced options section, enter the following details:

    • Installation path: Define the installation path of the server.

    • Index Cache: Define a index cache for the server.

      Note

      It is recommended that the index cache folder must have a free space of at least 400GB.

    • Log file path: Define a log file storage path.

  10. Click SAVE.

Loading...