Fixed problem of double daily backup and now it keeps only the last N backups