I have a remote mikrotik box, which i am going to change some config, but i am afraid if it does not work for some reasons, is there any way i can perhaps backup and leave a script command for like 30 mins, if i dont disable it, it should just restore from the latest backup ? i am sure there would be something like this, any idea ? or help on how to achieve this ?
fantastic, thanks a lot it never crossed my mind to do this.
for the script to restore, do i need to do export or would the backup file be ok ? i will do some test in lab first, but this helps a lot for remote configs.
I would do an export. Only ‘problem’ there is that there’s to much info in the created export file (like the hotspot user profile and user manager default customer)
I would keep an up-to-date config file with all the non-default parameters and upload that to the RouterBoard.
That’s than your good/running configuration.
If you’re planning any changes, schedule a reset + run after the scritpt and do you changes.
If all your changes are done, and you still have connection, disable the schedule.
After all is done, upload a new/updated config file for the next time.
Always be sure a backup of the config resides on the router itself. Then you always can go back to that running config very easily.