Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Jun 2005
    Posts
    25

    Default really long backups

    When I do my weekly backup the process will peg my box for almost 12 hours. The backup that appears to take the longest is the backup of a multiforum site that has about 20,000 tables in a mysql database. Do you have any tips on shortening the backup time?
    George Baker Hubka -- AtTheBoard.com AtTheForum.com
    Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit ...

  2. #2
    Member Murtaza_t's Avatar
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    471

    Default

    Its simple, just skip that account from Main >> Backup >> Configure Backup >> Select Specific Users.

    Just uncheck that user.

  3. #3
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Clean up large accounts.

  4. #4
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    Wht does the weekly backup take any more time than the daily? Same procedure.
    Lloyd F Tennison

  5. #5
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default

    I believe it would depend on the type of backup. If it's incremental backup, i think weekly backup run would take longer ... just a guess. I have incremental backup set and weekly backup's do take a bit longer than daily one's.

    Anup

  6. #6
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    AFAIK, the backups are the same. I know all the file dates and sizes are the same. I believe it just copies the files over to weekly when it it done, and that is why it takes longer.
    Lloyd F Tennison

  7. #7
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Yup, the backup does the most frequent one first (usually daily) and then simply uses rsync to copy daily/ to weekly/,etc - might take longer due to I/O contention.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  8. #8
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    I do a incremental backup which then means it does not tarball and gzip and uses rysnc instead. Much less load and a lot faster. I also use a different rotation scheme - I use either rdiff-backup or rvm. That way I can keep backups for over a month in the same or less space than daily weekly monthly.

    Obviously more disk space, but disks are much cheaper than time.
    Lloyd F Tennison

  9. #9
    Member
    Join Date
    Jun 2005
    Posts
    25

    Default

    If I change to incrimental from full, will it automatically remove the old gz backups and start fresh?
    George Baker Hubka -- AtTheBoard.com AtTheForum.com
    Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit ...

  10. #10
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    Quote Originally Posted by gbh1935
    If I change to incrimental from full, will it automatically remove the old gz backups and start fresh?
    It will leave them alone. You'd have to delete them if you don't want them any more.

    WHM/cPanel has no way of knowing that you don't want to keep the old backups.

  11. #11
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    Just put in the cron to delete them before it makes the backup.
    Lloyd F Tennison

Similar Threads & Tags
Similar threads

  1. cpbackup - no backups - thinks backups are up to date
    By santrix in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-14-2011, 08:00 AM
  2. This is long, but I need help
    By paradiseinvegas in forum Security
    Replies: 6
    Last Post: 01-20-2009, 05:32 AM
  3. FREEBSD: Configured backups only gives us DAILY BACKUPS!
    By jackie46 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-23-2006, 09:13 AM
  4. Backups Are Taking Too Long!
    By TheRaven in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-21-2005, 08:49 AM
  5. Backups created with users ID, also Weekly Only backups
    By tkoweb in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-10-2004, 08:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube