pvbackup
pvbackup64
Description
This utility sets and manages Continuous Operations on Zen database files during a live backup using a backup software application.
Syntax
pvbackup -on | -off | -status | -help
Tip pvbackup64 is used with 64-bit Backup Agent.
Options
-on | Turns Backup Agent on |
-off | Turns Backup Agent off |
-status | Displays status of Backup Agent |
-help | Displays help for Backup Agent |
Remarks
You must be logged in as user zen-svc to run this utility. Other users also can run it if their Zen accounts are configured to do so. For details, see the application management chapter in Getting Started with Zen.
Uninstalling Backup Agent on Linux or macOS
This topic covers removal of Backup Agent from a Linux or macOS machine.
Caution Removing Backup Agent stops and restarts the Zen service, so your database is briefly shut down.
Removing the TAR Version on Linux
►To uninstall a Backup Agent TAR installation on Linux
1 Log in as the root user.
2 Log in as zen-svc or any other user of group zen-data. For user zen-svc, no password is needed.
su - zen-svc
3 Be sure that Backup Agent is turned off by issuing one the following commands:
pvbackup -off
pvbackup64 -off
The command displays the following text:
Backup Agent is now OFF.
4 Exit back to root user.
exit
5 Since the uninstall will remove /usr/local/actianzen/pba and its subdirectories, be sure the current working directory is located above the Backup Agent home directory. For example, change directories:
cd /usr/local/actianzen
6 Run the first uninstall script.
sh pba/etc/preuninstall.sh
The system shuts down Zen, 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 When the first script finishes, run the second uninstall script.
sh pba/etc/postuninstall.sh
The second script removes the Backup Agent directories and restarts Zen.
Backup Agent is now removed from your Linux system.
8 After installation, you can verify that the database engine is running by using the following command:
/etc/init.d/actianzen status
Removing the TAR Version on macOS
►To uninstall a Backup Agent TAR installation on macOS
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 At the prompt, enter a sudo command like the following to gain administrative rights to install applications:
sudo -i bash -l
3 Change directories to the directory where the Backup Agent installation scripts reside.
cd /usr/local/actianzen/etc
4 Use the following uninstall scripts:
./preuninstall.sh
./postuninstall.sh
The scripts must be executed in sequence: preuninstall first, followed by postuninstall.
Backup Agent is now removed from your macOS system.
5 After installation, you can verify that the database engine is running by using the following command:
/usr/local/actianzen/etc/init.d/actianzen status
Removing the RPM Version
►To uninstall using RPM
Caution Removing Backup Agent stops and restarts the Zen service, so your database is briefly shut down.
1 Log in as the root user.
2 Log in as zen-svc or any other user of group zen-data. For user zen-svc, no password is needed.
su - zen-svc
3 Be sure that Backup Agent is turned off by issuing one the following commands:
pvbackup -off
pvbackup64 -off
The command displays the following text:
Backup Agent is now OFF.
4 Exit back to root user.
exit
5 Since the uninstall will remove /usr/local/actianzen/pba and its subdirectories, change the current directory to another location. For example, change directories to Zen home:
cd /usr/local/actianzen
6 Issue the following command:
rpm -e <BackupAgent_package_name>
The package manager stops the Zen service, removes the /usr/local/actianzen/pba directory, its subdirectories, and all files, logs, links, and configuration settings made by the initial installation, then restarts the Zen service again.
Backup Agent is now removed from your Linux system.
7 After installation, you can verify that the database engine is running by using the following command:
/etc/init.d/actianzen status