Community discussions

MikroTik App
 
Ohforf
just joined
Topic Author
Posts: 10
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: 7756
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: 10
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: 7756
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: 7756
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: 57
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
newbie
Posts: 25
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: 10
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
Frequent Visitor
Frequent Visitor
Posts: 88
Joined: Thu Nov 03, 2016 2:39 am
Location: Athens, Greece
Contact:

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
Forum Guru
Forum Guru
Posts: 1070
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!
 
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: 23
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: 221
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
Forum Veteran
Forum Veteran
Posts: 897
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: 221
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: 2989
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: 17
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.
 
tangram
Member Candidate
Member Candidate
Posts: 132
Joined: Wed Nov 16, 2016 9:55 pm

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

Wed Mar 06, 2019 4:32 pm

I had the same issue after update from 6.42.9 to 6.42.12.
Regenerating ssh fixed it. Thanks guys !
 
iw4eky
newbie
Posts: 25
Joined: Tue Jan 26, 2010 8:12 am
Location: Rimini, Italy

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

Thu May 09, 2019 10:09 am

Same here with latest 6.44.3 on x86 RouterOS.

Regenerating the SSH keys solved the issue (and reboot wasn't necessary).

Thanks!
 
jo2jo
Forum Guru
Forum Guru
Posts: 1003
Joined: Fri May 26, 2006 1:25 am

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

Mon Jan 13, 2020 10:43 pm

awesome, this also worked for me on a few RBs that were having this exact same issue (ros 6.45.x and 6.46.x ). I acutally didnt even need to reboot after doing the ssh key regen command.
thanks!
 
semperfi89
just joined
Posts: 23
Joined: Fri Feb 11, 2011 9:03 am

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

Mon May 10, 2021 2:57 pm

I have an RB1100AHx2 running 6.48.1 receiving the same error. This fixed it. I don't understand why MikroTik hasn't fixed it, it's been around for years.
/ip ssh regenerate-host-key
/system reboot
 
TomosRider
Member Candidate
Member Candidate
Posts: 209
Joined: Thu Nov 20, 2014 1:51 pm

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

Mon Dec 20, 2021 3:15 pm

Antient bug....i resolved it with provided ssh regenerate command. ROS v6.49.2 on multiple boards.

Who is online

Users browsing this forum: karlisi, netmas, scoobyn8 and 92 guests