Veritas-bu

Re: [Veritas-bu] Recycle Backup Logs

2007-08-01 18:59:08
Subject: Re: [Veritas-bu] Recycle Backup Logs
From: "Matthew Johnson" <mjohnson AT entertainmentpartners DOT com>
To: <VERITAS-BU AT mailman.eng.auburn DOT edu>
Date: Wed, 1 Aug 2007 15:44:01 -0700

This is what I have running in cron to keep my logs clean

 

30 16 * * * find /usr/openv/netbackup/logs/*/log* -mtime +14 -exec rm {} \; > /dev/null 2>&1

31 16 * * * find /netbackup/volmrg/openv/java/logs/*log -mtime +14 -exec rm {} \; > /dev/null 2>&1

32 16 * * * find /netbackup/volmrg/openv/netbackup/db/error/log* -mtime +14 -exec rm {} \; > /dev/null 2>&1

35 16 * * * find /usr/openv/netbackup/logs/*/log* -mtime +7 -exec gzip {} \; > /dev/null 2>&1

40 16 * * * find /usr/openv/netbackup/logs/bpdbm/log* -mtime +2 -exec gzip {} \; > /dev/null 2>&1

45 16 * * * find /usr/openv/netbackup/logs/bpbkar/log* -mtime +2 -exec gzip {} \; > /dev/null 2>&1

50 16 * * * find /usr/openv/netbackup/logs/bpsched/log* -mtime +2 -exec gzip {} \; > /dev/null 2>&1

51 16 * * * find /usr/openv/netbackup/logs/bprd/log* -mtime +2 -exec gzip {} \;> /dev/null 2>&1

53 16 * * * find /usr/openv/netbackup/logs/bpbrm/log* -mtime +2 -exec gzip {} \; > /dev/null 2>&1

56 16 * * * find /usr/openv/netbackup/logs/bpcd/log* -mtime +2 -exec gzip {} \;> /dev/null 2>&1

57 16 * * * find /netbackup/volmrg/openv/java/logs/*log -mtime +2 -exec gzip {} \;> /dev/null 2>&1

58 16 * * * find /netbackup/volmrg/openv/netbackup/db/error/log* -mtime +2 -exec gzip {} \;> /dev/null 2>&1

 

 

-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of dgrabs03
Sent: Wednesday, August 01, 2007 1:24 AM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Recycle Backup Logs

 

 

Hi, logs on my Netbackup is growing rapidly on the following

 

/usr/openv/netbackup/logs/bpbrm and

/usr/openv/netbackup/logs/bptm

 

I notice also 3 logs with the same date is active. It is supposed to be 1 active log per day and 1 active, right?

 

1. How do I recycle these logs to avoid a filesystem full issue?

2. How do I correct that 1 active log and not 3 logs?

 

My environment is NBU 5.1 with MP5 running on Solaris 9

 

You suggestions will be highly appreciated

 

+----------------------------------------------------------------------

|This was sent by dgrabs03 AT gmail DOT com via Backup Central.

|Forward SPAM to abuse AT backupcentral DOT com.

+----------------------------------------------------------------------

 

 

_______________________________________________

Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu

http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>