data_backup

BRS™ server software must have been configured and started for end-users to be able to perform a Z39.50 search against the Talis target. Use the data_backup script to back up the entire file system under which the BRS server software resides. The data_backup backup script calls the UNIX file system dump utility ufsdump (for more information about ufsdump, refer to the UNIX man pages).

The script is normally scheduled using the cron. Backup should be run daily if you are updating the database daily.

Usage

Log in as ops and enter the following command:

data_backup -o<backup_device> -p<filename> -r<directory> -x -h

The arguments for this script are described in the following table.

Argument

Description

-o

This mandatory argument specifies the dump device. This is normally /dev/rmt/0. If this argument is not specified the script will display help text and terminate.

-p

This optional argument is used to give the name of parameter file to be used. The parameter file should contain a list of file systems to be backed-up. If none is specified, the default parameter file data_backup.param will be used. If a nonexistent parameter file is specified, the script will terminate stating the problem.

-r

This names the report directory where the process will create its report file. The default, if this argument is not given, is defined by the $TAL_REP_DIR environment variable. If not already set, this defaults to the data directory $BLCMP_HOME/data/utils. The report file takes the name "data_backup.rep”.

-x

If this argument is not included, the script verifies the contents of the media against the source file. If this argument is included, the contents of the media are not verified.

 

Parameter file

The default parameter file, data_backup.param contains a list of file systems. If the parameter file contains no file systems the script will terminate stating that no valid file systems have been specified. In most cases only one file system will be specified.