sub-infx-onbar-ini
Defines the onbar commands to use with the infx backup and restore manager.
sub-onbar.ini
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;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 [] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |