cBackup / main

Releases, documentation and issue tracker
http://cbackup.me
GNU Affero General Public License v3.0
30 stars 17 forks source link

Problems with the new version of Mikrotik #77

Open SerhiiZahuba opened 2 years ago

SerhiiZahuba commented 2 years ago

Starting with firmware 6.49 Mikrotik, backup does not work, on all devices up to version 6.49 - everything works well.

Templates

export quit

image

guardeatingapple commented 2 years ago

hi, did you solve the problem?

guardeatingapple commented 2 years ago

maybe you have the wrong prompt string, for mikrotik it's ">"

SerhiiZahuba commented 2 years ago

No. The problem is only if the firmware of the router is higher than 6.49, if the firmware is < 6.49 there are no problems.

SerhiiZahuba commented 2 years ago

@launcherx can you help ?

technetius commented 2 years ago

There is problem with Java Worker, because of updated SSH shell in new firmware New output looks like this

[admin@MikroTik] >
[admin@MikroTik] > e
[admin@MikroTik] > ex
[admin@MikroTik] > exp
[admin@MikroTik] > expo
[admin@MikroTik] > expor
[admin@MikroTik] > export
[admin@MikroTik] > export

===== CONFIG =====

[admin@MikroTik] >

When expect4j is trying to search for command execution end, it matches first occurrence of [admin@MikroTik] > and exits.

Without updating and recompiling java worker new firmware will not work

g-philipp commented 1 year ago

any Updates here?

Vaskata84 commented 1 year ago

Hello, this is how things work for me My version is 7.8. You can see the screenshots https://ibb.co/5cQSdy2 https://ibb.co/5jQPYwF https://ibb.co/bPVdx8t

romed77 commented 1 year ago

Hello, this is how things work for me My version is 7.8. You can see the screenshots https://ibb.co/5cQSdy2 https://ibb.co/5jQPYwF https://ibb.co/bPVdx8t

I have tested, this solution works. Thank you!

Guilhermegfssilva commented 1 year ago

hello, with version 7.10.2 this solution did not work.

Returns only:

CONFIG

ENDOF_CONFIG

Does anyone have any tips/suggestions?

Guilhermegfssilva commented 1 year ago

I was able to apply it like this:

https://prnt.sc/OCycY0dAbCkN

Vaskata84 commented 1 year ago

I was able to apply it like this:

https://prnt.sc/OCycY0dAbCkN

does it work like that with telnet?

Vaskata84 commented 1 year ago

Task backup, node 1: timeout. Telnet response expect failed. Check device auth sequence and credentials. Schedule id: 2 Task name: backup Node id: 1 Worker id: 1 “someone tell me how to fix this"

Guilhermegfssilva commented 1 year ago

hello,

I didn't use telnet, only ssh.

Vaskata84 commented 1 year ago

hello,

I didn't use telnet, only ssh.

send me the whole configuration with pictures how you set it up can you ?

fabriciomatrix commented 5 months ago

@Guilhermegfssilva @romed77 @Vaskata84

Hello everybody!

Do any of you still use cbackup for Mikrotik routers? The system, despite being dead for a long time, is still very good. I haven't found a suitable, simple and functional program yet. I'm still experiencing this backup error with Mikrotik routers, but I keep trying

image

Thanks!

Guilhermegfssilva commented 4 months ago

Olá @fabriciomatrix

Seguimos com problemas, mas dentre as alternativas, o comando "export compact" foi o que trouxe a configuração.

Você encontrou alguma solução?

fabriciomatrix commented 4 months ago

Infelizmente sigo com o problema, mesmo testado todas as possibilidas com router OS v6.49.x quanto v7.x

Guilhermegfssilva commented 4 months ago

@fabriciomatrix consegui fazer funcionar desta forma:

https://prnt.sc/6jj87d1vwoEm

Experimenta replicar igual e testar com versões 6.49 que apresentavam problema.

Na versão 7 que testei também funcionou, 7.10.2.

iampikus commented 2 months ago

Hello, this is how things work for me My version is 7.8. You can see the screenshots https://ibb.co/5cQSdy2 https://ibb.co/5jQPYwF https://ibb.co/bPVdx8t

I have tested, this solution works. Thank you!

hello! The link is dead, can you repost your solution? Thanks

fabriciomatrix commented 2 months ago

@fabriciomatrix consegui fazer funcionar desta forma:

https://prnt.sc/6jj87d1vwoEm

Experimenta replicar igual e testar com versões 6.49 que apresentavam problema.

Na versão 7 que testei também funcionou, 7.10.2.

Infelizmente não funcionou para im. Vou tentar pegar um backup que tenho do zero, já que não consigo mais instalar via repositorio