• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

log rotation naming and incremental backups

F

francescortiz

Guest
Hi,

I do incremental backups of a server. Everything is smooth except for log rotation, because everyday all log rotation files get renamed (1 becomes 2, 2 becomes 3, etc), so they are downloaded again and again, though they are old files.

What would be good is to have log rotation naming set to something like [YEAR][MONTH][DAY]. This way, old logs wouldn't be redownloaded day after day and I could store almost a year of incremental backups instead of just 2 months in 1 TB, and it would be easier to find the logs for a concrete date/period.

Is there a way to set the naming of logrotation processed logs to achieve what I look for?

Thank you
 
The problem is that the "dateext" option is not shipped with plesk logrotation binary.

Is it safe to symlink default server logrotate binary (that comes with dateext support) to the one provided with plesk 10 to have plesk use the server logrotation version?
 
Back
Top