- 论坛徽章:
- 0
|
nsrsyb 参数
===============================================
###########################################################################
# This value MUST be set for scheduled backups to run.
###########################################################################
#
# Variable: SYBASE
# Default value:
# Description: Specifies where the Sybase RDBMS is installed.
# Set this variable to the directory where Sybase ASE
# software is installed. This *must* be set for scheduled backups
# to be able to find the Sybase libraries and executables.
#
SYBASE=/sybase
#umask 002
. $SYBASE/SYBASE.sh
###########################################################################
#
# Configuration variables, modifiable by users.
#
###########################################################################
# The following lines may be edited to change the default settings. These
# are for advanced tailoring of backups and should be edited carefully.
###########################################################################
#
# Variable: USE_CONSISTENCY_CHECK
# Default value: true
# If set, this puts a consistency check into the PRECMD variable.
# To disable this, set the USE_CONSISTENCY_CHECK value as follows:
# USE_CONSISTENCY_CHECK=
#
# If this is on, it will set the PRECMD to do a consistency check.
# If you need to customize the PRECMD to do other work, unset this
# value and perform any desired consistency checks in your own
# script.
#
USE_CONSISTENCY_CHECK=true
#
# Variable: DBCCOPT
# Default value: none
# If set, these are the options that the nsrsybcc program uses in its
# consistency check. If not set, the options will be the program defaults
# from the nsrsybcc program.
#
DBCCOPT=
#
# Variable: PRECMD
# Default value:
# Description: This variable can be used to run a command before nsrsybsv.
#
# If USE_CONSISTENCY_CHECK is set, the PRECMD will be constructed to perform
# a nsrsybcc check on the given saveset. A PRECMD that you set here will
# not be overwritten by a consistency check, however.
#
PRECMD=
#
# Variable: POSTCMD
# Default value: NONE
# Description: This variable can be used to run a command after nsrsybsv
# has completed.
#
POSTCMD=
#
# Variable: BACKUP_OPT
# Default value: none
# If set, these are the options that will be passed to the nsrsybsv
# program in addition to the ones set from savegrp. This is useful
# for setting the debug level.
# Passing -N option is not recommended as it will be overwritten by
# what is passed from the savegroup.
#
#BACKUP_OPT="-D 4"
#
BACKUP_OPT=
#
# Variable: NSR_DATA_VOLUME_POOL
# Default value: none
# Description: If this variable is set to name a media pool, then database
# backups will be directed to the named media pool.
#
NSR_DATA_VOLUME_POOL=
#
# Variable: NSR_LOG_VOLUME_POOL
# Default value: none
# Description: If this variable is set to name a media pool, then
# transaction log backups will be directed to the named media pool.
#
NSR_LOG_VOLUME_POOL=
#
# Variable: NSR_COMPRESSION
# Default value: FALSE
# Description: This environment variable specifies whether client-side
# compression is performed on the data.
#
NSR_COMPRESSION=FALSE
#
# Variable: NSR_AES_ENCRYPTION
# Default value: FALSE
# Description: This environment variable specifies whether AES encryption
# is used between the client and server.
#
NSR_AES_ENCRYPTION=FALSE
#
# Variable: NSR_ASE_PASSWORD
# Default value: None
# Description: This environment variable specifies the password
# to be used while dumping for ASE 12.5.2 onwards.
#
NSR_ASE_PASSWORD=
#
# Variable: NSR_ASE_VERIFY
# Default value: None
# Description: This environment variable specifies the verify
# clause to be used while issuing dump command for ASE 12.5.4 onwards.
# The valid values can be either "header" or "full". The value
# is case insensitive. The option header will verify only the
# header before dump. The option full will verify both
# header and row structure.
# Note that the verify clause does not work with ASE 15.0.
#
NSR_ASE_VERIFY=
#
# Variable: NSR_DEBUG_FILE
# Default value: /nsr/applogs/xbsa.messages
# Description: This environment variable specifies which file the XBSA
# messages should be written to.
#
NSR_DEBUG_FILE=/nsr/applogs/xbsa.messages
#NSR_SAVESET_NAME=SYBASE:/GLSH/model
###########################################################################
# Do not edit anything below this line.
###########################################################################
================================
下半部分不需要编辑的 就没有抄出来了
应该就是加个路径参数就可以了啊SYBASE=/sybase
通过SYBASE.sh获得的环境变量,参考以下部分
================================
#!/bin/sh
SYBASE_ASE="ASE-12_5"
export SYBASE_ASE
NSR_TEMPDIR="/nsr/tmp"
export NSR_TEMPDIR
PATH=$PATH:/usr/bin:/etc:/usr/sbin:/usr/ucbHOME/bin:/usr/bin/X11:/sbin:.
export PATH
PATH="/sybase/ASE-12_5/bin:/sybase/ASE-12_5/install"PATH
export PATH
LIBPATH="/sybase/ASE-12_5/lib"LIBPATH
export LIBPATH
SYBASE_JRE="/sybase/shared-1_0/JRE-1_3"
export SYBASE_JRE
PATH="/sybase/JS-12_5/bin"PATH
export PATH
SYBASE_FTS="EFTS-12_5_2"
export SYBASE_FTS
PATH="/sybase/RPL-12_5/bin"PATH
export PATH
SYBASE_WS="WS-12_5"
export SYBASE_WS
SYBASE="/sybase"
export SYBASE
SYBASE_OCS="OCS-12_5"
export SYBASE_OCS
PATH="/sybase/OCS-12_5/bin"PATH
export PATH
LIBPATH="/sybase/OCS-12_5/lib:/sybase/OCS-12_5/lib3p64:/sybase/OCS-12_5/lib3p"LIBPATH
export LIBPATH
SYBASE_SYSAM="SYSAM-1_0"
export SYBASE_SYSAM
LM_LICENSE_FILE="/sybase/SYSAM-1_0/licenses/license.dat"
export LM_LICENSE_FILE
LIBPATH="/sybase/shared-1_0/JRE-1_3/bin:/sybase/shared-1_0/JRE-1_3/bin/classic"LIBPATH
export LIBPATH
PATH="/sybase/$SYBASE_FTS/bin"PATH
export PATH
LIBPATH="/sybase/$SYBASE_FTS/lib:/sybase/$SYBASE_FTS/verity/_rs6k41/bin:/sybase/$SYBASE_FTS/verity/_rs6k41/filters"LIBPATH
export LIBPATH
SHLIB_PATH=/sybase/OCS-12_5/lib
export SHLIB_PATH
export DSQUERY=GLSH
export LANG=en_US
===================================================== |
|