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!

Backup all accounts, exclude home dir of some?

Discussion in 'General Discussion' started by Karabaja, Jun 29, 2009.

  1. Karabaja

    Karabaja Active Member

    Joined:
    Mar 3, 2006
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    We've got 10GB of remote backup storage with our server.
    The problem is there is 2 big accounts, one of them has got home folder at around 50GB.
    So I was hoping there is a way to modify how WHM does backups so I could backup all account normally but exclude home dir of 1 or 2 accounts.
     
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    400
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    You can exclude those accounts completely, but there is no way to just exclude their home dir. You would need a custom script to do this.
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I recommend you read this thread, it will let you know how to exclude directories: http://forums.cpanel.net/f49/make-backups-go-faster-104249.html
     
  4. Karabaja

    Karabaja Active Member

    Joined:
    Mar 3, 2006
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    Thank you. I guess I could set up a cron job to do /scripts/pkgacct excluding the home dir on accounts in question then ftp the files to backup server.
     
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