May 19, 201214 yr Hiya, I'm attempting to move a couple of old sites from Dreamhost across to my new host, but I'm having some issues restoring the database in cPanel. I've managed to generate a backup of my database on Dreamhost (I think!), downloaded it, and now I'm attempting to upload it to my new account. In the cPanel 'Backups' section, I select the database file in the box marked 'Restore a MySQL Database', and then hit 'Upload'. A new tab opens, and I get about twenty seconds of a white "loading" screen, and then eventually get a message that says 'Restoring Database' with a little uploading image...and that's it. The page doesn't do anything after that, and the database never appears in cPanel under 'MySQL Databases'. Is there a trick to this that perhaps I'm missing? I've tried zipping the database file and uploading that, without success. Haven't had much luck finding any info online. Any advice would be very much appreciated. Cheers, Chris
May 20, 201214 yr If you have access to phpmyadmin, on the old site export the database and then on the new site you can import it.
May 21, 201214 yr Author .sql file is 1.8MB. Zipped equivalent is 340KB. I didn't have much luck with PHP MyAdmin. Made my brains hurt...
June 1, 201214 yr Author Hiya, Apologies for the delay in responding. I've been away interstate. PHP version on my new, local host is 3.4.10.1. On Dreamhost it's 3.3.10.4. I'm going to have another go at backing up the database and moving it again. Been a week or so since I looked at it, so probably worth going back to square one. When uploading in cPanel, can the SQL file that I'm trying to upload be either zipped or unzipped, or does it have to be one specifically?
June 14, 201214 yr There is a new program in beta using JSON Data that should help with your database work. It also allows embedding for multiple sites if you want to share even more of your data.
July 25, 201511 yr By the way, I have tried Json just this year, but I couldn't get this to work. Still struggling myself here.
Create an account or sign in to comment