pvbackup
pvbackup64
Description
This utility sets and manages Continuous Operations on PSQL database files during a live backup using a backup software application.
Syntax
pvbackup -on | -off | -status | -help
Tip pvbackup64 is used with Backup Agent 64-bit.
Options
 
Remarks
You must be logged in as user psql to run this utility. Other users also can run it if their PSQL accounts are configured to do so. For details, see the application management chapter in Getting Started With PSQL.
Uninstalling Backup Agent on Linux or OS X
This section covers removal of Backup Agent from a Linux or OS X machine.
Caution Removing Backup Agent stops and then restarts PSQL services, so your database is briefly shut down.
Removing the TAR Version on Linux
1
2
Log in as psql or any other user of group pvsw. For user psql, no password is needed.
su - psql
3
pvbackup -off
pvbackup64 -off
The command displays the following text:
Backup Agent is now OFF.
4
exit
5
cd /usr/local/psql
6
sh pba/etc/preuninstall.sh
The system shuts down PSQL, cleans up memory, unregisters Backup Agent libraries, and removes files, logs, links, and configuration settings made by the initial installation.
Backup Agent is now removed from your Linux system.
7
sh pba/etc/postuninstall.sh
The second script removes the Backup Agent directories and restarts PSQL.
Backup Agent is now removed from your Linux system.
8
/etc/init.d/psql –status
Removing the TAR Version on OS X
You must be logged in as a user with administrator rights to use the sudo command.
1
Open a terminal window by entering terminal in a Spotlight search.
2
sudo -i bash -l
3
cd /usr/local/psql/etc
4
./preuninstall.sh
./postuninstall.sh
The scripts must be executed in sequence: preuninstall first, followed by postuninstall.
Backup Agent is now removed from your OS X system.
5
/usr/local/psql/etc/init.d/psql –status
Removing the RPM Version
Caution Removing Backup Agent stops and then restarts PSQL services, so your database is briefly shut down.
1
2
Log in as psql or any other user of group pvsw. For user psql, no password is needed.
su - psql
3
pvbackup -off
pvbackup64 -off
The command displays the following text:
Backup Agent is now OFF.
4
exit
5
cd /usr/local/psql
6
rpm -e <PSQL_Backup_Agent_package_name>
The package manager stops PSQL services, removes the /usr/local/psql/pba directory, its subdirectories, and all files, logs, links, and configuration settings made by the initial installation, then restarts PSQL services again.
Backup Agent is now removed from your Linux system.
7
/etc/init.d/psql –status