You can exclude files and directories from your backups by creating an exclude file in your home directory.
To exclude files or directories, add the files or directories that you wish to skip to the cpbackup-exclude.conf
file inside the /home directory. To exclude specific files, follow these steps:
cpbackup-exclude.conf
in your home directory or directories you wish to exclude.
This file can be created in any plain text editor and uploaded via FTP to your /home directory or you can also create this within the cPanel File Manager.