Community discussions

MikroTik App
 
User avatar
spacekcz
just joined
Topic Author
Posts: 5
Joined: Thu Feb 04, 2016 10:33 pm
Contact:

RouterOS backup, any tester here ?

Sun Feb 14, 2016 11:52 pm

Hello,

Is there anyone who can test https://github.com/heximcz/routerboard-backup
I will be glad for any suggestions here or via github issues.

HeximCZ
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: RouterOS backup, any tester here ?

Mon Feb 15, 2016 2:43 am

I'm lazy and happy enough with what I use now, so I did not test your solution (sorry ;)), but I have one feature idea for you. Going by the description, it doesn't seem like you have it.

In my own solution (simple php script hacked together long time ago, nothing really interesting, no automation whatsoever, etc..) I store configs (.rsc) in SVN repository (today I'd probably use Git). Compared to simple files on disk it's much easier to find what and when changed. It also allows to have unlimited history (even though several years old configs aren't very useful in most cases), because occupied disk space grows only when something actually changes in config.
 
User avatar
spacekcz
just joined
Topic Author
Posts: 5
Joined: Thu Feb 04, 2016 10:33 pm
Contact:

Re: RouterOS backup, any tester here ?

Mon Feb 15, 2016 4:12 am

I'm lazy and happy enough with what I use now, so I did not test your solution (sorry ;)), but I have one feature idea for you. Going by the description, it doesn't seem like you have it.

In my own solution (simple php script hacked together long time ago, nothing really interesting, no automation whatsoever, etc..) I store configs (.rsc) in SVN repository (today I'd probably use Git). Compared to simple files on disk it's much easier to find what and when changed. It also allows to have unlimited history (even though several years old configs aren't very useful in most cases), because occupied disk space grows only when something actually changes in config.
Thank you very much for your response.

Your solution is very interesting and I will think about when implemented it in a future version.
 
barkas
Member Candidate
Member Candidate
Posts: 260
Joined: Sun Sep 25, 2011 10:51 pm

AW: RouterOS backup, any tester here ?

Mon Feb 15, 2016 9:24 am

There is mikrotik support in rancid, BTW.
 
User avatar
spacekcz
just joined
Topic Author
Posts: 5
Joined: Thu Feb 04, 2016 10:33 pm
Contact:

Re: RouterOS backup, any tester here ?

Sat Feb 20, 2016 7:35 pm

... I store configs (.rsc) in SVN repository (today I'd probably use Git). ....
Hello,

in version 0.8 is now support for backup to GitLab repository :D

I will be glad for any next suggestions or test results.

Enjoy!
 
charuga
just joined
Posts: 17
Joined: Sun May 28, 2006 11:11 pm

Re: RouterOS backup, any tester here ?

Sat Aug 26, 2017 3:54 pm

very nice...
Tried with 10 routers and just add about 300 more..
Thank you very much
 
AGM
just joined
Posts: 2
Joined: Thu Dec 14, 2017 8:38 am

Re: RouterOS backup, any tester here ?

Thu Dec 14, 2017 8:42 am

Hi!
I have tested version 1.0.0 and I have
[Http\Client\Exception\NetworkException]
Error creating resource: [message] fopen(http://127.0.0.1/api/v4/proje
cts?search=Mikrotikbackup): failed to open stream: Connection refused
[file] /opt/routerboard-backup/vendor/guzzlehttp/guzzle/src/Handler/StreamH
andler.php
[line] 324

[GuzzleHttp\Exception\ConnectException]
Error creating resource: [message] fopen(http://127.0.0.1/api/v4/proje
cts?search=Mikrotikbackup): failed to open stream: Connection refused
[file] /opt/routerboard-backup/vendor/guzzlehttp/guzzle/src/Handler/StreamH
andler.php
[line] 324

[RuntimeException]
Error creating resource: [message] fopen(http://127.0.0.1/api/v4/proje
cts?search=Mikrotikbackup): failed to open stream: Connection refused
[file] /opt/routerboard-backup/vendor/guzzlehttp/guzzle/src/Handler/StreamH
andler.php
[line] 324

I try to backup to Gitlab(10.2.2)
What is an error?
Help me please