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
Name
nbpgsql -o backup — runs the backup operation from the NetBackup client.
SYNOPSIS
nbpgsql -o backup
-S master_server
-P policy_name
-s schedule_name
(Linux) -l postgresql_library_path
(Linux) -z snapshot_size
[-portnum db_port]
[-udatabase_user]
Description
This command invokes the backup operation from the NetBackup client using the NetBackup DataStore policy name and the schedule type. The parameter -S and -P are required parameters for Windows. The parameters -l and -z are required parameters for Linux. The -portnum and -u are the optional parameters.
On Linux systems, the directory path is /usr/NBPostgreSQLAgent/
.
On Windows, the directory path is install_path\NBPostgreSQLAgent\
.
Options
- -l
(Linux) Configures the PostgreSQL library directory
- -portnum
Configures the database port number that identifies the PostgreSQL instance on which the backup is performed.
- -P
Configures the NetBackup DataStore policy name.
- -S
Configures the NetBackup server name.
- -s
Specifies the schedule name that you have configure for the DataStore policy.
- -u
Configures the database user name.
- -z
(Linux) Specifies the LVM snapshot size.