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 » General IBM MQ Support » MQ backups

Post new topic  Reply to topic
 MQ backups « View previous topic :: View next topic » 
Author Message
mrfridaynight
PostPosted: Wed Nov 29, 2006 3:34 am    Post subject: MQ backups Reply with quote

Apprentice

Joined: 13 Nov 2006
Posts: 44

Hi Guys,

Can anyone tell me what exactly I need to back up on my MQ server (folders, etc) incase it goes belly up.
Example - If I delete queues, channels, etc from my queue manager...How can I restore them.

Thanks
Back to top
View user's profile Send private message MSN Messenger
Vitor
PostPosted: Wed Nov 29, 2006 3:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

There's a Support Pack (MS03) that saves the object definitions as script.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 29, 2006 4:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There's an entire chapter in the Systems Administration guide on restart and recovery.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Chandra Mohan
PostPosted: Wed Nov 29, 2006 4:59 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jul 2006
Posts: 53

You can take a back up from the predefined scripts saveqm and saveaut. they stored the output in a .txt file and whenever u want to restore the objects use # runmqsc qmname < file.txt > output.txt
_________________
Chandra Mohan
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Nov 29, 2006 5:37 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Chandra Mohan wrote:
You can take a back up from the predefined scripts saveqm and saveaut.


These do not ship with WMQ.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Nov 29, 2006 7:52 am    Post subject: Reply with quote

Guest




You will need to backup messages in queues, too. This means that you will need to understand your mq applications. For example: are all messages that are MQPUT to queues immediately consumed by the MQGETting application? Or do messages stay in queues for extended periods of time?

If all messages are immediately consumed, there will be no messages residing in queues. If messages remain in queues for hours or days, they are at risk of being lost if there is a catastrophic media failure. Logs are used to recover from this - if you have log files - that is, they haven't been destroyed by the same media failure.

As with any other system or application, you will need to address several recovery scenarios; from loss of the computer facility, loss of a single server box, loss of a single qmgr, loss of an object (queue), loss of a message.
Back to top
jefflowrey
PostPosted: Wed Nov 29, 2006 8:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

bruce2359 wrote:
If messages remain in queues for hours or days, they are at risk of being lost if there is a catastrophic media failure. Logs are used to recover from this - if you have log files - that is, they haven't been destroyed by the same media failure.


More precisely, if you have linear log files.

But while we are in the process of summarizing the entire chapter in the System Administration Guide - you can't take a consistent back up of the MQ file system while the queue manager is running.

So that means you need to schedule downtime if you want to back up your queue manager.
_________________
I am *not* the model of the modern major general.
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 » General IBM MQ Support » MQ backups
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.