Title: Automated Backups
Last modified: August 22, 2016

---

# Automated Backups

 *  [animagic](https://wordpress.org/support/users/animagic/)
 * (@animagic)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/automated-backups/)
 * I’m having an issue with the automated backup feature of the plugin. The manual
   backup works just fine, to email and to backup folder alike. The automated backup
   does not work at all and hasn’t in quite some time, spanning across multiple 
   versions of the plugin and WordPress (WP 3.9.1 – 4.0 and AIOWPS 3.8.0 to 3.8.5)
   Is there anything specific that needs to be enabled on an Linux box/apache server
   to enable the automated backup to function correctly?
 * Also, is there a way to specify a specific server/directory for the backups to
   be placed in. I am guessing editing this line (for a non-multisite):
 * $aiowps_backup_dir = WP_CONTENT_DIR.’/’.AIO_WP_SECURITY_BACKUPS_DIR_NAME;
 * But will it actually function without blowing up the plugin?
 * [https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

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

 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/automated-backups/#post-5467466)
 * [@animagic](https://wordpress.org/support/users/animagic/),
    I am assuming you
   have the automatic backup enabled. What is the backup interval set to?
 * Can you please check the log file called “wp-security-log-cron-job.txt” to see
   if it has the following entry:
    **DB Backup – Scheduled backup is enabled. Checking
   if a backup needs to be done now…**
 * I want to first establish if the cron job for the DB backup is at least firing.
 *  Thread Starter [animagic](https://wordpress.org/support/users/animagic/)
 * (@animagic)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/automated-backups/#post-5467547)
 * I have the backup interval set to every 1 Day, with Keep 30 and it is enabled.
   I have tried every 1 Hour, 2 Days and a few other intervals but nothing works.
   It also looks like the wp-security-log-cron-job.txt file is empty as if it’s 
   never even fired before. This goes for all 4 locations of the file.
 * Web Server 1 – Development and Production directories (with singular installs
   of AIO Security, not a multi-site install)
    Web Server 2 (redundant mirror) –
   Development and Production directories
 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/automated-backups/#post-5467559)
 * Looks like somehow the cron job has not been scheduled on your site.
 * Try deactivating and reactivating the AIOWPS plugin from the “Plugins” menu.
   
   This action should start all WP cron schedules. Then check the “wp-security-log-
   cron-job.txt” file and make sure that you see a log for the cron job.
 *  Thread Starter [animagic](https://wordpress.org/support/users/animagic/)
 * (@animagic)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/automated-backups/#post-5467584)
 * Still not having any luck. Reactivate and deactivate does not write to the cronjob.
   txt file. I’ve looked at the cronjob-handler.php file and related files and I
   don’t see any errors in my files either. I can’t speak for the previous developer
   before me but I don’t see any edits or changes to the files so they should all
   be base install .php files. Possibly uninstall and reinstall the plugin?
 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/automated-backups/#post-5467592)
 * Yes try deactivating and deleting the plugin and then re-installing.
    If still
   no luck, you should then try testing to see if another plugin is interfering –
   ie, deactivate all plugins (including AIOWPS) and then only activate the AIOWPS.
   Then check that log file again.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/automated-backups/#post-5467697)
 * Hi animagic how are you going with this issue?
 *  Thread Starter [animagic](https://wordpress.org/support/users/animagic/)
 * (@animagic)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/automated-backups/#post-5467700)
 * Hi there,
 * I have not looked at the issue lately as I have been doing manual updates nearly
   daily anyways. After looking through my files, I still have no automated backups.
   I am guessing there is a cross-server issue. My SQL DB has its own server and
   is not on the same server as WordPress is so the WordPress server would have 
   to FTP the backup file from the SQL server to the Web server which is where the
   issue lies.

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

The topic ‘Automated Backups’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [animagic](https://wordpress.org/support/users/animagic/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/automated-backups/#post-5467700)
 * Status: not resolved