Community discussions

Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Sun Jun 29, 2008 12:28 am
Reputation: 0

Backup script

Sat Nov 01, 2008 12:50 pm


I need to create script that will backup my access points every week on the night.
I created simple script, but i need backup to be sent to remote location automaticaly.

How this can be done, i tried something from wiki mikrotik, but nothing happens:

/system script
add name=Fetch source=/tool fetch address= user=admin password=admin123 path="xyz.backup"


Best regards!

I founded that in RouterOS 3.X tool/fetch is introduced, so i have some routerboards that use 2.9.X, can i somehow use ftp to transfer backup files from that routerboards? or some other way? (not over mail server)

I' l do my best, i promise you that!
Frequent Visitor
Frequent Visitor
Posts: 81
Joined: Thu Dec 14, 2006 5:50 pm
Reputation: 0

Re: Backup script

Wed Nov 05, 2008 3:31 pm

/tool fetch mode=ftp port=21 address=x.x.x.x user=ftpuser password=ftpuserpassword src-path="filetodownload.txt" dst-path="downloadedfile.txt"

Change the values as needed.. Runs fine between ros 3.x but it fails with action error (6) when trying to connect to a 2.9.x rb

edit: works from 3.x to 2.9.x too, I had some firewall issue ;)

Who is online

Users browsing this forum: Google [Bot] and 5 guests