Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to throttle backups

Discussion in 'General Discussion' started by flycast, Aug 7, 2016.

Tags:
  1. flycast

    flycast Member

    Joined:
    Feb 20, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    For some reason my backups create a load of 3-7 and take a couple of hours to finish. It runs at 3AM My server load is quite low at all other times (0.1). I don't have nearly enough server when backing up but am absolutely fine the rest of the time. I have had to upgrade servers to be able to get backup to complete which costs money.

    My settings:
    Use Compression
    Backup accounts
    Do not backup suspended accounts
    Do not backup access logs
    Backup bandwidth data
    Do not use local DNS
    Backup system files
    Database:
    Per Account and Entire MySQL Directory

    IS there a backup solution that spreads the backups over a certain period of time?
    I know that I could turn compression off and trade disk space for CPU, I have run out of disk in the past. We hosts churches so there are lots of media files.
    Id there any other solution that experienced admins can offer?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. flycast

    flycast Member

    Joined:
    Feb 20, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Assuming those media files don't change often, why back them up every night needlessly?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. flycast

    flycast Member

    Joined:
    Feb 20, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    I keep one backup. I don't have drive space for more than that. Excluding those files means that I would lose those from the backup.
    Perhaps using the incremental backup would be a better solution? Although I hear there are downsides to that as well.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Correct.

    You can save a Full Website Backup of the account and those media files in it, offline locally and in the event of disaster recovery being needed and you'd have them. Otherwise, you're only backing up the important files that change often, like your website, email and databases. The media files will remain on the account, just wouldn't be backed up any more.

    Excluding them would free up space in your backups, speed up backup time and possibly lower CPU usage during backups. You could check that by setting them up to be excluded as mentioned above, force a backup and watch your system. When complete compare the backup size to the one before it.

    It's just a suggestion of course, I don't have any clue what your media files are and if they update or get added to often or not. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice