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.

Incremental backup, how can I remove domains back ups after the domain is removed.

Discussion in 'General Discussion' started by WebHostPro, Mar 30, 2006.

  1. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,605
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    The Incremental backup too doesn't remove the back up file when you terminate a domain.

    Didn't realize this and as you can imagine I now have over 100 domains that are not on our servers anymore but still are taking back up space.

    Is there a way to check if the site is on the server and if not remove the back up data?

    maybe a line of code or perl script that checks the username in the back up folder then checks the username in the cpanel users file and if they don't match remove the back up folder for that domain.

    I know it's sounds like allot but just tossing around ideas right now.

    Thanks
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,602
    Likes Received:
    51
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
  3. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,605
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page