-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] WARNING It was not possible to process file: because real_db_name isn't found. #837
Comments
I think that we don't print any message if a metadata file is processed, so we don't know if the file was processed but I think that we are successfully processing those files. |
Have same issue. You should test with data. Because when I'm trying to restore it creates schema but not uploading the data. mydumper --compress --defaults-file .my.cnf -t 10 # defaults file only contains db credentials |
@fenidik, we are testing with data. Can you give more details about your issue? MyDumper version used? Database version? a test case with CREATE TABLE and INSERT statements? |
Also have the same issue as @fenidik.
My workflow is I restore our production database to my workstation from a mysqldump. We have about 100 databases most of which are less than 100mb (total size is around 15gb, biggest DB is just over 1gb). At this point I launch our application and run tests with no problems so I know the restore worked. Then I create a dump file using the following command: It's worth noting Maria is in a docker container. The dump seems to work well, with the mydumper.conf contains:
Since this is production data I can't upload that as a test case. I'll try to find something smaller Load command: At this point, EDIT |
Hi @bigkahuna1986, |
I get the same error. When backing up a database, restore cannot use its original name. Otherwise, an error will be reported. backup: error recovery: true recovery : |
@Vega-Punk what version are you using? |
mydumper 0.12.3-3, built against MySQL 5.7.37-40 centos7.6 3.10.0-693.el7.x86_64 |
Please, test with the latest prerelease. |
Describe the bug
When attempting to restore a database, I am getting the following warning:
This is very similar to the issue 683 and appears to have been fixed in 708. In this case, a WARNING is being generated rather than a CRITICAL log severity.
To Reproduce
I used more-or-less the same steps to reproduce the warning as was shown in issue 683
MySQL Console
BASH Shell
myloader generates the following WARNING:
What mydumper and myloader version has been used?
myloader 0.12.7-3, built against MySQL 10.6.9
mydumper 0.12.7-3, built against MySQL 10.6.9-MariaDB
Expected behavior
It would appear that the database is restored successfully if the WARNING log messages are ignored. Perhaps this WARNING should be suppressed or prevented from appearing.
Log
Backup
How to repeat
See steps above to repeat. Note that using "-B ${DB_NAME}" argument to myloader will suppress the log WARNING.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: