Fought this all day myself and have a 2nd solution.
- I have my BWS set to basic settings, nothing too crazy.
- Keep BWS enabled and run your backups as normal. I do manual; haven’t tried scheduled.
- Download the backup and importbuddy.php file. Upload them on your server (MAMP in my case.)
- When the ImportBuddy process throws an error, then go into your (now extracted) files and 1) go to /wp-content and create “plugins-x” (or whatever you want) and move the “better-wp-security” to the new folder which basically deactivates it and 2) change the permissions on your .htaccess file (in the main folder) to allow User to Write ( more if necessary) and 3) delete all the BWS code from that .htaccess file.
- Keep running ImportBuddy.
- Log into your site using Mysite.com/wp-admin (the standard link).
- Go to Settings > Permalinks and click save. You don’t have to change the settings, just save it. (You’ll find you need to do this for a a host of errors on WP, almost for sure when you can’t access any page but the home page).
Hope that saves time for others!