hi
whit this script you can get backup and export from your router and send that to ftp or tftp server.
-------------------------------------------------------------------------------------------------------------------------------
#Auto Save MY_ROUTER Bandwith Router BackUp & Export to External FTP
:local ts [/system clock get time]
:set ts ([:pick $ts 0 2].[:pick $ts 3 5].[:pick $ts 6 8])
:local ds [/system clock get date]
:set ds ([:pick $ds 7 11].[:pick $ds 0 3].[:pick $ds 4 6])
:local F_Export ("/MY_ROUTER-".[/system identity get name]."-".$ds."-".$ts.".rsc")
:local F_Backup ("/MY_ROUTER-".[/system identity get name]."-".$ds."-".$ts.".backup")
/export file=$F_Export
:log info message="Export File's is Create";
:delay 10s;
/system backup save name=$F_Backup
:log info message="Backup File's is Create";
:log info message="System Backup & Export File's Created-Now try to send to MY_ROUTER FTP Server";
/tool fetch address=XX.XX.XX.XX src-path=$F_Export user=xxxx mode=ftp password=xxxx dst-path=$F_Export upload=yes
:delay 60s;
/tool fetch address=XX.XX.XX.XX src-path=$F_Backup user=xxxx mode=ftp password=xxxx dst-path=$F_Backup upload=yes
:delay 60s;
:log info message="Sending Backup & Export File's is Finish";
:delay 5s;
:foreach i in=[/file find] do={:if ([:typeof [:find [/file get $i name] "MY_ROUTER-"]]!="nil") do={/file remove $i}}
:log info message="SystemBackup & Export Fil'e - Removed";