|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
backup mqseries unix filesystems with 'cp' utility |
« View previous topic :: View next topic » |
Author |
Message
|
JAKEZ |
Posted: Tue Sep 07, 2004 4:38 am Post subject: backup mqseries unix filesystems with 'cp' utility |
|
|
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 |
|
 |
vennela |
Posted: Tue Sep 07, 2004 5:32 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
Manikandan |
Posted: Tue Sep 07, 2004 6:31 am Post subject: |
|
|
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 |
|
 |
PGoodhart |
Posted: Tue Sep 07, 2004 7:06 am Post subject: |
|
|
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 |
|
 |
csmith28 |
Posted: Mon Sep 13, 2004 7:33 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|