I have an account on one server I am trying to move to another. It has about 340 DB's. When I move it, many come over blank, but they are not blank on the source server. I have tried the GUI and the /scripts/ option.
Any idea how I can move this customer's 340ish database's correctly?
I do have root shell access to both servers. I did the /scripts/package /scripts/restore options. I also did a mysql rsync of the 340 DB's. The trouble comes in if I do a mysqldump of the mysql and then import into the new server, it gets a lot of crap entries as the source mysql has grants for many many accounts.
Any more specific about the script you would use?
If you've not already tried this, I recommend examining one or more full account backups to see if they are packaged successfully without loss of data from MySQL. Using the script "
/scripts/pkgacct" generate a fresh backup of a cPanel account that contain MySQL databases, then manually extract the backup that was generated (e.g., "
tar -xzvf $archive"). After extracting the archive contents, locate the directory named "mysql" and manually inspect the MySQL database dumps; using the SQL dumps, import each into a new database, checking to see how they compare with the original database.
Do not use "rsync" in attempt to synchronize the MySQL data directory between two servers.