Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dbexport completion

Status
Not open for further replies.

cobdeng

MIS
Oct 14, 2004
19
GB
Hi

Being fairly new to this area, I have to run a dbexport to tape on our Informix Database
I have been advised to use the command
dbexport comwise -c -t /dev/rmt/1m -b 128 -s 18000000

How can I
- Check the contents of the tape
- Check that the command completes successfully
- Extract individual files from the tape

Many thanks
 
You can check the exit code of dbexport. If it completes normally, it will be zero else an error creates some other number:

dbexport ....
if [[ $? == 0 ]]
then
echo "dbexport worked"
else
echo "dbexport FAILED!"
fi

Short of permforming a dbimport, again, I don't know how you would check the tape. Also, I don't think there's a way of extracting an individual file.

Regards,

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top