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.

Backup Drive 100% Full

Discussion in 'Data Protection' started by eleven11, May 7, 2010.

  1. eleven11

    eleven11 Registered

    Joined:
    May 7, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi.

    I did a major cleaning of my server

    /home is about 50%

    My backup drive though is 100% full.

    What can I do to to clean this out and refresh?

    Also - I found approximatley 30% of my drive being eating by massive error_log files - why and how can I avoid this?

    Thanks
     
  2. shaun

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Clemente, Ca
    Dont forget that if your doing daily/weekly/monthly backups that you have three copys of a backup on your backup drive. If the backup drive is not large enough it will end up full.

    Also, when terminating an account, cpanel does not remove the backup. You may have backups stored on your backup drive for accounts that you terminated long ago. We wrote a WHM plug-in that will check and remove these backups after X number of days (configurable in the plug-in).

    check it out, NDCHost - Clean Backups plug-in for cPanel/WHM
     
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    This might be of some use to you:
    Code:
    find /home/*/public_html -type f -name 'error_log' | xargs ls -lad --
    
    (Gives you a list of 'error_log' directory listing sorted by file sizes)
     
Loading...

Share This Page