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 » About taking a backup of log files and and deleting old ones

Post new topic  Reply to topic
 About taking a backup of log files and and deleting old ones « View previous topic :: View next topic » 
Author Message
Victors
PostPosted: Tue Jan 23, 2007 3:37 pm    Post subject: About taking a backup of log files and and deleting old ones Reply with quote

Newbie

Joined: 28 Sep 2005
Posts: 9

Hi,

Some please help me to write a script to take a backup and delete old log files.

Thanks for any help
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jan 23, 2007 3:40 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There are two or three perfectly useable ones available as Support Packs.

And they only apply if you're using linear logging - are you?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Victors
PostPosted: Wed Jan 24, 2007 5:16 am    Post subject: backup for Queue manager Reply with quote

Newbie

Joined: 28 Sep 2005
Posts: 9

Can anyone please help to discribe the whole procedure starting from begining stopping broker, stopping qmgrs compressing linear logs and then taking backups and then restarting it on crontab. even to put them on the server to run at mid night. If you provide some scripts to do that . will greatly appericiate it.Thanks for any help. you reach me at victor_kumar74@yahoo.com

jefflowrey wrote:
There are two or three perfectly useable ones available as Support Packs.

And they only apply if you're using linear logging - are you?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 24, 2007 5:34 am    Post subject: Re: backup for Queue manager Reply with quote

Grand High Poobah

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

Victors wrote:
Can anyone please help to discribe the whole procedure starting from begining stopping broker, stopping qmgrs compressing linear logs and then taking backups and then restarting it on crontab. even to put them on the server to run at mid night. If you provide some scripts to do that . will greatly appericiate it.Thanks for any help. you reach me at victor_kumar74@yahoo.com


Too proud to download support packs? Too lazy to read them? Or too mean to pay for the consultancy?

Presumably you're being paid to produce these scripts. Certainly I charge to produce them, including describing the procedure through training. I for one am disinclined to provide free consultancy through this forum and think it's poor form to ask for it.

If, having read the support packs (which as jefflowrey points out contain perfectly good sample scripts) you have specific issues then please do post your questions and I'll be the first to try and assist.

I'll be the last to spoon feed you a complete solution. Except for the relevant daily rate....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Victors
PostPosted: Wed Jan 24, 2007 5:43 am    Post subject: Reply with quote

Newbie

Joined: 28 Sep 2005
Posts: 9

jefflowrey wrote:
There are two or three perfectly useable ones available as Support Packs.

And they only apply if you're using linear logging - are you?


Thanks for the help. If you could help me for writing script or helping for the procedure to setup. I don't need free consultancy.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 24, 2007 5:48 am    Post subject: Reply with quote

Grand High Poobah

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

Victors wrote:
If you could help me for writing script or helping for the procedure to setup. I don't need free consultancy.


I (and my bank manager) are delighted to hear that. The support packs will provide all the script and procedure you need.

Assuming (as has been pointed out before) you're using linear logging.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Victors
PostPosted: Wed Jan 24, 2007 6:04 am    Post subject: support pack Reply with quote

Newbie

Joined: 28 Sep 2005
Posts: 9

If any one could give which support packs to used for this linear backups. Thanks

Vitor wrote:
Victors wrote:
If you could help me for writing script or helping for the procedure to setup. I don't need free consultancy.


I (and my bank manager) are delighted to hear that. The support packs will provide all the script and procedure you need.

Assuming (as has been pointed out before) you're using linear logging.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 24, 2007 6:09 am    Post subject: Re: support pack Reply with quote

Grand High Poobah

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

Victors wrote:
If any one could give which support packs to used for this linear backups. Thanks


Mr Google recomends MS62 - Linear Log Clean Up Script.

Certainly a good place to start
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Victors
PostPosted: Wed Jan 24, 2007 6:18 am    Post subject: Re: support pack Reply with quote

Newbie

Joined: 28 Sep 2005
Posts: 9

Thanks Mr. Google and thanks everyone.

Vitor wrote:
Victors wrote:
If any one could give which support packs to used for this linear backups. Thanks


Mr Google recomends MS62 - Linear Log Clean Up Script.

Certainly a good place to start
Back to top
View user's profile Send private message
Victors
PostPosted: Wed Jan 24, 2007 4:25 pm    Post subject: Re: support pack Reply with quote

Newbie

Joined: 28 Sep 2005
Posts: 9

Any one please help to do backup in an automated procedure using corntab.
Thanks


Victors wrote:
Thanks Mr. Google and thanks everyone.

Vitor wrote:
Victors wrote:
If any one could give which support packs to used for this linear backups. Thanks


Mr Google recomends MS62 - Linear Log Clean Up Script.

Certainly a good place to start
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 24, 2007 5:06 pm    Post subject: Reply with quote

Grand High Poobah

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

And if you are partial to java, you should certainly try MS0L. I use it and it works wonders, every hour.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Jan 24, 2007 6:27 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

man crontab
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 25, 2007 12:06 am    Post subject: Re: support pack Reply with quote

Grand High Poobah

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

Victors wrote:
Any one please help to do backup in an automated procedure using corntab.


You might have more luck posting in a Unix forum - it's not a specific MQ thing, just script scheduling.

Again jefflowrey provides a good starting point for your researches.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » About taking a backup of log files and and deleting old ones
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.