config‎ > ‎

sub-infx-onbar.ini

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

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; sub-onbar.ini
;
; onbar backup/restore from directories
;
; DO NOT EDIT THIS FILE - CREATE A COPY IN /infx/local/etc AND EDIT THERE
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[onbar]
; how to specify options
dbspacelist = blank
dbspacefile = -f
spaceonly = -p
level = -L
rename = -rename -f
baropts = blank
time = -t
log = -n

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; backup commands
[[backup]]
 type=dbs
 pass=onbar_d complete, returning 0
 command=onbar -b ${baropts} ${level} -w ${dbspacelist} ${dbspacefile}
 options=level=0|1|2 dbspacelist dbspacefile baropts

[[ backup type="fake" command="onbar -b -F" ]]
[[ backup type="logs" command="onbar -b -l" ]]
[[ 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="onbar -v" ]]

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

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; restore commands
[[restore]]
 type=full
 command=onbar -r ${baropts} ${rename} ${dbspacelist} ${dbspacefile} ${time} ${log}
 options=rename force=yes|no online=yes|no time log baropts

[[restore]]
 type=physical
 command=onbar -r ${rename} -p ${baropts} ${dbspacelist} ${dbspacefile} ${time}
 options=rename force=yes|no online=yes|no time baropts salvage=yes|no

[[restore]]
 type=warm
 command=onbar -r ${baropts} ${dbspacelist} ${dbspacefile}
 options=rename force=yes|no online=yes|no time log baropts dbspacelist dbspacefile

[[ restore type="logical" command="onbar -r -l -C ${time} ${log}" options="cont=yes|no online=yes|no time log" ]]
[[ restore type="endlogical" command="onbar -r -l -X" options="online=yes|no" ]]
[[ restore type="salvage" command="onbar -b -l -s" ]]
[[ 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 onbar section
[]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;