Veritas NetBackup™ for PostgreSQL Administrator's Guide
- Introduction to NetBackup for PostgreSQL
- Installing the NetBackup for PostgreSQL Agent
- Configuring NetBackup for PostgreSQL
- NetBackup for PostgreSQL backup and restore
- About PostgreSQL backups
- Troubleshooting for PostgreSQL
- Appendix A. NetBackup for PostgreSQL commands and conventions
- Appendix B. NetBackup for PostgreSQL commands
About NetBackup for PostgreSQL Agent commands
This section describes the commands, options, and parameters that are available to run the nbpgsql operations. Each command contains a brief description, required parameters, and optional parameters for the respective operations. The NetBackup for PostgreSQL Agent supports only those commands, options, and parameters that are mentioned in this document.
Observe for the following:
Specify the parameters in the
nbpgsql.conf
file or provide them on the command line.The parameter on the command line take precedence over the
nbpgsql.conf
file.Specify the operation type -o on the nbpgsql command line.
Specify the parameters and options for the respective operations in the
nbpgsql.conf
file or on the command line.
Table: The nbpgsql command options
Options | Description |
---|---|
-C | Configures the NetBackup client name for redirected restores. |
-h | Displays the Help usage, when it is the only option on the nbpgsql command line. |
-id | Configures the specified backup. |
-l | (Linux) Configures the PostgreSQL library path. |
-o | Configures the operation type (backup, restore, query, and delete). |
-P | Configures the DataStore policy. |
-portnum | Configures the database server port number that identifies the PostgreSQL instance on which the backup or restore is performed. |
-s | Configures the NetBackup schedule. |
-S | Configures the NetBackup master server. |
-t | Configures the target directory to restore the data. |
-u | Configures the database user name. |
-z | Configures the LVM snapshot size. |