cbaerike / MySQL-Backup-Manager

MySQL Backup Manager is a simple software solution for backing up MySQL Databases automatically. It uses a Windows service for the backup process and has an GUI attached for administrating which databases needs backup
http://martin-rohwedder.github.io/MySQL-Backup-Manager/
27 stars 7 forks source link

Not deleting old backups #22

Open poynter2 opened 7 years ago

poynter2 commented 7 years ago

Hi,

Was running 1.3 before and after first setup, Cleaning up backup files older than 7 days was appearing in the logs. After about a week this stopped and the old files are not getting cleaned out.

Updated to 1.4.4 and ran a manual backup to test and old files still not being removed.

Adjusted number of days and got:

2017-03-20 10:41 - ERROR - Error updating database config file: System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\MySQLBackup\Configuration\Databases.xml' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalDelete(String path, Boolean checkHost) at System.IO.File.Delete(String path) at MySQLBackup.Application.Config.DatabasesXmlHandler.UpdateDatabasesFileVersion()

but it did actually update the xml file.