Q: Informix B/U to dir

1 view
Skip to first unread message

james...@austin.rr.com

unread,
Feb 11, 2011, 11:30:38 AM2/11/11
to Austin Area Leauge of Pro Sysadmins, Austin: pm.org, Austin-Hack...@googlegroups.com
Informix 9i has had the TAPEDEV parameter set to /mnt/AUS/test using onmonitor. The suggested ontape format is:

ontape -s -L 0 -d

However, when run on Solaris 9 v890 it produces:

$ ontape -s -L 0 -d
invalid argument
ontape
usage:
{ -a |
-c |
-l |
-p |
-r [-D DBspace_list] |
-s [-L archive_level] [-A database_list] [-B database_list]
[-N database_list] [-U database_list] }

-a Automatic backup of logical logs
-c Continuous backup of logical logs
-l Logical restore
-p Physical restore for HDR
-r Full restore DBspaces/BLOBspaces as listed
-s Archive full system
-A set the following database(s) to ansi logging
-B set the following database(s) to buffered logging
-N set the following database(s) to no logging
-U set the following database(s) to unbuffered logging


Program over.

Q1: Why does it not appear to know about the -d option

When setting the archive device via onmonitor it provides settings for block size and tape length, since I'm using a muti-TB NAS I'd like to set this to a real world reasonable size instead of the 4G tape default.

Q2: Does setting the archive dir above to something other than /dev/null over-ride the settings in tape size

I've got a primary application that is running a backup w/ TAPEDEV=/dev/null and parameters set via their script so it backs up to a SAN once a day. We'd like to do diffs. Since I want to run my secondary b/u such that I get a level 0 once a day and a level 1 b/u every 4 hours being able to dynamically change from/to the two parameter sets is pretty critical. onmonitor is not really condusive running in a wrapper.

Q3: Anyone got an exemplar of expect or other method (e.g. >>EOF) to run a crontab such that I can run my secondary b/u w/o conflict with the applications b/u?

--
-- -- -- --
Venimus, Vidimus, Dolavimus

james...@austin.rr.com
james....@g.austincc.edu
james....@twcable.com
h: 512-657-1279
w: 512-845-8989
http://hackerspaces.org/wiki/Confusion_Research_Center
http://confusionresearchcenter.org
http://arbornet.org::ravage

Adapt, Adopt, Improvise
-- -- -- --

Chris Nystrom

unread,
Feb 12, 2011, 7:57:09 PM2/12/11
to austin-hack...@googlegroups.com, Austin Area Leauge of Pro Sysadmins, Austin: pm.org
Sorry I have never run informix.

Seems like some good info here:

http://oreilly.com/catalog/unixbr/chapter/ch14.html

Chris

> --
> You received this message because you are subscribed to the Google Groups "Austin Hacking Society" group.
> To post to this group, send email to austin-hack...@googlegroups.com.
> To unsubscribe from this group, send email to austin-hacking-so...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/austin-hacking-society?hl=en.
>
>

--
E-Mail: Chris Nystrom <cnys...@newio.org>
Saving the world from web programming.
http://www.newio.org/ - Freenode: #newio

james...@austin.rr.com

unread,
Feb 14, 2011, 11:04:19 AM2/14/11
to austin-hack...@googlegroups.com, Chris Nystrom
Reply all
Reply to author
Forward
0 new messages