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] real_db_name isn't found #613
Comments
Does example_planner-schema-create.sql.gz file exists? if not, then it will always going to fail. |
Hi,
|
Hi @DerFels
The -schema-create.sql file is being left behind. That is the file that add the database name to the list that we use to determine the real_db_name. Why don't you use: |
Please, let me know if you need further help, so we can close this 2 issues. |
Thank you David! :)
You can close both tickets. |
Describe the bug
I created a a backup using mydumper 0.12.1 and tried to restore it using myloader 0.12.1 but it fails instantly with
It was not possible to process file: <some-file-name>.sql.gz (2) because real_db_name isn't found
To Reproduce
Command executed:
/usr/bin/mydumper --kill-long-queries -t 8 -v 1 -G -E -R --less-locking -c -o /backup
myloader -d backup -v 3 -t 5 -h 127.0.0.1 -u root -p <some-pw> -s <some-db>
What mydumper and myloader version has been used?
myloader 0.12.1
Expected behavior
I expect the restore function to work :)
Log
If applicable, add the --verbose 3 / -v 3 and --logfile / -L to the execution of the command and upload the file.
Backup
If applicable, add the list of content of the database path, an
ls -l
will be enoughEnvironment (please complete the following information):
Additional context
The restore environment lives inside docker-compose
The text was updated successfully, but these errors were encountered: