Unable to Create DB Backup
-
I have done a brand new clean installation using the most recent download of WordPress and the AIO plugin to try to troubleshoot this, but I’m still having issues. I have WP installed in a directory, and not in the root of the domain.
Here is my process:
Manual clean/default installation of WP and AIO Plugin — no other plugins (except for Akismet) are activated. No multi-site settings – just a single site setup. This is hosted on my own server (not a hosting company), so I have full control.
In order to do the initial setup of the AIO WP Security, I manually change the permissions to 666 on .htaccess and wp-config.php to make all the settings updates/changes I’d like from the admin panel. After making the changes, I set .htaccess and wp-config.php back to 644/440, respectively. The setup will not work without doing this — assuming this is intentional for security purposes?
Note: Even with the wp-config.php set to 755 or 777 (temporarily), I’m unable to disable the PHP file editing, and had to add “define(‘DISALLOW_FILE_EDIT’, true);” manually to that file.
I am able to do a backup of the wp-config.php file from the settings tab (it prompts to save to my computer). However, I get an error “htaccess backup failed.” when trying to backup .htaccess. This is not a big deal since I can back them up via FTP if/as needed.
My biggest issue is that I am not able to do a DB Backup. I get the following error: “DB Backup failed. Please check the permissions of the backup directory.”
All of my permissions are set correctly. All files/folders are set to 644/755, respectively, with the exception of wp-config.php which is set to 440.
Note: I did tried “hardening” my site per WordPress recommendations 640 for files and 750 for folders, but it broke the site; so I’m using 644/755 defaults for everything except for the wp-config.
What have I missed??
Jennifer
- The topic ‘Unable to Create DB Backup’ is closed to new replies.