Auto Email Mikrotik Backup
https://wiki.mikrotik.com/wiki/Send_Backup_email
enable "Allow less secure apps" Gmail melalui link berikut
https://myaccount.google.com/security?utm_source=OGB&utm_medium=act&pli=1#connectedapps
Name : backupEmail
Source :
:log info "backup beginning now"
:global date [/system clock get date]
:global d [:pick $date 4 6]
:global m [:pick $date 0 3]
:global y [:pick $date 7 11]
:global backupfile ("Backup-Mikrotik-Kemangi-" . [/system clock get time]."@"."$m-$d-$y" )
/system backup save name=$backupfile
:log info "backup pausing for 10s"
:delay 10s
:log info "backup being emailed"
/tool e-mail send to="email.penerima@gmail.com" subject=([/system identity get name] . \
" Backup") from=MikrotikKemangi file=$backupfile server=74.125.136.109
:delay 30s
/file remove $backupfile
:log info "backup finished"
On Event : backupEmail