Operating System - HP-UX
1830095 Members
9863 Online
109998 Solutions
New Discussion

Archiving database to disk

 
SOLVED
Go to solution
Donald C Nelson
Frequent Advisor

Archiving database to disk

I have an old HP-UX system which use to archive its Informix database to tapes in which an operator has to load and unload tapes when asked but now we have to archive it to disk. The output is like this:

Performing archive of the entire INFORMIX-OnLine system.

Please mount tape and press Return to continue ...


Does anyone have a script file that can automatically archive Informix to disk and answer the questions automatically.
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: Archiving database to disk

Use the exact same script.

Change the target of the archive, probably a variable exported from tape to a disk file.

Where it says /dev/rmt/0m

change it to a file or directory.

Post he current script, I'd be happy to make revision examples for you if I'm still up when I see it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Donald C Nelson
Frequent Advisor

Re: Archiving database to disk

Stephen, thanks for the reponse. I am trying to use Informix's "tbtape -s" which is a binary script. Is that the one you are talking about?