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.

Dont include mail files in the backup??

Discussion in 'Data Protection' started by lutronik, Oct 6, 2016.

Tags:
  1. lutronik

    lutronik Member

    Joined:
    Jul 15, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hello,


    Please, I want remove the mail files from global backups, as I do to not include email files, but maintaining passwords for emails, etc ...?

    I use: /etc/cpbackup-exclude.conf ???
    (for new backup system???)

    This work??

    mail/*/cur/*
    mail/*/new/*

    ???

    I'm trying, but I could not make it work.


    Thank You!!

    Luiz Passarelli
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Email data is stored in the following location:

    /home/$username/mail/$domain/$email-account/

    Thus, you would use these lines if you wanted to exclude the "cur" and "new" directories for every email account:

    Code:
    mail/*/*/cur/*
    mail/*/*/new/*
    Documentation on excluding files from backups is available at:

    How to Exclude Files From Backups - cPanel Knowledge Base - cPanel Documentation

    Thanks!
     
Loading...

Share This Page