who can help me? i need to schedule a script to automatic ftp a backup file,
my backup name change every day, first day backup name= abc.2012.12.28.backup, second day backup name=abc.2012.12.29.backup,
i need to schedule a script to automatic ftp file from mikrotik to my remote server
my ftp serveur is 192.168.92.10
my mikrotik is 192.168.92.6
i able to ping each other , also i able to scheduler a script to automatic backup my mikrotik config
my problem is now to ftp this backup, i had try unfortunelly many can of solution , but nothing go well
script to automatic backup/
/system scheduler
add disabled=no interval=10s name=ConfigBackup on-event=“/system backup save name=-; /export file=([/system identity get name] . "-" . [:pick [/system clock get date] 4 6] . [:pick [/sys clock get date] 0 3] . "." . [:pick [/system clock get date] 7 11]);” policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive start-date=dec/26/2012 start-time=15:00:00
i try to do this script but it don’t work , but it work when i copy the file name a plaste a the src-path, so that isn’t good for me because
the name of my backup script isn’t static
/tool
fetch address=192.168.92.10 mode=ftp upload=yes user=jeff password=test port=14147 src-path=??? dst-path=/
how to get a file in /file
i also try this src-path= [/file get name] but nothing
thanks for help me PLEASE