Answer the question
In order to leave comments, you need to log in
Any suggestions for a more sophisticated Mikrotik configuration backup?
The Internet is full of recommendations on how to backup to FTP and via mail. Well, I don't like these methods for a variety of reasons. Who has in mind a way to assemble a config from many microts and pack it into a single archive? With a higher security level than the above methods
Answer the question
In order to leave comments, you need to log in
The easiest way that you did not describe is to work via ssh.
And then do what you want with this data.
Control script that queues tasks on celery. Workers take the address, login and private key, go to Mikrotik, make a full backup, download to the specified (own) host, write information about the backup to the database. If necessary, in one click, you can force the system to roll a backup to any specified tick. A network of 126 ticks of various configurations.
how do you want to store the backup? there are plenty of backup variations
https://habrahabr.ru/post/342060/
https://habrahabr.ru/post/345820/
https://habrahabr.ru/post/143320/
Good old RANCID - goes to devices according to the list, executes some commands there, does something with the output of these commands, saves the processed output somewhere, in cvs for example, and also sends diffs to the mail if necessary.
Almost the same, but with slides and smoothies: oxidized (fashionable ruby instead of old perl, built-in git, web gui).
bash+ssh+scp - to taste, written in a few hours.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question