Auto export when configuration changes

In Cisco, I can automatically backup config using scp or tftp to other location every time I issue “wr me”
How to achieve the same in Mikrotik

CISCO:
archive
path scp://root:eve@10.0.10.70/$h
write-memory

FORTINET:

HP:

JUNIPER:
https://forum.ivorde.com/junos-system-configuration-archival-is-not-working-over-scp-t19351.html

set system archival configuration transfer-on-interval

or

set system archival configuration transfer-on-commit

set system archival configuration archive-sites "scp://ftp@10.0.10.107" password ftp

MIKROTIK:

Could be done.

All changes/add/remove logs do contains the word " by " with space in front and back.
Maybe you could tweak this to work:
https://wiki.mikrotik.com/wiki/Monitor_logs,_send_email_alert_/_run_script

Found a solution
-create a script named “wrme” which contain backup and export then email both backup and export to my email
http://adamonline.web.id/mikrotik/cara-setting-email-di-mikrotik

-run the script manually
/system script run wrme

Link does not work.

Long time didn't check this forum
tq for informing me the link is dead
The script something like this
-create a script named "wrme" which contain backup and export then email both backup and export to my email
-run the script manually
/system script run wrme

/system script
:local hostname [/system identity get name];
:local date [/system clock get date]

convert name of month to number

:local months ("jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec");
:local month [ :pick $date 0 3 ];
:local mm ([ :find $months $month -1 ] + 1);
:if ($mm < 10) do={ :set mm ("0" . $mm); }

set $date to format DDMMYYYY

:set date ([:pick $date 4 6] . $mm . [:pick $date 7 11])
:local filename "$hostname-$date";
/export file="$filename"
/system backup save name="$filename"
:log info "Backup Created Successfully";
:local files {"$filename.backup";"$filename.rsc"};
/tool e-mail set address=[:resolve smtp.gmail.com] from=user@gmail.com password="password" port=587 start-tls=yes user=user@gmail.com
/tool e-mail send to="user@gmail.com" subject="$filename" body="$filename system backup export" file=$files