the specified directory is not a mydumper backup

Asked by uldisn on 2015-01-01

I start myloader:
myloader --directory=/tmp/mysql_backup --database=test --user=test --password='test' -t 1

an get error:
** (myloader:3390): CRITICAL **: the specified directory is not a mydumper backup

Directory /tmp/mysql_backup exist and have follow files:
4 -rw-r--r-- 1 root root 291 Jan 1 05:20 alpha.ccnt_country-schema.sql.gz
8 -rw-r--r-- 1 root root 4491 Jan 1 05:20 alpha.ccnt_country.sql.gz
4 -rw-r--r-- 1 root root 303 Jan 1 05:20 alpha.c_country-schema.sql.gz
8 -rw-r--r-- 1 root root 4743 Jan 1 05:20 alpha.c_country.sql.gz

myloader version:
myloader 0.6.2, built against MySQL 5.6.15

Directory I restored from backup and removed other database table backups. I all databases backup in common directory.

Question information

Language:
English Edit question
Status:
Solved
For:
MySQL Data Dumper Edit question
Assignee:
No assignee Edit question
Solved by:
Max Bubenick
Solved:
2015-01-01
Last query:
2015-01-01
Last reply:
2015-01-01
Best Max Bubenick (max-bubenick) said : #1

The metadata file is missing. If you delete it you can create an empty file named metadata.

uldisn (uldisnelsons) said : #3

Thanks Max Bubenick, that solved my question.