Tag Archives: logrotate

Rotate MySQL Backups With Logrotate

Rotate MySQL Backups With Logrotate | logrotate can be used to rotate and auto-purge any file, including mysql backups. This very server (scottlinux.com) backs up a mysql dump daily, keeping the previous 8 with this method. I’ll show you how: 1. Create the following file, editing as desired. This example backs up all mysql databases in one dump. Of course you