I have deleted a logrotation rotaton configuration file by mistake. Is there a way to rollback or do i have just do it from scratch?
Unfortunately, there’s no way to rollback something like that.
If you happen to have a backup of your config file, you could grab it from that.
Otherwise, the simplest way to resolve it would be to just re-create that config entry.
thanks for your help