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.

Disabling backup

Discussion in 'General Discussion' started by petfut, Nov 23, 2007.

  1. petfut

    petfut Well-Known Member

    Joined:
    Feb 14, 2005
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Is there anyway to switch backup off automatically for newly created accounts?
    When creating an account, cPanel automatically adds account to backups, we'd like it to be off as default and add it to u sers afterwards if needed.
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Add a line to /scripts/legacypostwwwacct that adds the user name to the end of /etc/cpbackup-userskip.conf


    For example (untested):
    Code:
    #!/bin/bash
    
    echo $ARGV[1] >> /etc/cpbackup-userskip.conf
    
     
Loading...

Share This Page