Can we take backup of queue data of a Queue Manager |
We can take backup of a queue data |
|
100% |
[ 1 ] |
we cannot take backup of a queue data |
|
0% |
[ 0 ] |
NO Answer |
|
0% |
[ 0 ] |
|
Total Votes : 1 |
|
Author |
Message
|
girishk |
Posted: Tue Oct 20, 2015 1:30 pm Post subject: How to take backup of queue data of a Queue Manager |
|
|
Newbie
Joined: 14 Oct 2015 Posts: 2
|
Hello All,
I have tried in many ways for taking the queue data of a queue manager. But i can take only Queue manager objects but not queue data.
So guys, Anyone can help in this issue how can we take backup of queue data of a queue manager ??
Thanks in advance. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Oct 20, 2015 2:40 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Why can't you back up qmgr data? Please be precise.
What have you tried? What were the results? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Oct 20, 2015 8:25 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
It is really simple. But it has to happen OFF LINE! If the queue manager is running there is no snapshot because the snapshot would be unreliable...
That means that only persistent messages will be part of the snapshot.
Anything else will be gone...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Oct 20, 2015 10:02 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
fjb_saper wrote: |
It is really simple. But it has to happen OFF LINE! If the queue manager is running there is no snapshot because the snapshot would be unreliable...
That means that only persistent messages will be part of the snapshot.
Anything else will be gone...  |
Even non-persistent ones with that NPM setting?
I'd like to see the business case for this. It is easy to create duplicates of MQ Messages and many of the people who frequent this place have their own data backup solutions that fit their business case already in place.
Sometimes, it simply does not matter if the message data is backed up. Other times it does.
From posts here I get the feeling that some people are using record/replay as a backup mechanism.
Then we have to consider the compatition. MSMQ? Are you having a laugh...
What about the various JMS providers? Do any of them provide a data backup solution?
Oh but we should not be using queues as data stores....
MQ (And other Message Queueing Systems) handle data that is basically moving from A-to-B,C,D (etc). How do you define a backup point with all this message passing that is merely a snapshot and is not really a reliable backup (viz a restore point with incrementals) _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Oct 21, 2015 6:07 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
smdavies99 wrote: |
fjb_saper wrote: |
It is really simple. But it has to happen OFF LINE! If the queue manager is running there is no snapshot because the snapshot would be unreliable...
That means that only persistent messages will be part of the snapshot.
Anything else will be gone...  |
Even non-persistent ones with that NPM setting?
|
I've been told that even with that NPM setting, there is no way to have them be reliably present after qmgr restart, if they are not persistent...
And they are potentially discarded in the channel if you have a typo in the destination...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu Oct 22, 2015 6:49 pm Post subject: Re: How to take backup of queue data of a Queue Manager |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
girishk wrote: |
So guys, Anyone can help in this issue how can we take backup of queue data of a queue manager ??
Thanks in advance. |
1) Shut down the queue manager. 2) Backup the qmgr's data and logs directories. 3) Restart the queue manager.
Most MQ shops cannot afford the luxury of an outage to do this.
You could use q, qload or various other 3rd party utilities to browse all the queues of interest and save them to disk files while the qmgr is running. However, this is a point in time backup that will probably not be relevant if its used the reload a queue in a DR scenario. Running the same browse / save a second later may result in a large volume of completely different message data being saved.
Browse / save can actually be dangerous. It may result in duplicate data in apps that might not be reconcilable. In a real DR, MQ is usually recovered and handed over with all app data queues in an empty state. It is then the responsibility of the applications to resend, reprocess and reconcile their MQ messaging interfaces. _________________ Glenn |
|
Back to top |
|
 |
|