Complete the Databases Guided Setup for PostgreSQL

The Databases guided setup guides you through creating a server 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, click the Databases tile.

    The Databases guided setup appears.

Create a Server Plan That You Can Use for PostgreSQL

The server 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 server plan that you can use, you can skip this step.

Before You Begin

To create a server plan, you must have the Plan Creator Role assigned to your user account.

Procedure

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

  2. Settings

    Steps

    Plan name

    1. Enter a name for the server plan.

    Click Next.

    Backup destinations

    1. Click Add.

      The Add backup destination 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.

      If you selected storage that uses Distributed Storages, the Optimize for instant clone toggle key appears.

      By default, this setting is turned on to allow the associated Distributed Storage to optimize backups for clones, using Copy Data Management. To turn off the setting, move the Optimize for instant clone toggle key to the left.

      The setting does not apply to Hyperscale solutions that use Distributed Storage.

    4. For Retention period, enter the amount of time to retain the backups.

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

    6. Click Save.

    RPO

    1. For Backup, specify how often and when to run incremental backups.

    2. To run full backups, move the Add full backup toggle key to the right, and then specify how often and when to run full backups.

    3. For Backup window, specify when you want incremental backups to run.

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

    Folders to back up

    1. To back up only some content, in Content to back up, enter the content to back up.

      By default, all content is backed up.

    2. To exclude folders or files from the backup, in Exclude - files/folders/patterns, enter the content to exclude.

    3. Specify whether to include the system state in backups:

      • To include the system state in all backups, select the Back up system state check box.

      • To include the system state only in full backups, select the Back up system state check box and the Only with full backup check box.

      • To use VSS (Volume Snapshot Service, also called Shadow Copy) to back up the system state, select the Use VSS for system state check box.

    Snapshot options

    1. Specify how to retain snapshots:

      • To specify a number of jobs to retain on a snapshot copy, select Number of snap recovery points, and then enter the number of jobs to retain.

      • To specify a retention period, select Retention period, and then enter the amount of time to retain the jobs.

    2. If you don't want to create backup copies, move the Enable backup copy toggle key to the left to turn it off.

    3. For Backup copy frequency, enter how often to run backup copy jobs.

    Database options

    1. For Log backup RPO, enter how often to run log backups.

    2. To use the disk cache of the logs to the MediaAgent for backups, 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 agents: Informix, Microsoft SQL Server on Windows, Oracle, Oracle RAC, and SAP HANA.

    Override restrictions

    Leave the Allow plan to be overridden check box cleared.

  3. Click Save.

Add a PostgreSQL Database Server

  1. On the Add database servers page, from Application type, select PostgreSQL.

  2. For OS Type, specify the OS type.

  3. In the Database server name box, enter a name for the database server.

  4. In the User name and Password boxes, enter the credentials for the database server.

  5. From the Plan list, select the server plan to use for the database server.

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

  7. Click Add.

Loading...