One Ubuntu EC2 VPS is fried after an upgrade that went awry.
I don't have the server live, but I have its disk mounted on another (Ubuntu EC2) VPS.
How can I migrate the contents of a database on the mounted filesystem so that I can load it on another machine?
I've used tar and sftp to move stuff in files and directories I've made. I don't know what files would need to be copied to migrate MySQL, and I've gotten the impression that migrating a database appropriately means using database facilities to dump from one machine, then transferring the file to another machine, and then using database facilities to install on another machine: not simply cp.