heximcz / routerboard-backup Goto Github PK
View Code? Open in Web Editor NEWUltimate backup of yours mikrotik routerboards.
Home Page: https://routerboard-backup.best-hosting.cz/
License: Other
Ultimate backup of yours mikrotik routerboards.
Home Page: https://routerboard-backup.best-hosting.cz/
License: Other
[Gitlab\Exception\ErrorException]
"name" can contain only letters, digits, '', '.', dash and space. It must start with letter, digit or ''.
=> I have gitlab with groups and projects within, eg
https://gitlab.org.tld/groupname/mikrotik-backup
From the yml file:
project-name: 'groupname/mikrotik-backup'
Does not work (with the above error)
THX for extending to that ;)
Seem to be getting an error when trying to download rsc file from Mikrotik router - CCR1036-8G-2S+ running 6.46.2. Downloads .backup file with no issues, but errors stating 0 bytes and this in the logs - Size of the file: admin-20200217064148.rsc is zero . Router file indicates rsc file size is not zero. Tried adding sleep time to php files, however still errors stating 0 byes. Happy to sponsor to help resolve the issues, as backup seems to work fine on other router boards running the same version.
Hello!
Please, add password agrument for addnew option, for example:
sudo php routerboard-backup.php rb:mod addnew -i 1.1.1.1 -p 'mypassword'
Maybe it is worth mentioning that while automatic creation of "rbackup" user account with public key authentication, so someone could assume that this account is protected, however it is not. Created "rbackup" user has blank password so anyone could log in with full privileges to the routerboard without password (eg using winbox).
Or perhaps I am missing something?
I would like to see hostname support, I do not see a technical reason to only support ipv4 Addresses.
I have to rely e.g on /ip cloud dyndns support. I cannot use it this way :(
please change it if you can, should be a simple fix
Dear Heximcz,
I installed and setuped the routerborad-backup same like on the video.
When I teste the backing up, it cannot backup .rsc file.
The mikrotik start create the rsc, but the backup did not wait until it finish.
Where can I give it a delay or a wait time to finish the rsc and after try to download it?
Thanks!
ZooL
After upgrade from 0.8 (and fixing the mysql table), rb:backup works, but rb:gitlab returns an error:
[2016-03-03 10:26:02] NOTICE: Project 'mikrotik_backup' does not exist in repo. Creating new ...
[Gitlab\Exception\ErrorException]
"name" has already been taken, "path" has already been taken
rb:gitlab [-i|--addr ADDR] [--] [<action>]
It looks to me like it can not recognise the existing repository, but then can not create a new one because it already exists?
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
Hi,
Gr8 tool.
Please add support for google drive or FTP upload
Add fast test for all ip addresses from the list.
hi,
i'm not sure if it's a n issue .....
before i start : thank's for your job !
I've got near 50 mkt on my compagny.
30 on v6 and 20 on v5.17. for the V6 equipemnts everything is good !
but for v5.17, the SSH key is not imported by script.
and the backup failed.
Ex :
in v6
[2017-16-05 16:16:25] INFO: Connect to the: [email protected]:22 has been successfully.
[2017-16-05 16:16:47] INFO: Backup of the router 10.33.0.253 has been sucessfully.
in v5
[2017-16-05 16:17:30] ERROR: Connect to the: [email protected]:22 has been fails!
[2017-16-05 16:17:30] ERROR: Backup of the router 10.28.123.2 has not been sucessfully.
[2017-16-05 16:17:31] ERROR: Connection closed by server
the key was not created here
[future request]
Add an option to remove backup and/or scr after downloading.
Hi,
I just installed and tested tag 0.9.5 against my gitlab-ce omnibus package installation v9.4.0. However I ran into problems caused by Gitlab's deprecation of the v3 API. I was unable to backup to gitlab. Gitlab's logs showed it was returning 400 errors to some of the api requests. Gitlab will also be fully removing the v3 API on August 22nd.
I've installed an older Gitlab v8.16 server and this works perfectly, this is before the v4 API was introduced.
Documentation from Gitlab about the migration https://docs.gitlab.com/ce/api/v3_to_v4.html
Great software by the way.
Cheers,
James
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.