Modify the backup script for NetBackup for Greenplum
The following procedure shows how to modify the backup script.
To modify the greenplum_backup.sh script
- Copy the example script to the authorized location on your client.
Note: Do not save custom scripts in the samples directory. Subsequent NetBackup upgrades can overwrite your site's scripts.
- Set the access permissions of the script to 770.
chmod 770 greenplum_backup.sh
- Use a text editor to open the greenplum_backup.sh script.
The following example uses the vi(1) text editor.
vi greenplum_backup.sh
- Locate the
USER CUSTOMIZABLE VARIABLE SECTIONand then customize the variables in the script as needed. - Save and close the file.
- Test the script you modified.