I have RouterOs 4.5 on intel PC. how can I send system backup file automatically once a day at midnight to a hotmail email ( or gmail if hotmail is not possible)?
Could you show using Winbox and what field I need to change?
I have RouterOs 4.5 on intel PC. how can I send system backup file automatically once a day at midnight to a hotmail email ( or gmail if hotmail is not possible)?
Could you show using Winbox and what field I need to change?
http://wiki.mikrotik.com/wiki/Scripting-examples#Generate_backup_and_send_it_by_e-mail
In Winbox, use System/Scripts to enter the script, System/Scheduler to schedule it to run and Tools/Email to set up SMTP.
I know that I can follow this
http://wiki.mikrotik.com/wiki/Send_Backup_email
but I don’t know how to set set the outgoing email SMTP server.
Enter the IP address of the server you want to send through, enter the email address to send from in the From part, and supply and username and password to log into the server.
what is the server IP for hotmail?If I want to send the backup to namo@hotmail.com, should I fill as fallowing:
server IP:??? (hotmail server IP which I don’t know yet)
email:namo@mikrotik.com ( fake email or should I fill namo@hotmail.com too)
username:namo@hotmail.com
password:…
Or gmail email.
Also if I use the script:
:log info "backup beginning now"
:global backupfile ([/system identity get name] . "-" . [/system clock get time])
/system backup save name=$backupfile
:log info "backup pausing for 10s"
:delay 10s
:log info "backup being emailed"
/tool e-mail send to="USERNAME@gmail.com" subject=([/system identity get name] . \
" Backup") from=ROUTER@MAIDOMAIN.com file=$backupfile server=1.3.3.7
:log info "backup finished"
do I fill the same info as in tool email
after searching , I did successfully for gmail
server IP: 74.125.91.109
Port: 587
email:namo@gmail.com
username:namo@gmail.com
password:…
I had error in the port for gmail before but now it is working