Community discussions

 
Ohforf
just joined
Topic Author
Posts: 6
Joined: Wed Oct 15, 2014 2:32 pm

backup,critical error creating backup file, ROS 6.42.1

Tue Apr 24, 2018 7:27 pm

Hello.

We have RB2011L with ROS 6.42.1 saying "echo: backup,critical error creating backup file: could not read all configuration files" to terminal upon creating a backup file.

How do we fix this?
 
jarda
Forum Guru
Forum Guru
Posts: 7560
Joined: Mon Oct 22, 2012 4:46 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Tue Apr 24, 2018 9:07 pm

Send supout to the support. Come back to us with their answer.
 
Ohforf
just joined
Topic Author
Posts: 6
Joined: Wed Oct 15, 2014 2:32 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Tue Apr 24, 2018 11:00 pm

Send supout to the support. Come back to us with their answer.
It is said that "limited support service might be provided by e-mail for 30 days after the purchase". It's more than 30 days after the purchase. Where should I send the supout?
 
jarda
Forum Guru
Forum Guru
Posts: 7560
Joined: Mon Oct 22, 2012 4:46 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Tue Apr 24, 2018 11:07 pm

Support@mikrotik.com. Mikrotik receives all error reports. Does not matter if the period is over or not.
 
Markut
just joined
Posts: 16
Joined: Sat Nov 03, 2012 11:03 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Tue Apr 24, 2018 11:24 pm

This message started appearing after upgrading to 6.42rc56 and support returned me with the following response:
Hello,

Your configuration has details which can't include in backup file. More about it you can find there:
https://wiki.mikrotik.com/wiki/Manual:C ... tem_Backup
If you have further problems then contact with us.

I couldn't identify which "detail" is causing this message !!!
 
jarda
Forum Guru
Forum Guru
Posts: 7560
Joined: Mon Oct 22, 2012 4:46 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Tue Apr 24, 2018 11:41 pm

.. so you should contact them again as they suggested.
 
23q
Frequent Visitor
Frequent Visitor
Posts: 51
Joined: Thu Sep 02, 2010 2:54 pm
Location: Ukraine

Re: backup,critical error creating backup file, ROS 6.42.1

Wed Apr 25, 2018 10:03 pm

I have the same problem on the same router RB2011L, v.6.42.1
 
gorgon
just joined
Posts: 1
Joined: Mon Mar 26, 2012 2:31 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Wed May 23, 2018 6:50 pm

Hello together,

the same issue happens to both of my KVM-based virtualised x86 installations after upgrading from 6.38.5 to the actual MikroTik RouterOS 6.42.2

best regards
Marc
 
Markut
just joined
Posts: 16
Joined: Sat Nov 03, 2012 11:03 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Wed May 23, 2018 7:26 pm

Solution is Netinstall...
 
Modestas
just joined
Posts: 18
Joined: Mon Jul 16, 2012 10:59 am
Location: Vilnius, Lithuania

Re: backup,critical error creating backup file, ROS 6.42.1

Thu May 24, 2018 4:50 pm

I couldn't identify which "detail" is causing this message !!!
You may want to investigate removing line by line from the configuration and see when backup will succeed.

I think it's good coding practice to generate detailed diagnostics output when software is not happy about some parameters built in earlier version of the same software.
 
Ohforf
just joined
Topic Author
Posts: 6
Joined: Wed Oct 15, 2014 2:32 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Thu May 24, 2018 11:06 pm

In the end, Mikrotik support suggested us to export config using "/export".

And after update to 6.42.2 "backup,critical error creating backup file" error disappeared.
 
LeftyTs
newbie
Posts: 34
Joined: Thu Nov 03, 2016 2:39 am

Re: backup,critical error creating backup file, ROS 6.42.1

Fri May 25, 2018 9:13 am

I am getting the same error here after upgrading a couple of old v5.26 installations to v6.42.1. Some of them do not have it but others do.

Netinstall is not a good solution, it is a disaster if you have quite a few remote installations.

PS: Sending the supout.rif
 
markec
just joined
Posts: 2
Joined: Sat May 26, 2018 7:17 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Sat May 26, 2018 7:25 pm

Same happens here on couple of 951G and one 2011L.

Is there any better solution than netinstall from MikroTik?

Thanks!
 
azatko
just joined
Posts: 5
Joined: Mon May 28, 2018 10:49 am

Re: backup,critical error creating backup file, ROS 6.42.1

Mon May 28, 2018 11:46 am

i updated about 200 devices (mipsbe, powerpc, tile, x86, mmips) to 6.42.1 and about 30% has problem with backup:
10:44:06 echo: backup,critical error creating backup file: could not read all configuration files

i test one device with this error (RB1000) and enable all packages, update firmware, upgrade to 6.42.2, 6.42.3, chek installation and no help with this error.
i browse support.rif in my mikrotik account and no problem visible.
 
kait
just joined
Posts: 15
Joined: Thu May 10, 2012 12:09 pm
Location: Czech Republic

Re: backup,critical error creating backup file, ROS 6.42.1

Thu May 31, 2018 1:39 pm

Good day,

no problem on 6.41.x, problem begin with 6.42.2.
Affected devices are 1100AHx2 and 751G-2HnD, CCR without issue.

Pavel
 
azatko
just joined
Posts: 5
Joined: Mon May 28, 2018 10:49 am

Re: backup,critical error creating backup file, ROS 6.42.1

Mon Jun 04, 2018 11:41 am

i did backup with error "backup,critical error creating backup file" and restore box with this "error" backup.
config is without change and error dissapears...
tested only on few devices, some ok, some not

btw i tested in lab upgrade from old ros (4.10(netinstall)->5.26->6.40.8->6.42.1) with same config on same device and resultis:
2 times error backup
4 times no error
its magic, some updates ok, some updates not


today look for some solution about error "ssh,error Corrupt host's key, regenerating it! Reboot required!" on other boxes:
/ip ssh regenerate-host-key
/system reboot
and works :)
binary backup is now without error. tested on about 10 devices
 
azatko
just joined
Posts: 5
Joined: Mon May 28, 2018 10:49 am

Re: backup,critical error creating backup file, ROS 6.42.1

Mon Jun 11, 2018 11:58 am

ssh regenerate key works for me.
tested on 50+ problematic boxes.
 
User avatar
eworm
Member Candidate
Member Candidate
Posts: 184
Joined: Wed Oct 22, 2014 9:23 am
Location: Oberhausen, Germany
Contact:

Re: backup,critical error creating backup file, ROS 6.42.1

Mon Jun 11, 2018 3:09 pm

/ip ssh regenerate-host-key
/system reboot
and works :)
binary backup is now without error. tested on about 10 devices
Works for me as well. Thanks a lot!
Manage RouterOS scripts and extend your devices' functionality: RouterOS Scripts
 
Markut
just joined
Posts: 16
Joined: Sat Nov 03, 2012 11:03 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Mon Jun 11, 2018 9:53 pm

/ip ssh regenerate-host-key
/system reboot
and works :)
binary backup is now without error. tested on about 10 devices
Works fine. Thanks :D
 
markec
just joined
Posts: 2
Joined: Sat May 26, 2018 7:17 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Sat Jun 16, 2018 1:42 pm

Well discovered! :wink: Works here as well. This should be posted with upgrade notes as too!
 
Michel
just joined
Posts: 21
Joined: Mon Aug 16, 2010 12:50 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Sat Jun 16, 2018 8:26 pm

Thank you very much, /ip ssh regenerate-host-key solved my problem also on 6.42.1 RB493AH
 
User avatar
dynek
Member Candidate
Member Candidate
Posts: 178
Joined: Tue Jan 21, 2014 10:03 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Sun Jun 17, 2018 9:30 am

Fixed it for my RB1100AHx2 as well. A shame for Mikrotik who suggested to NetInstall the device.

Thank you!
 
nescafe2002
Member
Member
Posts: 488
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: backup,critical error creating backup file, ROS 6.42.1

Sun Jun 17, 2018 12:53 pm

In the end, Mikrotik support suggested us to export config using "/export".
Note that this is the better advice because export is human readable and compatible between services (minor changes required) and backup is sometimes not, even between same models.

However, since export lacks certificates and users, perhaps both regular export and backup is the best solution for disaster recovery.
 
User avatar
dynek
Member Candidate
Member Candidate
Posts: 178
Joined: Tue Jan 21, 2014 10:03 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Sun Jun 17, 2018 3:10 pm

In the end, Mikrotik support suggested us to export config using "/export".
Note that this is the better advice because export is human readable and compatible between services (minor changes required) and backup is sometimes not, even between same models.
Well, it's not compatible between devices of the same model as MAC addresses are exported as well.
 
struggling
just joined
Posts: 3
Joined: Fri Dec 14, 2012 8:06 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Fri Sep 07, 2018 6:19 pm

Thanks so much.
This cleared the problem for my 751G-2HnD running 6.42.3.
Regenerating the host key without rebooting seemed to be enough for backup to run without an error message.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 1615
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: backup,critical error creating backup file, ROS 6.42.1

Mon Oct 29, 2018 9:28 am

thanks

solved error :

error creating backup file: could not read all configuration files

on RB951G RouterOS 6.42.9
 
jeast606
just joined
Posts: 2
Joined: Thu Jun 01, 2017 6:25 pm
Location: Wichita Falls, TX

Re: backup,critical error creating backup file, ROS 6.42.1

Thu Nov 01, 2018 5:47 pm

I'm running 6.43.4 with the same issue. I ran the suggested script and it worked great!
/ip ssh regenerate-host-key
/system reboot
Many thanks!!!!
 
rpr
just joined
Posts: 12
Joined: Mon Oct 24, 2011 4:47 pm

Re: backup,critical error creating backup file, ROS 6.42.1

Wed Dec 05, 2018 12:29 pm

The same issue here after upgrade from RouterOS 6.43.1 to 6.43.7.
Advice from post #16 solved the issue. Kudos for that!

Can anyone explain the root cause of the problem?
It seams that the backup command is not able to read the SSH authentication keys (private + public key pair) to include them in the backup file.
And regenerating the SSH keys solves the problem.

-- rpr.

Who is online

Users browsing this forum: mducharme and 53 guests