mysql - Database Restoration -
i little bit confused in database backup process.
suppose, have 1 database named "a" , created database name "b". database "b" have same structure database "a". in short database "a" , "b" same in table's structure database names different only.
so possible restore database "a" in database "b"?
if possible tell me command it.
note: both databases on different servers.
nohup mydumper -h <host> -p 3306 -u <user> -p <pwd> -t 4 -m -b <dbname1> -o /root/test/mydumper_<dbname> &
dump data without table structure;
nohup myloader -h <host> -p 3306 -u <user> -p <pwd> -e -b <dbname2> -d /root/test/mydumper_<dbname>/ &
restore data dbname2;
just ignore table structure, dump data sql;
Comments
Post a Comment