S
S
Sergey2018-01-04 12:52:25
System administration
Sergey, 2018-01-04 12:52:25

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

4 answer(s)
K
Konstantin Tolmachev, 2018-01-04
@dark_tke

The easiest way that you did not describe is to work via ssh.
And then do what you want with this data.

D
Dmitry Tallmange, 2018-01-04
@p00h

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.

G
Gregory, 2018-01-04
@Maxlinus

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/

M
Mystray, 2018-01-05
@Mystray

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 question

Ask a Question

731 491 924 answers to any question