Modifying the restore script for NetBackup for Sybase on UNIX
The following procedure shows how to modify the restore script.
To modify the sybase_mydb_restore script
- Copy the example script to the authorized location on your client.
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 775.
chmod 775 script_name
- Use a text editor to open the sybase_mydb_restore script.
The following example uses the vi(1) text editor:
vi sybase_mydb_restore
- Modify the sybase_mydb_restore script using the instructions in the script itself.
- Save and close the file.
- Test the script you modified.
More information is available for how to test scripts.