If BackupBuddy is timing out it is because of the new settings that Panthur has made. To fix this:
- Login to the ftp of the website and copy the .htaccess file.
- Add to the top of the .htaccess file the code below (for an example see the bottom of this post):
<IfModule litespeed>
RewriteEngine On
RewriteRule .* – [E=noabort:1]
RewriteRule .* – [E=noconntimeout:1]
</IfModule> - Overwrite the .htaccess file of the website with the new edited file.
- Run BackupBuddy.
When restoring the website on another server you will need to:
- Copy over the backup zip and importbuddy.php
- Go into cpanel and manually extract the file.
- Check that the .htaccess file still has the code above.
- Proceed through the importbuddy steps.
- At the database import step, check that the .htaccess file is still there (as it may get edited to be a temp file).
- After testing the database settings and clicking next if there is a php error you will need to check the .htaccess file again then click back and try again.
Example of .htaccess file:
# BEGIN WordPress
<IfModule litespeed>
RewriteEngine On
RewriteRule .* – [E=noabort:1]
RewriteRule .* – [E=noconntimeout:1]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress