Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ for Sybase Administrator's Guide
  3. Configuring NetBackup for Sybase
  4. Modifying the NetBackup for Sybase load script
Veritas NetBackup™ for Sybase Administrator's Guide

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

  1. 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.

  2. (UNIX or Linux) Set the access permissions of the script to 775.
    chmod 775 script_name
    
  3. (Windows) Make sure there is share access to the script.
  4. Use a text editor to open the sybase_mydb_load script.
  5. Replace mydb with the name of the database.
  6. 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.

  7. (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"
    
  8. Save and close the file.
  9. Test the script you modified.

    More information is available for how to test scripts.

More Information

Registering authorized locations used by a NetBackup database script-based policy

NetBackup for Sybase technical overview

???

About the backup, restore, and load scripts for NetBackup for Sybase on Windows

Feedback

Was this page helpful?
Previous

Additional information for editing the restore script for NetBackup for Sybase on Windows

Next

NetBackup for Sybase environment variables

Feedback

Was this page helpful?