Make sure you have setup your email settings (not documented here)
- In Winbox, open Systems -> Scripts
- Create a new script and call it "automated-backup"
- Copy & Paste
automated-backup.rsc
from the repo into the script section - Change the top 2 lines (emailAddress and backupPassword)
- "Apply" to save
- "Run Script" to test
- Open System -> Scheduler
- Create a new schedule and name it "automated-backups" and enter the on-event of
/system script run automated-backup;
- Set when to fire '1d' for every day.
- Apply to save.
or run
/system scheduler
add comment="automated-backups" disabled=no interval=1d name="automated-backups" \
on-event="/system script run automated-backup;" start-date=jan/01/1970 start-time=00:00:00