On binlog rotation, run a SP asynchronously (for example to run a shell command to copy/compress the binary logs) Provide sufficient environmental data to the SP (binlog names old and new, binlog position for old and new log, etc).
Observers changed: Sergei
The following hours remaining is a pure guess; It can easily be 50 % off.