Skip to main content

Exclude Fles Using cpbackup-exclude.conf Question

Comments

3 comments

  • Infopro
    Have you seen the docs related to this? How to Exclude Files From Backups - cPanel Knowledge Base - cPanel Documentation
    0
  • Ramon E Navas R
    Hi.- Thanks for the help but to exclude all the files * .tar.gz and error_log that are located in any folder of the user only it is added like this: error_log *.tar.gz
    or you have to add some path ? This is the doubt that I have
    0
  • cPanelLauren
    Hi @Ramon E Navas R If you're not going to call the path directly I would include a wildcard as follows: # cat cpbackup-exclude.conf *.tar.gz *error_log
    I tested this to confirm as well anything marked error_log and anything with .tar.gz is excluded from the backup. Thanks!
    0

Please sign in to leave a comment.