Terminating database connections
Before you run nbdb_unload, shut down NetBackup to terminate all active connections to the database. Shutting down NetBackup eliminates any possible concurrency problems.
To terminate database connections on Windows
- Shut down all NetBackup services by typing the following command:
install_path\NetBackup\bin\bpdown
- In the Windows Services Manager, restart the service called NetBackup Scale-Out Relational Database Manager.
- Use one of the following methods to terminate database connections:
Use the NetBackup Database Administration utility.
Run nbdb_unload and indicate the outputs (database name, tables, or schema only) and the destination directory.
- Stop the NetBackup Scale-Out Relational Database Manager service with the following command:
install_path\NetBackup\bin\bpdown -e vrtsdbsvc_psql
- Start all NetBackup services by typing the following command:
install_path\NetBackup\bin\bpup
To terminate database connections on UNIX
- Shut down all NetBackup daemons by typing the following command:
/usr/openv/netbackup/bin/bp.kill_all
- Start the NetBackup database daemon with the following command:
/usr/openv/netbackup/bin/nbdbms_start_stop start
- Start only the database server by using /usr/openv/netbackup/bin/nbdbms_start_stop start
- Use one of the following methods to terminate database connections:
Use the NetBackup Database Administration utility.
Run nbdb_unload and indicate the outputs (database name, tables, or schema only) and the destination directory.
- Shut down the database server by using /usr/openv/netbackup/bin nbdbms_start_stop stop.
- Stop the NetBackup Scale-Out Relational Database Manager service with the following command:
/usr/openv/netbackup/bin/nbdbms_start_stop stop
- Start all NetBackup daemons by typing the following command:
/usr/openv/netbackup/bin/bp.start_all