Hi,
Anyone here knows if it is possible to make scripts ore in any other way, make one mikrotik router control a second mikrotik router? Im sorry if this is a obious question, but I havnt been able to find anything on this.
The reason I ask, is that I have upgraded my old RB751G to an RB2011UAS-2HnD witch im really happy about. But I cant seam to make the USB 3G modems work on the RB2011UAS-2HnD. On the RB751G they work fine. I use it mostly for sms alarms and remote reboot in rare cases.
I could just keep the usb modem and sms scrips running on the old router if I could somehow make it interact with the new.
Kind Regards
Frank, Denmark
Thanks alot Skot, thats awesome 
I never looked into .auto.rsc scripts or even ftp on mikrotik, but it seam to be working more than great.
I started from scratch just to keep it simple for testing.
On the old router where the gsm modem works, I made a file called email-router-backup.txt’ with the following content:
/system backup save name=RB2011UAS-2HnD; /delay delay-time=60s; /tool e-mail send to=“blabla@gmail.com” subject=([/system identity get name] . “backup”) file=RB2011UAS-2HnD.backup
(the smtp is already setup on the primary router, so thats all I need to write here)
Then I tested uploading it to the primary router:
/tool fetch mode=ftp upload=yes address=192.168.12.254 port=50021 user=userblabla password=blabla ascii=yes src-path=email-router-backup.txt dst-path=wan-router.emailbackup.auto.rsc
status: finished
Great! and im quite positive surprised how fast the ftp responce is on mikrotik compared to most normal ftps.. this take like 10th of a second.
The primary router runs the ‘wan-router.emailbackup.auto.rsc’ like instantly, I can see when it updates the file time on the file in the webadmin files section each time I run the command.
Then I put it into a script:
/system script add name=sms-backup source={/tool fetch mode=ftp upload=yes address=192.168.12.254 port=50021 user=userblabla password=blabla ascii=yes src-path=email-router-backup.txt dst-path=wan-router.emailbackup.auto.rsc}
Remember to set ‘/tool sms set receive-enabled=yes’ before being able to receive sms commands. A good idea is to set ‘secret’ and ‘allowed-number’ for security reasons.
Then send a sms from your phone like:
:cmd secret script sms-backup
All works great.. I know this is only really basics, but I learned long time ago that starting with the basics saves time and troubleshooting time.
Now I can move to using ssh, and then use more advanced scripts.
Thanks again,
/Frank