Title: Stuck on &quot;resorting database&quot;
Last modified: September 1, 2016

---

# Stuck on "resorting database"

 *  [bpcdale](https://wordpress.org/support/users/bpcdale/)
 * (@bpcdale)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/)
 * Been trying to clone a website to a new location but each time I try to import
   it, it gets stuck on “restoring database”. This causes the whole site to go down.
   The files seem to transfer, but you can’t even access the admin area anymore.
   I’ve been using clean installs of WordPress. And I’ve deactivated any plugins
   that are known to cause issues. I am using Bluehost VPS.
 * Should I try to export with all plugins deactivated?
 * One more question, I’m no pro, so if I am importing to a new domain, should I
   set the export with a find and replace to have it switch the domains within the
   database? Would this ultimately change all the existing links?
 * Thanks
 * [https://wordpress.org/plugins/all-in-one-wp-migration/](https://wordpress.org/plugins/all-in-one-wp-migration/)

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/stuck-on-resorting-database/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/stuck-on-resorting-database/page/2/?output_format=md)

 *  [foothillweb](https://wordpress.org/support/users/foothillweb/)
 * (@foothillweb)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663541)
 * I am having the same issue.
 *  [Simon Duncan](https://wordpress.org/support/users/simon-duncan/)
 * (@simon-duncan)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663557)
 * Yes. Me too. In the past I have restored the old database and had another go.
   After 2 or three attempts it has worked – but not this time.
 *  Plugin Author [Pim J. Iliev](https://wordpress.org/support/users/pimjitsawang/)
 * (@pimjitsawang)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663566)
 * Hi all,
 * I am sorry for the inconvenience.
    The plugin will automatically detect those
   for you. You only need to fill in Find/Replace if you want to replace any values
   in the database.
 *  Thread Starter [bpcdale](https://wordpress.org/support/users/bpcdale/)
 * (@bpcdale)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663569)
 * Got that part thanks. But the bigger question was why it’s getting stuck and 
   blanking out my site. Any help is appreciated.
 *  Thread Starter [bpcdale](https://wordpress.org/support/users/bpcdale/)
 * (@bpcdale)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663581)
 * I got it to complete an import by deactivating all the plugins on the site I 
   was exporting before exporting it. But, upon import, it seems like anything that
   utilizes javascript is now broken. Is there something else I can try? was hoping
   for a simple means of duplicating this site.
 *  Thread Starter [bpcdale](https://wordpress.org/support/users/bpcdale/)
 * (@bpcdale)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663589)
 * Thanks Luke, that will be my next stop.
 *  [Luke Cavanagh](https://wordpress.org/support/users/lukecavanagh/)
 * (@lukecavanagh)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663591)
 * [@bpcdale](https://wordpress.org/support/users/bpcdale/)
 * I have used All-in-One WP Migration for a bunch of client site migrations as 
   well, just fine.
 *  Thread Starter [bpcdale](https://wordpress.org/support/users/bpcdale/)
 * (@bpcdale)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663592)
 * I tried duplicator with the same result. Everything that utilizes javascript 
   is broken. Sought professional help…thanks folks.
 *  [Luke Cavanagh](https://wordpress.org/support/users/lukecavanagh/)
 * (@lukecavanagh)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663593)
 * [@bpcdale](https://wordpress.org/support/users/bpcdale/)
 * Have used both migration plugin and not had any JS issues before on the target
   site.
 *  [dustinww](https://wordpress.org/support/users/dustinww/)
 * (@dustinww)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663606)
 * Anyone figure this out, I am having the same problem?
 *  Plugin Author [Pim J. Iliev](https://wordpress.org/support/users/pimjitsawang/)
 * (@pimjitsawang)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663607)
 * Hi dustinww,
 * Did you use Find/Replace on export?
    How large is the .wpress backup you are 
   importing?
 *  [foothillweb](https://wordpress.org/support/users/foothillweb/)
 * (@foothillweb)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663612)
 * What does find/replace have to do with the restoration hanging on Bluehost? I
   am able to migrate easily to my own host (HostGator, where it was created) but
   it will not install on Bluehost.
 *  Plugin Author [Pim J. Iliev](https://wordpress.org/support/users/pimjitsawang/)
 * (@pimjitsawang)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663614)
 * foothillweb,
 * I just wanted to make sure. Some users do not use Find/Replace correctly – they
   put their old URL for Find and Replace with the new URL, and 20% of this error
   is from this reason.
 * How large is your database (from the site you have exported from)?
    What are 
   your mysql.connect_timeout and max_execution_time on your new site (Bluehost)?
 *  [Luke Cavanagh](https://wordpress.org/support/users/lukecavanagh/)
 * (@lukecavanagh)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/#post-7663615)
 * [@foothillweb](https://wordpress.org/support/users/foothillweb/)
 * What the specific issue you where having on the Bluehost hosted site when you
   import the backup file into All-in-One WP Migration?
 *  [foothillweb](https://wordpress.org/support/users/foothillweb/)
 * (@foothillweb)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/page/2/#post-7663619)
 * The issue I’m having is the same one that the author describes. The site migration
   hangs at the restoration step. The icon just spins and it never restores. The
   restoration file is under 100MB. I can’t provide the other info because I had
   to abandon Bluehost and put it on my own reseller acct. on Hostgator, where it
   loaded with no problem. I’m not a techie, just a front-end designer so if it 
   doesn’t work out of the box it’s difficult for me to troubleshoot. Thanks for
   your response anyway. I suggest you try the process yourself to see if you can
   verify the issue.

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/topic/stuck-on-resorting-database/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/stuck-on-resorting-database/page/2/?output_format=md)

The topic ‘Stuck on "resorting database"’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-migration/assets/icon-256x256.png?rev=2458334)
 * [All-in-One WP Migration and Backup](https://wordpress.org/plugins/all-in-one-wp-migration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-migration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-migration/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-migration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-migration/reviews/)

 * 23 replies
 * 9 participants
 * Last reply from: [mrcavallo](https://wordpress.org/support/users/mrcavallo/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/stuck-on-resorting-database/page/2/#post-7663654)
 * Status: not resolved