restore from backup without y/N prompt - possible?

Hi all,

Is it possible to run this script

/system backup load name="current.backup"

without y/N prompt?

Please advise.

Thank you.

It would be better to perform this remotely from another computer via a SSH connection where some more intelligent script can send the command, wait for the Y/N and then reply with the Y for you. But from within a script? No. Not as far as I am aware.

Thanks nest, but I need to run this on the router.

It seems, so would a lot of people. If you find a way to do this it looks very likely that you will be the first to have found it. Why not try exporting the config, then importing and rebooting. It will possibly achieve the same result?

Unfortunately, the import of the configuration script does not restore everything. For example, I am trying to set the speed of only 10 megabits on one of the ports and run the script recovery. The rate has not_changed.

Addon:
if shedule “/system backup load name=…” and DISCONNECT from mikrotik - this will automatically answer yes and reboots, when sheduled task is run.

Answer on topic question = YES