Exclude Fles Using cpbackup-exclude.conf Question
[I speak Spanish and this consultation in English is translated. Sorry for the possible errors in the translation]
I want to exclude from the backup all files extension * tar.gz and all error_log
How should I include it in the cpbackup-exclude.conf file?
Thank you
-
Have you seen the docs related to this? How to Exclude Files From Backups - cPanel Knowledge Base - cPanel Documentation 0 -
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 have0 -
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.
Comments
3 comments