Support » Plugin: All In One WP Security & Firewall » Automated Backups Filling Up Space

  • I got a notice from a client that their hosting space was filled up, and upon inspection it looks like AiOWPSF was creating a backup of the database (99MB each) with every login. I checked the settings, and it’s only supposed to backup once every week.

    Why is the plugin creating such frequent backups and keeping all of them on the server? How do I keep it from doing this?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Contributor wpsolutions

    (@wpsolutions)

    Hi,

    upon inspection it looks like AiOWPSF was creating a backup of the database (99MB each) with every login

    Can you please confirm if this is the case by performing a test and logging in and logging out say 3 times in a row and then check if a backup was created 3 times?
    Let me know what the results are.

    Thread Starter watermelonkid

    (@watermelonkid)

    Of course, it’s not happening right now, but it’s creating 10-20 backups a day. I’m going to wait a bit and see if I can get it to create backup based on site activity now. I’ll follow up tomorrow and provide a screen grab of what has been created.

    Plugin Contributor wpsolutions

    (@wpsolutions)

    Ok thanks.
    Another thing to try is to deactivate and reactivate the plugin. This will reset the wp cron tasks. (note: that upon activation it may create one backup but it should then only create subsequent backups based on your settings)

    Thread Starter watermelonkid

    (@watermelonkid)

    OK, in the last 3 hours it has added two more backups, each almost 100MB each.

    Backups

    Plugin Contributor wpsolutions

    (@wpsolutions)

    What are the exact configuration settings you have saved for the backup task?

    I can confirm this same bug as it backs up every hour and keeps all its backup regardless of its settings (week, day, hour). We came to know this bug when our current hosting company blocked our upload ability due to over 20GB storage limit.

    Our current setup is :

    Backup Time Interval: 1 Week(s)
    Number of Backup Files To Keep: 2
    Version: 4.1.9

    @dacodekid Do you have logging in the plugin enabled (Settings > General Settings > Debug Settings > Enable Debug)? If so, can you post contents of your log files here (Dashboard > AIOWPS Logs)?

    @chesio no it wasn’t enabled and I also unchecked the auto backup (for now). Just enabled both and would appreciate where I can get this debug info (sorry but I’m not a WP dev).

    You should find it under AIOWPSF menu > “Dashboard” page > “AIOWPS Logs” tab 🙂 Thanks!

    Yea.. found that already right after I posted the comment (and felt stupid :D). However there is nothing on the CRON job log except the below. If its going to take a while to generate more, wouldn’t mind to keep an eye on it… and post more here.

    [11/10/2016 2:17 PM] – SUCCESS : DB Backup – Scheduled backup is enabled. Checking if a backup needs to be done now…

    Yes, please post contents of both logs here as soon as you notice that excess backup files are created again by the plugin.

    This problem is hard to debug as none of the plugin authors can reproduce it in his environment, so it would help to get as much information as possible. Thanks once more!

    Alright it already generated two backups (one when I reenabled). Here are couple SS & CRON log (security log is empty).

    Backup Files

    Backup Settings

    LOG
    ==========
    [11/10/2016 2:17 PM] – SUCCESS : DB Backup – Scheduled backup is enabled. Checking if a backup needs to be done now…
    [11/10/2016 3:17 PM] – SUCCESS : DB Backup – Scheduled backup is enabled. Checking if a backup needs to be done now…

    Thanks! I have some more things to ask you:

    1) Do you have normal or multisite installation?

    2) Are the backups created with .sql or with .zip extension?

    3) Do you have option “Send Backup File Via Email” activated? If no and if your backups are of reasonable size, could you please activate it and let me know, if you get backup file by email everytime new backup file is created?

    4) Are the backup files readable? Can you import them into some temporary database just to check if they can be imported without errors?

    1. Just one site

    2. Are .sql files (plz see the screen shot. It is not showing here.. but “Open Image in new Tab” works).

    3. It is 90mb. I’ll give it try.

    4. Haven’t tried this as I don’t have a local WP setup (overlooking this site for a friend). Will try this weekend if needed.

    Sorry, didn’t notice there’s an image, but I can see it now 🙂

    Those are pretty huge files! Can you check, what happens if you try to manually “Create DB Backup Now” (on the Database Security page)? My guess is that the backup file creation fails in the process (due memory issues or more likely due a server time out) and, as a result, the subsequent “clean old backup files” routine does not get to run, there are no failure messages in the log and last backup timestamp is not updated.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Automated Backups Filling Up Space’ is closed to new replies.