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 » backup script

Post new topic  Reply to topic
 backup script « View previous topic :: View next topic » 
Author Message
rajaram
PostPosted: Mon Feb 28, 2005 8:30 am    Post subject: backup script Reply with quote

Acolyte

Joined: 02 Jan 2004
Posts: 53

Hi ,

I wanted to write a unix script for taking a backup of mq. I am planning to executing the script in this order

1. Stop all channels
2. Perform rcdmqimg
3. shutdown queue manager
4. End listener
5. backup MQM folder on tape
6. Restart queue manager
7. Restart listeners
8. Restart the channels

Now, when I restart the listeners after starting the queue managers, i have a problem as i dont get the control. Should i run these as a background processes?

i.e. for each QMNAME
runmqlsr -m QMNAME -t TCP &


Please tell if it is correct way of doing this

Many Thanks
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Mon Feb 28, 2005 9:06 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Code:
nohup runmqlsr -m QMname -t TCP &


should do the trick
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
fjb_saper
PostPosted: Mon Feb 28, 2005 11:29 am    Post subject: Re: backup script Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

rajaram wrote:
Hi ,

I wanted to write a unix script for taking a backup of mq. I am planning to executing the script in this order

1. Stop all channels
2. Perform rcdmqimg
3. shutdown queue manager
4. End listener
5. backup MQM folder on tape
6. Restart queue manager
7. Restart listeners
8. Restart the channels

Now, when I restart the listeners after starting the queue managers, i have a problem as i dont get the control. Should i run these as a background processes?

i.e. for each QMNAME
runmqlsr -m QMNAME -t TCP &


Please tell if it is correct way of doing this

Many Thanks
You should not forget :

Step 0 Shutdown of all applications using the qmgr in bindings mode (especially MDB's under WAS)

Otherwise you cannot guarantee the integrity of your off line backup.

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » backup script
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.