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.

Don't back up the suspended accounts

Discussion in 'Data Protection' started by afernandez, Jun 27, 2009.

  1. afernandez

    afernandez Member
    PartnerNOC

    Joined:
    Jun 3, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi, That is my question, if Is it possible to don't back up the suspended accounts?
    Thanks for your answers.
     
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    There isn't a way right offhand to do this, but as always in cPanel, there is a way.

    If you use the XMLAPI to make you a list of suspended users you could dump that list into your backup skip list in /etc. You would also need to put any users you suspend for any other reasons in the file too, or keep a separate file with those and dump them both in to /etc/cpbackup-userskip.conf.
     
Loading...

Share This Page