I've read how to, and successfully created and export
of my configuration. The documentation says the exports can be downloaded via FTP, but provide no details.
Anybody know how to download an export?
I've read how to, and successfully created and export
of my configuration. The documentation says the exports can be downloaded via FTP, but provide no details.
Anybody know how to download an export?
Since the '/export' command dumps the configuration to stdout, I do always backup my mikrotiks vía ssh this way:
First off, the use of FTP is NOT recommended as your password is sent in cleartext, and anyone looking at your traffic can sniff it.
IF you want to use FTP, make sure it is enabled under
IP > Services
. Then go to your terminal, and export the file using the commandexport file=myname
. The file will then be under theFile
menu asmyname.rsc
.You then browse to your router's external IP address in a browser, or just in Windows Explorer, using
ftp://XXX.XXX.XXX.XXX
and log in. You will be able to Right click on the file andSave As
to your computer.A small addition:
You can actually use SFTP in case you are using ssh-keys to access the System. See the MikroTik wiki: https://wiki.mikrotik.com/wiki/Using_SSH_for_system_backup
Would be something like that (if you have a ssh-agent that handles the key):
sftp myuser@mymtik:todays_mtik.backup ./local_backup_dir/todays_mtik.backup
Or use the arguments
-i
or-oIdentityFile=
to specify the ssh key you are using to connect:sftp -i ~/.ssh/my-ssh-key myuser@mymtik:todays_mtik.backup ./local_backup_dir/todays_mtik.backup