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 Discussion » Backup & recovery

Post new topic  Reply to topic
 Backup & recovery « View previous topic :: View next topic » 
Author Message
velocity
PostPosted: Mon Feb 25, 2008 8:05 am    Post subject: Backup & recovery Reply with quote

Centurion

Joined: 30 Nov 2007
Posts: 126

Hi guys,


I was going through the MQ backup-recovery guide and got the following question..

Here is what I understand
There are three ways you can take backups (Media/object backups)

1) By using linear logging.

2) By taking backups using saveqmgr

3) By using rcdmqimg -m QM_NAME -t all *

Did I get it right?? Correct me if I am wrong pls.

Thanks in advance!
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 25, 2008 8:09 am    Post subject: Reply with quote

Grand High Poobah

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

Linear logging is not a backup per se - it just allows the queue manager to roll forward after a failure. The rcdmqimg command is used in conjunction with a linear log to create a new roll-forward image in the logs and free up earlier ones. The saveqmgr app will create a script of the objects within a queue manager, but will not backup the queue contents.

You'd use something like the q program to back those up. Other methods equally valid, etc, etc including of course the linear log rolling forward.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
velocity
PostPosted: Mon Feb 25, 2008 8:19 am    Post subject: Reply with quote

Centurion

Joined: 30 Nov 2007
Posts: 126

Quote:
The rcdmqimg command is used in conjunction with a linear log to create a new roll-forward image in the logs and free up earlier ones.


Now the abvious question is:

1) Implementing the situation above, can I do away with using saveqmgr?? If not what is saveqmgr going to do differently for me?

2) What is the q program?

Regards,
Velovity
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 25, 2008 8:20 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

1) linear logging doesn't provide "backups"
2) MS03 only provides a backup of your MQSC object definitions
3) rcdmqimg doesn't provide "backups". It causes the linear logging to synchronize the log files so that the active set is small.

If you need a backup of your queue manager or your messages then you need to stop the queue manager and take a file system backup.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 25, 2008 8:28 am    Post subject: Reply with quote

Grand High Poobah

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

velocity wrote:
1) Implementing the situation above, can I do away with using saveqmgr?? If not what is saveqmgr going to do differently for me?


It allows you to take an externalised copy of your objects. Redundant if your linear logs can't be corrupted (because they're RAID / mirrored /etc)

velocity wrote:

2) What is the q program?


A support pac that does for the contents of queues what saveqmgr (another support pac) does for the definitions. The Search Button Is Your Friend.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 25, 2008 8:31 am    Post subject: Reply with quote

Grand High Poobah

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

And if you're talking DR then the only thing that works is what jefflowrey has suggested OR a full unload with q & saveqmgr to get the information off-site.

And in that scenario, it's cleaner to do a point-in-time backup of the file system as he says.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
velocity
PostPosted: Mon Feb 25, 2008 8:43 am    Post subject: Reply with quote

Centurion

Joined: 30 Nov 2007
Posts: 126

OH ok...Got it!! Thanks guys for your input on this!!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 25, 2008 8:44 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

For DR, you should be looking at the "backup qmgr" option in v6.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Feb 25, 2008 5:04 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

And think about how useful a point in time full backup of the file system with the QM down is going to be.

1 second after you finish the backup and start the QM new messages arrive in the queues and old ones are removed. If you then go to restore from your backup you introduce duplicate messages and missing messages. So how useful was that?

MQ is not a database.
_________________
Peter Potkay
Keep Calm and MQ On
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 Discussion » Backup & recovery
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.