backup log files
I am administering a live web server i want to keep a backup of the access log file without disturbing the server performance. can anyone guide me how to to this. the size of teh log file run in GB so i will need to take a daily backup
please advice and help |
I loved performing this one during my Web Admin job sometimes back 1 and half year back
http://www.linuxgeek.net/apache-with-syslog-ng/ |
thanx a lot , i am a newbie so was looking for something simple.
|
Please mark as SOLVED if you have your answer.
Edit: Sorry about that, thought you were saying the link had a simple solution :( |
does anyone have a simple solution to my problem
|
An Example script to backup Apache Server. The same way you can include access.log and error.log too:
Code:
#!/bin/bash Also, have a look at syslog-ng or syslog utlity in Linux. |
solved
thanx a lot
|
ok so now I can say it, marking as SOLVED you use the Thread Tools option ;)
|
All times are GMT -5. The time now is 11:25 PM. |