Please i need a help.
who can help me to fix my problem?
i need to schedule a script to automatic backup my rb750 v5 configuration every day.
the name off my backup change every day. example xyz.2012.12.29.backup for the 29th dec 2012 and xyz.2012.12.230.backup for the 30th dec 2012.
i have schedule a script to automatic backup but i don’t able to schedule a script to fetch it by ftp to my remote server.
my @IP ftp serveur is 192.168.92.10
my @IP 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=1d 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 follow 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