I have backup script that creates backup each morning. It also tries to send it to me via email for backup purposes. As mail sending is not that reliable, I leave backup files on Mikrotik. That worked fine while I used hard disks. Now, when I switched to RouterBoards, available memory is quite small, and gets filled up in quite short time.
When memory is full, Mikrotik fails as it seems to be trying to save current configuration from tiem to time. That means, if disk is full, configuration cannot be saved, and first restart of router makes it unusable.
What i need is script that deletes older backup biles (for isntance 3 days old), so I can keep reasonable number of backups and keep disk space free. I tried to do it myself, but got nowhere.
Any help will be appreciated.