Board index Cpanel / WHM Backup

How to exclude certain files from cpbackup?

Postby a24uall » Mon Jul 09, 2012 11:38 am

Exclude for a particular user
Login to his home folder
cd /home/USERNAME/

Open the file named "cpbackup-exclude.conf" and add the file name that you wish to exclude.

vi cpbackup-exclude.conf

cpmove-idirs.tar.gz
backup.tar.gz


If you have to exclude that server wide open
vi /etc/cpbackup-exclude.conf

Add the file name something as mentioned below :

*/.wysiwygPro_*
*/core.[0-9]
*/core.[0-9]*
*/core.[0-9][0-9]
.cpanel/caches
.sqmailattach
.wysiwygPro_*
core.[0-9]
core.[0-9][0-9]
public_ftp/.ftpquota
Arun
WebhostingDevelopment.com
a24uall
Site Admin
 
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Return to Backup

Who is online

Users browsing this forum: No registered users and 0 guests


cron