Re: logrotate
On Thu, 04 Mar 2010 15:12:18 +0530, Kaushal Shriyan wrote:
> Hi,
>
> is there a way to scp or rsync the files to a remote host older than
> 15 days in the logrotate config and than delete it on localhost older
> than 15 days, so that at a time only 15 days of logs are available on localhost.
>
> Thanks,
>
> Kaushal
>
>
May be the "prerotate" in logrotate file ???
You're welcome.
--
Laurent Guignard, Registered as user #301590 with the Linux Counter
Site : http://www.famille-guignard.org
Blog : http://blog.famille-guignard.org
Projet : http://sicontact.sourceforge.net
GULL de Villefranche sur Saône : http://www.cagull.org
Reply to:
- References:
- logrotate
- From: Kaushal Shriyan <kaushalshriyan@gmail.com>