View Single Post
Posts: 235 | Thanked: 89 times | Joined on Oct 2009 @ italy
#9
Originally Posted by sutaburosu View Post
Being a Gentoo and openrc user I don't know enough about the Debian/Maemo sysvinit boot sequence to answer this.
If keeping historical syslog output is important to you, I would use cron to schedule compressed backups to MyDocs to minimise rootfs space usage.
Do you mean: periodically automatically a script takes syslog files from /var/log, compress and move its to Mydocs?
Great idea!
I suppose this script should be like this:
in crontab:
Code:
0 14 1* * mv /var/log/syslog(.txt? I don't remember) /home/user/Mydocs/syslogsarchive
right?
__________________
If you found my post useful please thank me, I appreciate!