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!

WHM Backups & how they work.

Discussion in 'General Discussion' started by shaniac, Mar 7, 2005.

  1. shaniac

    shaniac Registered

    Joined:
    Jun 8, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    I have a question on the WHM backup scripts.
    1. It seems they are accruing, in that what is copied over to the /backup directory is never erased.
    2. If this is so, eventually the /backup directory will fill up. (as mine is about too. :)
    3. Thus I have archived the daily, weekly and monthly backups off to another server, and now would like to delete the contents of the directories in the / backup folder, so the backups can start again.

    So.. My question is, if I delete the (contents of) the daily/weekly/monthly main directories inside the /backup folder, will the backup script notice they are empty, and do a full backup of each / home directory?

    or

    Will the script only continue to backup what files have changed since the last time it ran it's backup script.

    - Thanks
    Shane
     
  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:
    Depends on if you're doing incremental BUs or not I guess. If yours is set to create BUs in tar.gz then you do need to go in and remove the old ones over time.

    Chirpy has a script for checking/removing old backups, http://www.configserver.com/

    If you remove the contents of the backup dirs, it will create new backups next run just as it did before. If it finds none, it will create a full BU per your settings in WHM.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    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