The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

really long backups

Discussion in 'General Discussion' started by gbh1935, Jan 28, 2006.

  1. gbh1935

    gbh1935 Active Member

    Joined:
    Jun 25, 2005
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  2. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    Its simple, just skip that account from Main >> Backup >> Configure Backup >> Select Specific Users.

    Just uncheck that user. :D
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    198
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Clean up large accounts.
     
  4. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Wht does the weekly backup take any more time than the daily? Same procedure.
     
  5. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    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. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    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.
     
  8. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
  9. gbh1935

    gbh1935 Active Member

    Joined:
    Jun 25, 2005
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    If I change to incrimental from full, will it automatically remove the old gz backups and start fresh?
     
  10. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    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. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Just put in the cron to delete them before it makes the backup.
     
Loading...

Share This Page