Need assistance with Sybase Script
I need some assistance with the variables in the sybase_mydb_backup script.
Here is the portion of the script:
@echo SYBACKUP_SERVER = %SYBACKUP_SERVER%
@echo SYBACKUP_POLICY = %SYBACKUP_POLICY%
@echo SYBACKUP_SCHED = %SYBACKUP_SCHED%
@echo SYBACKUP_CLIENT = %SYBACKUP_CLIENT%
@echo SYBACKUP_SCHEDULED = %SYBACKUP_SCHEDULED%
@echo SYBACKUP_USER_INITIATED = %SYBACKUP_USER_INITIATED%
Here is the policy information i have created for the sybase backup
Name of Policy: SAP_Sybase
POlicy type: Sybase
Schedule Name: Default-Application-Backup
Schedule Type: Application Backup
Client: %clientfqdn%
Per the example in the Admin Guide, " These environment variables are set by NetBackup "
You don't need to set them.
You do need to set these...
Additional information for editing the backup script for NetBackup for Sybase on Windows
@set SYBASE=C:\Sybase
Set this variable to the Sybase home folder. Typically set to the same value as the
SYBASE environment variable.
@set SYBSERVER=SYBASE
Set this variable to the name of the Sybase adaptive server. Typically set to the
same value as the DSQUERY environment variable.
@set DATABASE_NAME=SYB_DB
Set this variable to the name of your Sybase database.....