config‎ > ‎

sub-infx-ontape.ini

Defines the ontape commands to use with the infx backup and restore manager.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; sub-ontape.ini
;
; ontape backup/restore from directories
;
; DO NOT EDIT THIS FILE - CREATE A COPY IN /infx/local/etc AND EDIT THERE
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[ontape]
; how to specify options
tapedev = -t
dbspacelist = -D
level = -L
ansi = -A
buff = -B
nolog = -N
unbuff = -U
rename = -rename -f

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; backup commands
[[backup]]
 type=dbs
 pass=100 percent done.
 pre=rm -f ${tapedev}/${host}_${servernum}_[0-9]*_L${level}
 command=ontape -s ${level} ${ansi} ${buff} ${nolog} ${unbuff} ${tapedev} -v -d
 options=level=0|1|2 tapedev ansi buff unbuff nolog

[[backup]]
 type=fake
 command=ontape -s -F -L 0 ${ansi} ${buff} ${nolog} ${unbuff} -t /dev/null
 options=ansi buff unbuff nolog

[[ backup type="logs" command="ontape -a -d" ]]
[[ backup type="hot" command="ontape -s -F -L 0 -t STDIO" ]]
[[ backup type="ext" command="infx script script=sample/ext-backup" ]]
[[ backup type="verify" command="infx script script=sample/ontape-verify" ]]

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; restore commands
[[restore]]
 type=full
 command=ontape -r ${rename} ${dbspacelist} ${tapedev} -v -d
 options=rename tapedev force=yes|no online=yes|no

[[restore]]
 type=physical
 command=ontape -p ${rename} ${tapedev} -v -d
 options=rename tapedev salvage=yes|no force=yes|no online=yes|no

[[ restore type="physical" command="ontape -p ${rename} ${tapedev} -v -d" ]]
[[ restore type="logical" command="ontape -l -C -d" options="cont=yes|no online=yes|no" ]]
[[ restore type="endlogical" command="ontape -l -X -d" options="online=yes|no" ]]
[[ restore type="salvage" command="ontape -S -d" ]]
[[ restore type="warm" command="ontape -r ${dbspacelist} ${tapedev} -v -d" options="dbspacelist" ]]
[[ restore type="ext" command="infx script script=sample/ext-restore" options="force=yes|no online=yes|no" ]]
[[ restore type="hot" command="ontape -p ${rename} -t STDIO -v" options="rename force=yes|no online=yes|no" ]]

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; end of ontape section
[]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;