• Resolved mattf10

    (@mattf10)


    I’ve had partial success with the backup tool. If I run it from wp-admin, it fails to finish creating the zip (either scheduled, or ASAP). However, it works if I run the back-up from the command line (wp dreamobjects backup).

    Site info:

    WP version: 4.1
    PHP version: 5.4
    Dreamhosts, shared hosting

    Here is the log message when it fails to create the backup:

    [2015/01/26 04:07:34] Scheduled ASAP backup in 60 seconds.
    [2015/01/26 04:08:39] Begining Backup.
    [2015/01/26 04:08:39] Upgrade folder missing. This will cause serious issues with WP in general, so we will create it for you.
    [2015/01/26 04:08:39] ZipArchive found and will be used for backups.
    [2015/01/26 04:08:39] Calculating backup size…
    [2015/01/26 04:08:39] 756 MB of diskspace will be processed.
    [2015/01/26 04:08:40] 8786 files added to backup list.
    [2015/01/26 04:08:40] wp-config.php added to backup list.
    [2015/01/26 04:08:42] SQL file created: /home/donnymoss/their-turn.com/wp-content/upgrade/dreamobject-db-backup.sql (39 MB).
    [2015/01/26 04:08:42] SQL added to backup list.
    [2015/01/26 04:08:42] Creating zip file using ZipArchive.
    [2015/01/26 04:08:42] NOTICE: If the log stops here, PHP failed to create a zip of your wp-content folder. Please consider cleaning out unused files (like plugins and themes), or increasing the server’s PHP memory, RAM or CPU.

    When running via the admin, I can see the zip file is created, and continues to grow for about two minutes, then stops.

    I have created a phprc file with the following params:

    memory_limit = 128M
    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 1000
    max_input_time = 1000

    The site is: https://theirturn.net/

    Thanks in advance.

    Matt

    https://www.ads-software.com/plugins/dreamobjects/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    At 756 mb, you’re likely running out of php memory. Is this on a shared server?

    Thread Starter mattf10

    (@mattf10)

    Yes it is. Should I up the php memory limit again?

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    No, sadly at memory_limit = 128M you’re pretty much maxing out what it can do. That said, I have a theory. What other plugins are you running?

    Thread Starter mattf10

    (@mattf10)

    There are quite a few :-(. Here is a list:

    Advanced Custom Fields
    Akismet
    AutoChimp
    Constant Contact Widget
    Contact Form 7
    Custom Permalinks
    DreamObjects Backups
    EWWW Image Optimizer
    Facebook Comments
    Gravity Forms
    Microblog Poster
    NextCellent Gallery
    Recent Posts Widget Extended
    Recent Tweets Widget
    Relevanssi
    Slingpic
    Store Locator Plus
    Store Locator Plus : Enhanced Results
    Store Locator Plus : Pro Pack
    Store Locator Plus: Widget Pack
    Subscribe to Comments Reloaded
    Unveil Lazy Load
    Wordfence Security
    WordPress SEO
    Yet Another Related Posts Plugin

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    That’s actually really helpful!

    Wordfence Security and Yet Another Related Posts Plugin can use a lot of memory. I wonder if the backup would run if those were disabled.

    Thread Starter mattf10

    (@mattf10)

    I can’t test that now since it’s a live site, but I will do so tomorrow morning and report back. But even if turns out to be one or the other, I can’t really disable them permanently.

    Since the command line version works for me, is there any reason I can’t create a cron job and run it from there instead of through the admin?

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Nope, no reason at all ??

    The command line is there because it runs without as much plugin interference. Also I love command line.

    Thread Starter mattf10

    (@mattf10)

    It didn’t work even with both those plugins deactivated. Both times, the zip stopped at around 400Mb.

    I will switch to command line via cron.

    Thanks

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Thank you, I’m going to build out a shared box with this list of plugins and see if I can narrow down what’s going on. It may be one of those perfect storms of PHP pukeage :/

    I hate PHP memory limits.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Backup fails from wp-admin, but works via command line’ is closed to new replies.