Debeli
By:
Debeli

Importbuddy and migrating from backupbuddy backup

December 17, 2014 2.3k views

I'm trying to migrate my existing WP to DigitalOcean. I have a backup made with BackupBuddy.

After trying to use importbuddy.php to restore backup, process freezes when selecting backup file (~400 MB) that I uploaded and trying to restore. Also it seems that files are unpacked but nothing happens.

3 Answers

Debeli,

Here is what you want to do.

  1. Create the Ubuntu LAMP app droplet.

  2. Use putty or an ssh client to access console and set your passwords. ( I find the web interface handy in a pinch, but a bit finicky).

  3. Once logged in run mysqlsecureinstallation (it is suggested in the mtod) and set your mysql password to what you want.

  4. Follow this article from Digital Ocean (except skip the part about downloading and copying WordPress of course).
    http://c3p.me/1vn6JQQ

  5. chmod 777 on the /var/www/html directory to run importbuddy.php.

  6. Import as per usual.

  7. Test things out and then use the clean-up option from importbuddy.php.

  8. chmod 755 on the var/www/html directory.

You should be good to go.

  • Just wanted to thank you a lot Stooky :)
    I was stuck at this.. because I created a droplet with wordpress (not LAMP), thinking that I have to have wp installed first to restore the backupbuddy copy. Thanks again :)

@tamerca2011 no problem. If everyone shared their little findings through struggles, the world would be a better place!

Ha !

I have just done a restore using BackupBuddy - the ImportBuddy section.

What rubbish !

It has taken 26 hours, yes 26 hours to restore a simple woocommerce site with 5460 products roughly. And then it crashed !!

FATAL PHP ERROR: type => 1
message => Maximum execution time of 120 seconds exceeded
file => C:\Inetpub\vhosts\mysite.com\httpdocs\importbuddy\classes\wp-db.php
line => 1823

So no soft-landing or message to say restart or whatever. No mention of how to continue if that is at all possible. But just a Fatal termination. After 26 hours !

This would be a joke if it wasn't so serious.

It's easy to Backup, but obviously when it comes to actually needing to do a Restore - it's a big Fail to BackupBuddy. Pathetic !!

Have another answer? Share your knowledge.