Creating a user-directed backup
You can create a user-directed backup by using NetBackup.
About this task
As an example, this procedure runs a host backup by using the nzhostbackup command.
The nzhostbackup command creates a single file that is written to the local disk or other storage accessible from the Netezza host. You can send this file to NetBackup by using the bpbackup command-line utility, which is included with the NetBackup client software installed on the Netezza Performance Server host. You can later transfer the file back to its original location by using the bprestore command-line utility (also a part of the NetBackup client software). You can then restore the file by using the nzhostrestore command.
To create a user-directed backup, complete the following steps.
Procedure
Results
Keep in mind the following important points for the bpbackup utility and the example:
- Specify the explicit path to the bpbackup command if it is not part of your account's PATH setting. The default location for the utility is /usr/openv/netbackup/bin.
- In the sample command, the -L option specifies the log file where the status of the backup operation is written. Review the file because the utility does not return error messages to the console.
- The -w option causes the bpbackup utility to run synchronously; it does not return until the operation completes.
- The -p option specifies the name of the NetBackup policy, which you defined in step 1.
- You can display syntax for the bpbackup utility by running bpbackup without options.