Best way to back up LARGE log files?
Hi there,
What is the best way to automate log file backup, before the access_log file becomes too large? For one client in particular, I need to zip up a very LARGE log file and then reset the access_log file to start fresh. Is there a way to do this through the command line? Or do I need to zip up the large file and then upload an empty access_log raw file? Sorry if this is a dumb question - I'm still learning! Thanks! |
The smartest way would be to configure apache to use
the syslog facility and then have log-rotate take care of the compressing/backing up. Cheers, Tink |
Thanks!
Could you recommend a good how-to article on this? I want to make sure I use the proper syntax. I looked at some web articles on Syslog and found them pretty non-intuitive. |
hehehe...... large log
sorry - couldn't help myself |
Quote:
the pub? |
hi
#man logrotate #man logrotate.conf will hep u out with some examples regards gaurav |
All times are GMT -5. The time now is 11:12 PM. |