NetBackup™ Web UI PostgreSQL Administrator's Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.4)
  1. Overview
    1.  
      Overview of configuring and protecting PostgreSQL assets in the NetBackup web UI
  2. Managing PostgreSQL instances and databases
    1.  
      Quick configuration checklist to protect PostgreSQL instances and databases
    2.  
      Configure PostgreSQL instance
    3.  
      Add a PostgreSQL instance
    4.  
      Manage credentials for an instance
    5.  
      Discover PostgreSQL databases
    6.  
      Remove PostgreSQL instances
    7.  
      Change the autodiscovery frequency of PostgreSQL assets
  3. Managing PostgreSQL environment credentials
    1.  
      Add new PostgreSQL credentials
    2.  
      Default PostgreSQL Administrator
    3.  
      Validate credentials of PostgreSQL instance
    4.  
      View the credential name that is applied to an asset
    5.  
      Edit or delete a named credential
  4. Protecting PostgreSQL instances and databases
    1.  
      Things to know before you protect PostgreSQL instances and databases
    2.  
      Protect PostgreSQL instances and databases
    3.  
      Customize protection settings for the PostgreSQL assets
    4.  
      Remove protection from PostgreSQL instances
    5.  
      View the protection status of PostgreSQL instance
  5. Restoring PostgreSQL Instances and Databases
    1.  
      Things to know before you restore the PostgreSQL instances and databases
    2.  
      About the pre-restore check
    3.  
      Restore PostgreSQL instance and database
    4.  
      Restore target options
    5.  
      Pre-restore checks for PostgreSQL
    6.  
      Steps to perform recovery after restore operation
    7.  
      Steps to perform after Restore and Recovery for PostgreSQL cluster deployment
    8.  
      Limitations
  6. Troubleshooting PostgreSQL operations
    1.  
      Troubleshooting tips for NetBackup for PostgreSQL
    2.  
      Error during PostgreSQL credential addition
    3.  
      Error during the PostgreSQL instances and databases discovery phase
    4.  
      Error during the PostgreSQL Protection Plan Creation
    5.  
      Error while subscribing protection plan to PostgreSQL asset
    6.  
      Error while removing PostgreSQL asset
    7.  
      Error while backup of PostgreSQL asset
    8.  
      Error while restoring PostgreSQL asset image
  7. API for PostgreSQL instances and databases
    1.  
      Using APIs to manage, protect or restore PostgreSQL
  8.  
    Index

Restore PostgreSQL instance and database

You can restore a PostgreSQL instance or database either to an original backup location or to an alternate location. You can choose to recover from the default copy of the instance or database. The default copy is also known as the primary copy.

To restore a PostgreSQL instance

  1. On the left, click Workloads > PostgreSQL.
  2. On the Instances tab, select the instance that you want to recover.
  3. Click Recover from the top bar.
  4. On the Recovery points tab, select the date with available backup.

    Note:

    In the calendar view, dates with available backups are indicated with a green dot.

  5. From the listed Backup images/ Recovery points, select the desired image or recovery point.

    Note:

    The backup images or recovery points are listed in rows with the respective backup timestamp.

  6. Click Actions and then select either Perform complete instance recovery or Perform point in time recovery.

    Note:

    Point in time recovery option is only available for incremental backup.

    Perform point in time recovery:

    • On the Recovery option window, select one of the following:

      • Recovery point selected for the default recovery point.

      • Point in time and then select exact date and time for recovery.

        Note:

        Select the point in time which is post the previous full backup and includes a time through selected incremental recovery point.

  7. Click the search icon in the Host field, select the desired host and click Save.
    • If the recovery is to an alternate host, then select the corresponding valid credentials from the displayed list.

    For more information, See Restore target options.

  8. Select the appropriate instance directory path from one of the following options:
    • Restore everything to original location: Files are restored to the location where they were originally backed up from.

    • Restore everything to a different location: Files are restored to the specified alternate location. The folder structure of the restored data within the alternate location is the same as the original data that is same folder and subfolder setup.

      • Directory for Restore - PostgreSQL full backup data is restored to the specified path.

      • Write Ahead logging Directory - PostgreSQL WAL files are restored in this directory. PostgreSQL incremental backup data is restored to the specified path.

    Note:

    If the instance is added manually and not discovered automatically, then only Restore everything to a different location option can be selected.

  9. Click Next and follow the instructions prompted.
  10. On the Recovery source tab, review the storage details.
  11. Click Next.
  12. On the Recovery points tab, select the Restore or Restore and recovery option to perform instances and database restore and recovery:

    Note:

    For point in time recovery, Restore and recovery option is triggered automatically.

    • Restore: Restores the instances.

    • Restore and recovery - Recover the instances.

    Note:

    For LVM and VSS if the Restore and recovery option is selected, then contents of the target data directory is deleted by recovery operation.

    Note:

    In the Restore and recovery option, the PostgreSQL service must be up and running. If the service is stopped, the restore will fail.

    The data folder must be empty to run the Restore option on the same path. If the folder is not empty, then, the data will not restored.

  13. Click Next.
  14. On the Review tab, review the details and click Start recovery.