If you are wondering where the data of this site comes from, please visit GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

ahindrichs/AutoMySQLBackup 0

A fork and further development of AutoMySQLBackup from sourceforge.

issue commentsixhop/AutoMySQLBackup

Daily rotation not working

We have the same behaviour, with the setting "CONFIG_rotation_daily=1", which keeps three backup files. Due to the size of the backup, we only want to save the last backup.

A solution can be to change mtime to mmin, like:


to: find "${CONFIG_backup_dir}/${subfolder}${subsubfolder}" -mmin +"$((6024$rotation))" -type f -exec echo "dry-running: rm" {} ; else find "${CONFIG_backup_dir}/${subfolder}${subsubfolder}" -mmin +"$((6024$rotation))" -type f -exec rm {} ;

The behaviour should be compatible as far as it goes. If you want, I could create a pull request.


comment created time in a month