Author Topic: Exclude a directory  (Read 10537 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Exclude a directory
« 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.

Offline
*
Re: Exclude a directory
« Reply #1 on: April 15, 2016, 10:00:36 PM »
you can disable backup for that account and create some custom script for backup
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Exclude a directory
« Reply #2 on: April 20, 2016, 01:20:45 PM »
have you got any script for that purpose?

Offline
*****
Re: Exclude a directory
« Reply #3 on: April 20, 2016, 01:31:56 PM »
for custom request contact cwp support

Offline
*
Re: Exclude a directory
« Reply #4 on: February 05, 2020, 02:11:54 PM »
A native option like cpbackup-exclude.conf 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.

Re: Exclude a directory
« Reply #5 on: February 05, 2020, 02:45:27 PM »
A native option like cpbackup-exclude.conf 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.