Initiating backups from the NetBackup Administration Console

Deployment options: Netezza Performance Server for Cloud Pak for Data System

About this task

After you create a backup policy, complete the following steps to initiate an automatic backup from the NetBackup Administration Console.

Procedure

  1. In the left-pane of the NetBackup Administration Console, expand the Policies list.
  2. Double-click the policy that you created in the previous procedure.
  3. In the Change Policy dialog, click the Backup Selections tab.
  4. Click New and specify the full path to the backup script that will be started by NetBackup as part of scheduled automatic backups.
    The full path is the path name on the host. Usually the backup script contains a single command line that runs nzbackup for a particular backup operation. You can create the script manually by using a text editor.
    For example, the following line in a text file would back up the database named “sales” by using the Netezza Performance Server user account “joe”:
    /nz/kit/bin/nzbackup -db sales -connector netbackup -u joe -pw 
    password -connector netbackup -connectorArgs 
    "DATASTORE_SERVER=NetBackup_master_server:DATASTORE_POLICY=NetBack
    up_policy_name"

    Rather than specify the -connectorArgs argument, you can set the environment variables DATASTORE_SERVER and DATASTORE_POLICY. If you set the environment variables, and then use the command-line argument -connectorArgs, the command-line argument takes precedence.

    If you are concerned about using a clear-text password, you can run the same nzbackup as follows:

    1. Change user to root.
    2. Cache the password for user “joe” by using the nzpassword command.
    3. Run nzbackup without the password.
      nzbackup -db sales -connector netbackup -u joe

      After you cache the password, you can use nzbackup without the -pw option. You only cache the password one time.

      Backups that are initiated by using the nzbackup command on the Netezza Performance Server host use the schedule of type “Application Backup.” You can click the Schedules tab and check that the schedule for allowing backups is set .