Backup

Hello
This error appears after creating backup
echo: backup,critical error creating backup file: could not read all configuration files
1.What is the solution
2. When i want to handle this error in auto backup using " do on-error ", this message is not recognized as error

Is your issue still persisting?

Probably regenerating your ssh host keys helps:

/ ip ssh regenerate-host-key

The problem was solved with regenerating ssh host key.
But how can i catch this error in auto backup script using do {} error {} ? I tried this but that error messege is not recognized as error.

I think you can not. Do it manually if it happens. The backup file is fully functional except the host key(s), so do not worry.

IMHO this is something the system should detect and correct on its own. It happens again and again, with lots of examples here in forum. Mikrotik?

Thanks alot
Other errors are recognized by do {} error{} and it is strang for me that this error is not. If it is not recognized as error , how can we realize that regeneration is needed after making auto backup file.
If it is not any way, is backup file trustable
I think that error message means that backup file was made without only ssh config. Am i right?