Hello Team ,
I was using CentOS - 7 and i have installed mydumper - mydumper-0.9.5-2.el7.x86_64 in Linux box and was using mydumper by using below syntax.
single Schema = 250 GB Size
mydumper --host=10.xx.xx.xx --user=root --password=xxxxx --database=dbname --outputdir=/backups/bkp --no-views --compress --build-empty-files --threads=4 --compress-protocol --no-backup-locks --less-locking --statement-size=100000000 -G -E -R -k
It was working fine .But when i go /backups/bkp folder , i can’t see table DDL .gz files… i can see all files are schemaname.tablename.sql.gz files …and metadata.partial file.
after 2.5 hrs backup went done and i started restoring by using below command .
time myloader -h 10.xx.xx.xx -u root -ppassword --database=dbname -t 5 -d /backups/bkp
I got the below errors : -
- (myloader:2170): CRITICAL *: 09:37:32.744: the specified directory is not a mydumper backup
and then
- (myloader:2348): CRITICAL *: 10:03:29.470: Error restoring sscdb.id_table from file sscdb.id_table.sql.gz: Table ‘sscdb.id_table’ doesn’t exist
and then
- (mydumper:2522): CRITICAL *: 10:20:20.786: There are queries in PROCESSLIST running longer than 60s, aborting dump,
use --long-query-guard to change the guard value, kill queries (–kill-long-queries) or use
different server for dump
And also i was using the below one too.
But no luck
mydumper --host=10.xx.xx.xx --user=root --password=password --database=dbname --threads=4 --compress --triggers --events --routines --outputdir=/backups/bkp
Then i got warning :-
- (mydumper:2522): CRITICAL *: 10:xx.xx.xx: There are queries in PROCESSLIST running longer than 60s, aborting dump,
use --long-query-guard to change the guard value, kill queries (–kill-long-queries) or use
different server for dump
Can anyone help me on this.