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!

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:
    8
    Likes Received:
    0
    Trophy Points:
    151
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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