LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   archiving the logs (https://www.linuxquestions.org/questions/linux-software-2/archiving-the-logs-120301/)

ANU 11-26-2003 07:33 PM

archiving the logs
 
with what or how can i archive the log files in /var/log/ ... maillog syslog ...
i want to archive only those that are to large :> so i need a script or duno something like newsyslog ... the archive must be in .tar.gz format or .tgz and also i must set the path where it should put the archive somewhere in duno /home/backup or something :>
pls help me out ppl

Azmeen 11-26-2003 07:42 PM

Try doing man logrotate ... I'd love to explain everything in detail, but I really don't use logrotate that much. Sorry :(

Please don't take this as a RTFM answer.


All times are GMT -5. The time now is 03:09 AM.