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
Troubleshooting errors when using NetBackup for PostgreSQL Agent
The following table includes steps that help you resolve problems you may encounter while using NetBackup for PostgreSQL Agent.
Table: General steps to resolve problems
Steps | Action | Description |
---|---|---|
Step1 | Remember the error message | Error messages are usually the vehicles for telling you something went wrong. If you do not see an error on the command line, but still suspect a problem, check the logs and the reports. These can provide an error message that directly points to the problem. The logs and reports are essential troubleshooting tools. |
Step 2 | Identify what you were doing when the problem occurred. | Ask the following questions:
|
Step 3 | Record all information | Capture potentially valuable information.
|
Step 4 | Correct the problem | After you define the problem, use the information to correct it. |
Step 5 | Contact Technical Support | If you cannot solve the troubleshooting, contact the Technical support. |
To troubleshoot the errors, you can refer to the NetBackup logs, NetBackup for PostgreSQL Agent logs, and the NetBackup XBSA logs. These logs are located at the following locations:
The NetBackup logs are located at:
install_path\NetBackup\logs\bprd
install_path\NetBackup\logs\bpcd
install_path\NetBackup\logs\user_ops\dbext\logs
You must enable the bprd
and the bpcd
log files. For more information, see the NetBackup Troubleshooting Guide.
The logs that are specific to NetBackup for PostgreSQL Agent are located at:
install_path\nbpgsql.log
The logs that are specific to NetBackup XBSA are located at:
<NetBackup_install_path>/netbackup/logs/exten_client
For troubleshooting NetBackup errors, see Veritas NetBackup Troubleshooting Guide and the Veritas NetBackup Commands Reference Guide
Table: Troubleshooting NetBackup for PostgreSQL errors lists and describes the errors and the solutions to troubleshoot the problems while running the operations.
Table: Troubleshooting NetBackup for PostgreSQL errors
Problems | Description | Solution |
---|---|---|
The nbpgsql backup fails with the following error: Unable to load postgresql library | You may encounter this problem when the
| Verify the following and then run the backup again:
|
The nbpgsql backup fails with the following error: Unable to connect to the database | The nbpgsql backup fails when the | To add the appropriate database user name and port number
|
The nbpgsql backup fails with the following error: Unable to load xbsa.dll | The nbpgsql backup fails if the environment variable path is not updated with NetBackup bin directory. | To run a nbpgsql backup successfully
|
The nbpgsql backup fails with the following error: XBSA initiation failed | The nbpgsql backup fails if the | To run the nbpgsql backup successfully
|
(Windows)VSS snapshot creation failed | The nbpgsql backup may fail when the user does not have the privileges to run the nbpgsql operations. | Run cmd.exe in Administrator mode. |
The nbpgsql restore operation does not restore any data from the target NetBackup client. | The nbpgsql restore fails if the | For a successful restore
|
The nbpgsql backup fails with the following error: (Linux)Error creating LVM snapshot | The nbpgsql backup may fail when the volume group does not have sufficient space for the snapshot. | To verify the space in the volume group
|
Error messages after a successful backup: <volume_group>/<snapshot_name> Read failure after 0 of 4096 at 29393616896: input or output error. OR <volume_group>/<snapshot_name>: read failure after 0 of 4096 at 4096: input or output error. | The nbpgsql backup gives these errors when the volume group contains the snapshots. You can list the snapshots and then remove them before you run the backup again. Note: nbpgsql created LVM snapshot names are prefixed with | To remove the snapshots
|
The nbpgsql backup fails with the following error: "Failed to load PostgreSQL Library" | You may encounter this problem when the
| Verify the following and then run the backup again:
|
The nbpgsql backup on Linux (LVM), fails with the following error: Error unmounting the snapshot-Device or resource busy OR Error removing the snapshot-pgsqlsnap_<timestamp> Note: <timestamp> is the LVM snapshot time | The nbpgsql backup fails during an attempt to unmount the snapshot, the device, or when you remove the existing snapshots. | To unmount the snapshot
|
Even after a successful restore, the PostgreSQL services, failed to start. | The restore operation is successful, only when you restore the backup on a machine that has the same minor version of PostgreSQL. For example, if you back up a file from PostgreSQL version 9.6.x, then you must restore the file to a computer with PostgreSQL version 9.6.x. |
|
The | Starting from NetBackup 8.2, the | If the |