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™ DataStore SDK Programmer's Guide for XBSA 1.1.0
  3. How to use the sample files
  4. Description of sample files
Veritas NetBackup™ DataStore SDK Programmer's Guide for XBSA 1.1.0

Description of sample files

This section includes a description of the sample files provided with the SDK. All sample files are located in ~sdk/DataStore/XBSA/samples.

Table: Description of Sample Files

Filename

Description

Backup.c

This is an example of the functions needed to create an XBSA object.

Query.c

This is an example of the functions needed to search for an XBSA object.

Restore.c

This is an example of the functions needed to retrieve an XBSA object.

Delete.c

This is an example of the functions needed to delete an XBSA object.

Makefile.unix

This is an example Makefile that can be used to compile the sample programs on the UNIX platforms.

Makefile.nt

This is an example Makefile that can be used to compile the sample programs on Windows platforms.

backup_script.cmd

This is an example of the script that runs an XBSA application from a NetBackup schedule on a Windows platform.

restore_script.cmd

This is an example of the script that runs an XBSA application from a NetBackup schedule on a Windows platform.

backup_script.sh

This is an example of the script that runs an XBSA application from a NetBackup schedule on a UNIX platform.

restore_script.sh

This is an example of the script that runs an XBSA application from a NetBackup schedule on a UNIX platform.

Feedback

Was this page helpful?
Previous

Sample scripts

Next

How to build the sample programs

Feedback

Was this page helpful?