I know that Ubuntu saves logs and rotates them overwriting older
Is it possible to recover overwritten logs? Perhaps with a specific software.
Once a file is overwritten, it is lost. What you can do is to adapt the logrotation settings to hold more occurence of the logs you are interested to.
For log files generated by the
If you need to keep more archived logs, update the line looking like :
The number after the -c is the number of cycle, so the number of log archived in this case will be 7. (one per day as the script is run daily).