Title: [Plugin: BulletProof Security] failed backup
Last modified: August 20, 2016

---

# [Plugin: BulletProof Security] failed backup

 *  Resolved [scobb77](https://wordpress.org/support/users/scobb77/)
 * (@scobb77)
 * [14 years ago](https://wordpress.org/support/topic/plugin-bulletproof-security-failed-backup/)
 * when I tried to backup the htaccess files, i got the following error –
 * Warning: copy(/virtual/users/e14991-15531/web/wp-content/bps-backup/master-backups/
   backup_default.htaccess) [function.copy]: failed to open stream: Permission denied
   in /virtual/users/e14991-15531/web/wp-content/plugins/bulletproof-security/admin/
   options.php on line 325
 * Warning: copy(/virtual/users/e14991-15531/web/wp-content/bps-backup/master-backups/
   backup_default.htaccess) [function.copy]: failed to open stream: Permission denied
   in /virtual/users/e14991-15531/web/wp-content/plugins/bulletproof-security/admin/
   options.php on line 326
    Failed to Backup Your default.htaccess File!
 * How do I fix this?
    Thanks Steve
 * [http://wordpress.org/extend/plugins/bulletproof-security/](http://wordpress.org/extend/plugins/bulletproof-security/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [14 years ago](https://wordpress.org/support/topic/plugin-bulletproof-security-failed-backup/#post-2782759)
 * The copy function is being denied. Most likely your SAPI is DSO. Go to the System
   Info page and check what your Server API is. You will most likely see DSO. If
   you see CGI as your SAPI and the copy function is failing then the folder permissions
   are set too restrictive for either the /wp-content folder or the /bps-backup 
   folder. Check these things and then post your SAPI.
 *  Thread Starter [scobb77](https://wordpress.org/support/users/scobb77/)
 * (@scobb77)
 * [14 years ago](https://wordpress.org/support/topic/plugin-bulletproof-security-failed-backup/#post-2782776)
 * Thanks for the help. SAPI is DSO and the permissions are set to 755.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [14 years ago](https://wordpress.org/support/topic/plugin-bulletproof-security-failed-backup/#post-2782778)
 * Yep. Ok in the next version release of BPS i have scheduled adding additional
   coding for folks using DSO that will allow all the automation in BPS to work 
   without having to do these manual steps below. In other words, whether or not
   your Server is configured for CGI or DSO the automation will work seamlessly.
 * For now you will have to do these steps below manually or you can just manually
   use FTP to download files and then upload them back to your website. ie download
   the secure.htaccess file and then upload it to your website root folder and rename
   it to just .htaccess. The same would apply for the wp-admin .htaccess file.
 * **Steps for folks who have a DSO Server Configuration and that would like to 
   use the Automation in BPS (version .47.2 will do this automatically) instead 
   of using FTP to manually download and upload the .htaccess files.**
 * Create secure.htaccess – Change permissions of secure.htaccess file to 777.
 * Activate security mode root folder – Change permissions of htaccess file to 666
 * Activate security mode admin folder – Change permissions of htaccess file to 
   777
 * Activate Deny All htaccess Folder Protection For The BPS Master htaccess Folder–
   Change permissions of
 * Your_root_folder_location/wp-content/plugins/bulletproof-security/admin/htaccess
   folder to 777
 * Activate Deny All htaccess Folder Protection For The BPS Backup Folder – change
   permissions of htaccess file to 777 located at
 * Your_root_folder_location/wp-content/bps-backup
 * Backup Your Currently Active .htaccess Files – change bps-backup folder permissions
   to 777 at
 * Your_root_folder_location/wp-content/bps-backup
 * Backup Your BPS Master .htaccess Files – change master-backups folder permissions
   to 777 at
 * Your_root_folder_location/wp-content/bps-backup/master-backups
 * Once completed with installation check security status on the Security Status
   page and reset all permissions back to 755 for folders and 644 for files.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: BulletProof Security] failed backup’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-bulletproof-security-failed-backup/#post-2782778)
 * Status: resolved