2

I am trying to solve some case on MikroTikOS 5.56. The only thing I need is force MikroTik to automated restore configuration and reset after it. I need a script to handle this:

Automatically restore configuration or backup file without any user interaction. On my mind is script like:

/system backup load name=xx
or
/system reset-configuration run-after-reset=xx

These scripts are always asking for confirmation from user/terminal. I need them to work automatically and cannot solve this...

Thank you for every idea/advice.

user3212139
  • 51
  • 1
  • 5

1 Answers1

3

I've solved it, maybe with a little hack.

Just use SSH/whatever to device itself and run what do you need.For me, it was like:

/system ssh 192.168.xxx.xxx "/system backup load name=x"
/system ssh 1921.68.xxx.xxx "/y"

It doing what I need - I will tune it up, but this way I have solved my problem.

user3212139
  • 51
  • 1
  • 5