The backup script broke after the update.

I use the software https://cbackup.me/en/ to backup the configuration of mikrotik and other devices. Starting with firmware 6.49, backup does not work, on all devices up to version 6.49 - everything works well. The principle of operation of cbackup is simple - it enters mikrotik via ssh and executes two commands in turn
export
quit

What cbackup sees when outputting export it saves to its database. I have a question

  1. perhaps someone uses the same program to save the config and has already found a solution

    \
  2. Perhaps someone knows what has changed between versions 6.48 and 6.49 that could affect this problem.

The problem manifests itself in the fact that when cbackup enters a device with firmware 6.49 and higher, mikrotik shows an empty config.

Thanks

Can you see what commands it sendes to the router?

I see a template that is sent to the device and it is the same for all mikrotik firmware versions:

  1. export
  2. quit

They should work, but try

/export
/quit

If you use v7 export will not give you everything.

/export show-sensitive

That will give you more

I have firmware version 6. There is no such command in version 6, I’m sure something has changed between these versions 6.48 → 6.49 - but I can’t find what exactly.

I just realized too that my backup scripts are not working after 6.49.

export compact file=“$localfilename” doesn’t seem to be executing.

I’ve ran the command in terminal and it works fine, but doesn’t like it when it’s running through the script window.
I’ve even replaced it with /export with the same results.

Where is the rest of the script?

export compact file=“$localfilename”

are just some words…

where is defined “localfilename”?

only export and quit, eh?

speak out instead of hiding things.