24 Aug 04 13:04
I'm sure this is dated, but here is how you dump the entire IQ. Did either of you have any luck with the e*Gate API? I'm currently having issues with it. Any help would be appreciated.
How to dump and reload an IQ.
**Note to use the –backup function with stcmsctrlutil you must have journaling on the iqmgr.
stcmsctrlutil -backup <archive.zip> <"date"> -port <iqmgr port number> -host <registry host>
stcmsctrlutil -backup C:\IQBackup\GenericIqmgr.zip "04/14/2004" -port 24054 –host prw2kt12
This will create a zip file with 2 files inside it.
One *.dbs and one *.ndx file.
Viewing what you dumped:
To see a list of topics that were dumped:
C:\>stcmsctrlutil -ar C:\IQtest\backup -port 24054 -host mhanna -tl
Number Of Topic(s): 1
To see information about the topic that you dumped:
C:\>stcmsctrlutil -ar C:\IQtest\backup -port 24054 -host mhanna -ts GenericInJa
Topic Name: GenericInJava
First sequence number: 0
Last sequence number: 1383
First enqueue time: 04142004:17:11:19
Last enqueue time: 04142004:17:02:36
Number of current subscribers: 0
Number of total subscribers: 0
Message count: 1384
Lowest subscriber sequence: 0
Highest subscriber sequence: 0
To Reload what you dumped:
Stcmsctrlutil –ar <location of archive> -port <port> -host <registry host> -tim <topic name> <starting sequence number> <number of messages to import>
stcmsctrlutil -ar C:\IQtest\backup -port 24054 –host mhanna -tmi GenericInJava 0 25
Last imported sequence number = 11
Last imported sequence number = 20
Last imported sequence number = 25