• Resolved davidplusworld

    (@davidplusworld)


    Recently doing a backup of my site has becoming longer and longer. And now it has become quite extreme. I started one about 10 hours ago, and it’s still going on.

    At the same time, the Physical Memory Usage and I/O usage of my server are reaching 100%.

    Note that I have disabled wp-cron.php (otherwise CPU usage gets too high -unrelated to Updraftplus) and added cron jobs through cpanel.
    I was also advised to add this line in wp-config : define(‘UPDRAFTPLUS_NO_BINZIP’, true); to make things faster, and it’s not working.

    Finally note that I have several sites and the issue has been happening to all the sites that use Updraftplus so far.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi David,

    There are ways to reduce or limit the resource usage, see FAQ here: https://updraftplus.com/faqs/how-much-resources-does-updraftplus-need/

    Regards,
    Bryle

    Thread Starter davidplusworld

    (@davidplusworld)

    I read this page before posting and doing/done the things I can do on it. Didn’t make a big difference.
    The entire backup ended up taking more than 12 hours.

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi David,

    The amount of time and resources that a backup takes is the outcome of the size of the site, and the amount of resources the hosting provider provides. All backup plugins ultimately do the same thing: 1) Read the data from the files and database 2) Write the data out to the backup files. The things that are tweakable to vary that are in the link above. If your site is not huge, and takes that long, then that’ll mean that your web hosting company places very low limits on the amount of resources you can use up in a given time unit, so presumably you’re on budget hosting?

    N.B. Seeing 100% disk I/O is normal when performing any task that involves reading a non-trivial amount of data. Maximum I/O is less than the size of the site, so the I/O channel will get fully used in order to read/write it all. I/O isn’t a thing you “use up” (“oh no, it’s 100% used up”), it’s a thing that’s either in use or not in use at a given time.

    David

    Thread Starter davidplusworld

    (@davidplusworld)

    Thanks for the information.

    The site is pretty big (around 4GB) but it used to take a couple of hours max to backup.
    I’ll keep on investigating and I’ll ask my hosting provider (I changed hosting recently but the issue started to occur shortly before that actually)

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    P.S. This isn’t good advice:

    I was also advised to add this line in wp-config : define(‘UPDRAFTPLUS_NO_BINZIP’, true); to make things faster,

    ‘Binzip’ (i.e. the zip binary on the server) is the most resource-efficient of the three available zip engines. It does, however, use more memory (balanced by using less CPU and consequently less wall-clock time), because it runs an external process; whereas the other two run inside the PHP process, and therefore are always limited to whatever you’ve set your memory_limit maximum to be in your PHP settings. (That’s enforced by PHP).

    David

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Backup is taking hours and uses a lot of CPU resources’ is closed to new replies.