cancel
Showing results for 
Search instead for 
Did you mean: 

Need assistance with Sybase Script

David_Bowlby
Level 4

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%

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Will_Restore
Level 6

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.

 ....

View solution in original post

3 REPLIES 3

jim_dalton
Level 6

...but what is the question, David? Or the problem? Or error?

Jim

David_Bowlby
Level 4

Sorry....

 

What would the settings for Syback_Scheduled and Syback_User_Initiated be from the schedule information i listed? 

Will_Restore
Level 6

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.

 ....