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 DWHS.net, Mar 30, 2006.

  1. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    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,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
  3. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page