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.

Excluding Accounts from Backup

Discussion in 'General Discussion' started by Lizardsoft, Apr 18, 2004.

  1. Lizardsoft

    Lizardsoft Active Member

    Joined:
    Nov 10, 2003
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Is there a way to do this? I have one account that has 2 gigabytes of data floating around in it. I have CPanel set to do daily backups. The backing up of this 2GB is causing unnecessary slowdowns of the server each day. The 2GB file is static and doesn't need daily backup.

    Is there a way to exclude an account from CPanel backup?
     
  2. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    Well,

    Two options:

    1) Use incremental backups, if the file is static than it won't be backed up unless it's been changed.

    2) Remove the account from /etc/passwd (not really an option as than the user would not be able to login to cpanel either)
     
  3. Lizardsoft

    Lizardsoft Active Member

    Joined:
    Nov 10, 2003
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    This account doesn't need CPanel access, just ftp and mail. What if I remove it from etc/passwd after creating an extra ftp account in CPanel for it?
     
  4. taco

    taco Member

    Joined:
    Mar 19, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Use the built-in function!

    When you take a look at the /scrpts/cpbackup , you find a line with:
    open(CPBACK,"/etc/cpbackup-userskip.conf");
    This made me think........
    This file doesn't exist usually, but we can work on that!
    Just mention one username on each line.

    It's real simple and very safe for future updates!
    I don't like to mess around in scripts, because you don't know what will be overwritten with newer cPanel versions.

    You all guys will enjoy this option very much! Thank you cpanel-programmers!
     
  5. Lizardsoft

    Lizardsoft Active Member

    Joined:
    Nov 10, 2003
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Unfortunately that screen is broken and only shows the first 10 or so accounts. There's no scrollbar :/
     
  6. taco

    taco Member

    Joined:
    Mar 19, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Not on the edge

    I am running current (WHM 9.2.0 cPanel 9.3.0-C4)
    Without that setting in WHM, but realy working /etc/cpbackup-userskip.conf.:D
    So people who don't live on the edge, or suffer a broken screen, can use this feature too today!:)
     
    #6 taco, Jun 16, 2004
    Last edited: Jun 16, 2004
  7. SageBrian

    SageBrian Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    415
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    NY/CT (US)
    cPanel Access Level:
    Root Administrator
    Using IE, use a full screen window - F11

    That will open the 'broken' tiny window to full screen, complete with scrollbar.

    Untill it is fixed in the next update. :)
     
Loading...

Share This Page