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.

Exclude account has more than xx GB from backup auto

Discussion in 'General Discussion' started by activa, Mar 4, 2013.

  1. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    Hello

    is there any option (tip) to exclude account that has more tha XXX GB in qouta from backup ?

    is there any option (tip) to exclude some extention like .mp3 from backup in all acount ?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. _El_Chojin_

    _El_Chojin_ Member

    Joined:
    May 22, 2009
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    For the first you will need to develop it, i know that Hostgator.com has that option for if the account size if more than xxGb or if the user has more than xx inodes on the homedir.

    Maeby this can be done with a hook on the backup function.

    Other possible approach to this could be make a shell script that runs every day for example, and calculate the homedire size, and if is bigger than xxGb call a script that will execute for example a cpanel script that will disable that account from the account lists to backup, i think this could be much more easier than the hook.
     
Loading...

Share This Page