Please enter search query.
Search <book_title>...
Veritas NetBackup™ for Sybase Administrator's Guide
Last Published:
2018-09-19
Product(s):
NetBackup (8.2, 8.1.2)
- Introduction to NetBackup for Sybase
- Installing NetBackup for Sybase
- Configuring NetBackup for Sybase
- About configuring a backup policy for Sybase
- About the backup, restore, and load scripts for NetBackup for Sybase on UNIX
- About the backup, restore, and load scripts for NetBackup for Sybase on Windows
- NetBackup for Sybase configuration or bp.conf file settings
- About striped dumps and loads with NetBackup for Sybase
- Using NetBackup for Sybase
- Troubleshooting NetBackup for Sybase
- NetBackup debug logs and reports
- NetBackup debug logs and reports
- Appendix A. Register authorized locations
Modifying the NetBackup for Sybase load script
This topic shows how to modify the load script. The following is an example of the sybase_mydb_load script:
load database mydb from "sybackup::SYBASE12.mydb.D.0.24312.20-12-2001.23:05:25" go load transaction mydb from "sybackup::SYBASE12.mydb.T.0.44532.21-12-2001.22:01:00" go load transaction mydb from "sybackup::SYBASE12.mydb.T.0.14142.22-12-2001.20:45:00" go online database mydb
To modify the sybase_mydb_load 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.
- (UNIX or Linux) Set the access permissions of the script to 775.
chmod 775 script_name
- (Windows) Make sure there is share access to the script.
- Use a text editor to open the sybase_mydb_load script.
- Replace mydb with the name of the database.
- Replace the file name, shown in the example as SYBASE12, with the name obtained from the bplist command.
More information about the format of the file name is available.
- (Optional) Use the -SERV option to specify the NetBackup server on the device string of the load command. The -SERV option, which in this example specifies saturn, overrides any server that is specified in the NetBackup client configuration. For example:
load database mydb from "sybackup::SYBASE12.mydb.D.0.24312.20-12-2001.23:05:25 -SERV saturn"
- Save and close the file.
- Test the script you modified.
More information is available for how to test scripts.