Code Monkey home page Code Monkey logo

routerboard-backup's People

Contributors

al-shark avatar heximcz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

routerboard-backup's Issues

Git Url - support group urls

[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 ;)

Error on rsc file - 0 bytes

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.

Blank password for rbackup user

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?

Hostname Support

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

.rsc file backup issue

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

Old gitlab repository not recognised

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?

Connection refused

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

Add fast test

Add fast test for all ip addresses from the list.

don't works with V5.17 MKT

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.
2017-05-16 16_37_06-admin 10 39 56 1 uwf-labcore-mkt-01 - winbox v6 34 3 on x86 x86

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

Security

[future request]
Add an option to remove backup and/or scr after downloading.

Migration to Gitlab api v4

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.