Control Web Panel

WebPanel => Backup => Topic started by: alafurtanfuni on April 14, 2016, 02:00:21 PM

Title: Exclude a directory
Post by: alafurtanfuni on April 14, 2016, 02:00:21 PM
Hi,

How can i ignore a directory?

For example /home/user/video directory has 5k videos, i do not want to backup the video directory.

Thanks for your replies.
Title: Re: Exclude a directory
Post by: Administrator on April 15, 2016, 10:00:36 PM
you can disable backup for that account and create some custom script for backup
Title: Re: Exclude a directory
Post by: alafurtanfuni on April 20, 2016, 01:20:45 PM
have you got any script for that purpose?
Title: Re: Exclude a directory
Post by: Sandeep on April 20, 2016, 01:31:56 PM
for custom request contact cwp support
Title: Re: Exclude a directory
Post by: Teo on February 05, 2020, 02:11:54 PM
A native option like cpbackup-exclude.conf (https://documentation.cpanel.net/display/CKB/How+to+Exclude+Files+From+Backups) for cPanel could be very useful.
I use it to excluding cache files using a pattern, so I can save a lot of backup space and speeding up the backup operation.
Title: Re: Exclude a directory
Post by: ejsolutions on February 05, 2020, 02:45:27 PM
A native option like cpbackup-exclude.conf (https://documentation.cpanel.net/display/CKB/How+to+Exclude+Files+From+Backups) for cPanel could be very useful.
I use it to excluding cache files using a pattern, so I can save a lot of backup space and speeding up the backup operation.
Agreed, exclusions are an essential part of any backup regime and is standard practice. Otherwise it's just an amateur approach.