WordPress clone site using backup buddy

Updated 20170228

Since the process below we installed WordFenc, after restoring we cannot get to the restored site, it is returning a 500 Internal Server Error

The restore warns us that there is a php.ini (used in the source site for firewall protection)

Also the siteground source site, to enable wordFence firewall we had to use CPanel add php vars to create the new php.ini file.  When actioned I notice this also in .htaccess added:

SetEnv PHPRC /home/mecha4ma/public_html/php.ini

Before the backup I disabled the firewall in the source site…

On the target site I simply replaced the .htaccess file as per before and we are good to go (removing the above line as a result)

(there seems to be no need to remove the php.ini file



Woocommerce site using some plugins

  • Need to clone site prior to upgrades to test updates + new/updated plugins
  • Will clone to a non public sub domain (on another random site base domain) so no public access

Manual procedure (phase 1)

  • Source site:
    • Install Backup buddy
    • Set password in BackupBuddy settings
    • Do a full backup
    • Download backup.zip
    • From BackupBuddy Restore/migrate link download importbuddy.php
  • Target site hosting folder:
    • upload above backup .zip
    • upload above importbuddy.php
  • Target host url
    • browse to url/importbuddy.php
      • Enter above password, accept defaults
      • At DB options:
        • enter connection details per target
        • delete all
      • At URL setings, accept change from source to target
  • Target site hosting folder:
    • Use FTP tool to replace source .htaccess with a non SSL version (Arrrg. and I cannot get the below snippet to stop escaping < > when using pre tags)
      # BEGIN WordPress<br /> <IfModule mod_rewrite.c><br /> RewriteEngine On<br /> RewriteBase /<br /> RewriteRule ^index\.php$ &#8211; [L]<br /> RewriteCond %{REQUEST_FILENAME} !-f<br /> RewriteCond %{REQUEST_FILENAME} !-d<br /> RewriteRule . /index.php [L]<br /> </IfModule></p> <p># END WordPress


  • Payments methods must be set to test if possible or disabled:
    • Woocommerce->Settings->Checkout->Paypal
      • Enable PayPal sandbox