I want to exclude any file that has the word backup in it and is in format of zip , tar.gz from cpanel backup I do not know exactly what I should enter in cpbackup-exclude.conf
I want to exclude any file that has the word backup in it and is in format of zip , tar.gz from cpanel backup I do not know exactly what I should enter in cpbackup-exclude.conf
2
Answers
I contacted cpanel and they told me the following works. Has been tested
So the above will make sure any sql , tart etc that has the word backup in it inside all folders are excluded from backup
You can add “cpbackup-exclude.conf” in a global or user level.
Global:
/etc/cpbackup-exclude.conf
User level:
/home/username/cpbackup-exclude.conf
The entries would be like this: