ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » How to take backup of queue data of a Queue Manager

Post new topic  Reply to topic
 How to take backup of queue data of a Queue Manager « View previous topic :: View next topic » 
Can we take backup of queue data of a Queue Manager
We can take backup of a queue data
100%
 100%  [ 1 ]
we cannot take backup of a queue data
0%
 0%  [ 0 ]
NO Answer
0%
 0%  [ 0 ]
Total Votes : 1
Author Message
girishk
PostPosted: Tue Oct 20, 2015 1:30 pm    Post subject: How to take backup of queue data of a Queue Manager Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Tue Oct 20, 2015 2:40 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
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
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 20, 2015 8:25 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Tue Oct 20, 2015 10:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 21, 2015 6:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Thu Oct 22, 2015 6:49 pm    Post subject: Re: How to take backup of queue data of a Queue Manager Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2492
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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » How to take backup of queue data of a Queue Manager
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.