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 mqseries unix filesystems with 'cp' utility

Post new topic  Reply to topic
 backup mqseries unix filesystems with 'cp' utility « View previous topic :: View next topic » 
Author Message
JAKEZ
PostPosted: Tue Sep 07, 2004 4:38 am    Post subject: backup mqseries unix filesystems with 'cp' utility Reply with quote

Apprentice

Joined: 03 Oct 2002
Posts: 32

Hi,

this question to mqs expert people having already done backup (and restaur) of the FS mqs (/var/mqm, /opt/mqm) just before we are going to do save mqs before upgrade to 5.3:

- i have been said that the best way to save (then to restaur) this filesystems is to use the copy (cp) utility with the ' -rp' options
(cp -rp /var/mqm /MQS-SAVE/var_mqm) to be able to copy:

+ the dty and all its files including any subdirectories
+ to preserve the owner & group IDs, permissions modes, modif & access time

is that right?
some other consideration?

thanks for help


Last edited by JAKEZ on Thu Sep 09, 2004 8:04 am; edited 1 time in total
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Sep 07, 2004 5:32 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You can tar them up also
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Manikandan
PostPosted: Tue Sep 07, 2004 6:31 am    Post subject: Reply with quote

Voyager

Joined: 07 Jul 2004
Posts: 78

can we take a backup when the Qmgr is up and running?


The safest way I use is to shutdown the Qmgr and use any OS backup ulility to save the configuration.

cp,tar,cpio anything,doesn't matter!!
Back to top
View user's profile Send private message
PGoodhart
PostPosted: Tue Sep 07, 2004 7:06 am    Post subject: Reply with quote

Master

Joined: 17 Jun 2004
Posts: 278
Location: Harrisburg PA

You can NOT take a backup against a running queue manager.
(The required logs are in a constant state of possible flux/change.)
_________________
Patrick Goodhart
MQ Admin/Web Developer/Consultant
WebSphere Application Server Admin
Back to top
View user's profile Send private message
csmith28
PostPosted: Mon Sep 13, 2004 7:33 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

unless I am mistaken you could always use the saveqmgr script to create a backup buildfile of the Objects in the existing MQManager (even when the MQManager is running).

/usr/mqm/BIN/saveqmgr -m QMGrName -f filename

Then upgrade and use that file to populate the MQManager:

runmqsc MQMgrName < filename > filename.out

Or if you feel it is absolutely necessary you can back up the /var/mqm filesystem/directory with the following command:

tar cvf /whereever/youwant/tosaveit/MQ-SAVE.tar /var/mqm

but I guess if you want you can stop the MQManager/s and use

cp -rp /var/mqm /whereever/youwant/tosaveit/MQ-SAVE

as long as there is plenty of space in FileSystem you plan to place the MQ-SAVE file has plenty of space.

But all in all I am thinking you may be over or under thinking about this on a technical level.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
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 » backup mqseries unix filesystems with 'cp' utility
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.