NetBackup™ Web UI PostgreSQL Administrator's Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.1)
  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 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
    6.  
      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 > Perform complete instance recovery.
  7. Click the search icon in Host field, select the desired host and click Save.

    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 alternative location that you can specify. The folder structure of the restored data within the alternate location will be the same as that of the original data that is same folder and sub-folder setup.

    • Restore files to different paths: Files are restored to alternative location that you can specify. All files will be restored to a single folder. The folder structure of the original data is lost. All data from folders and sub-folders are extracted to a single folder instead.

      For more information, See Restore target options.

  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 checkbox for instances and database restore.
  13. Click Next.
  14. On the Review tab, review the details and click Start recovery.

To restore a PostgreSQL database:

  1. On the left, click Workloads > PostgreSQL.
  2. On the Databases tab, select the database 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 > Perform complete database recovery.
  7. Click the search icon in Host field, select the desired host and click Save.

    For more information , See Restore target options.

  8. Select the appropriate Database directory paths 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 alternative location that you can specify. The folder structure of the restored data within the alternate location will be the same as that of the original data that is same folder and sub-folder setup.

    • Restore files to different paths: Files are restored to alternative location that you can specify. All files will be restored to a single folder. The folder structure of the original data is lost. All data from folders and sub-folders are extracted to a single folder instead.

    For more information , See Restore target options.

  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 checkbox for instances and database restore.
  13. Click Next.
  14. On the Review tab, review the details. For any changes you can edit recovery target, recovery source and recovery options or click Start recovery.