We have custom (edited) hotspot login-servlet html pages, and we are happy with them. Edit them from time to time, we want to have automatic backups of them. It seems that standard /system backup function doesnt include them - i tried to restore on blank filesystem, and these files were not appear.
So this is the question: is there any way to backup these files, besides copying all the tree via FTP?
PS: If the recursive FTP retrieval is the only way - could any one suggest me a proper ftp client for MS Windows with batch mode support?
You could use any FTP client (including the one built-in to windows)
No, i cant. Hotspot servlet page consists of several pages, with overall folder depth = 2. So i need FTP-client with recursive retrieval support (passive mode also), which works well with mikrotik’s FTP server. Built-in windows client does not support recursive fetch, and it doesn’t even support passive FTP in batch mode! We tried NcFTP client, but it has serious problems with listing, so last version goes into infinite loop on recursion, and previous versions can go only on 1 level deep into folder tree on mikrotik FTP server. NcFTP client works well on recursion with ProFTPd, so it is only mikrotik problem i suppose.
Please, suggest some FTP-client:
0) which run on MS Windows (2008 Server)
with Passive FTP support in batch mode
with recursive retrieval support
PS: Since ssh service in 5.0beta doesnt work with keys, we cant use it (to copy files also).
I don’t understand why the router would be the definitive repository, and you need to back up the files from the router. You don’t edit the files on the router, you edit them on a computer and then upload them to the router - so you already have a copy of the files on that computer. The definitive repository of the Hotspot files should reside on a file server that is regularly backed up, and those backups shouldn’t originate on the router.
We use Mercurial for configuration revision control on our regular unix servers. It was preferred because some personel doesnt take responsibility for their modifications of configs, so we have to know who made what. Export from mikrotiks dumped to regular files on Unix-server every 30 minutes, so we know when someone tunes something. For hotspot login-servlet pages we cant do the same. Do we have to make additional CVS (Subversion/etc) repository for this? it is a rhetorical question.