|
|||
|
cpbackup-exclude.conf format, missing something?
One account has a total of 4 gigs of data, about 3.5 gigs of which are wma and mp3 files located in a directory structure under /home/account/public_html/AudioFiles
In cpbackup-exclude.conf I've tried the following: Code:
/home/jackhw/public_html/AudioFiles /public_html/AudioFiles public_html/AudioFiles AudioFiles ./AudioFiles Am I missing something here? It doesn't appear that the AudioFiles directory tree is being excluded... |
|
|||
|
Oddly enough, placing ALL those entries in at once seems to have done it...
Ok, so WHICH of them should be the correct one? I've seen posts that it should be one of these: Code:
/home/jackhw/public_html/AudioFiles public_html/AudioFiles |
|
||||
|
public_html/<folder to exclude> worked for me when I tested this a while back.
|
|
||||
|
I just had a look at how cpbackup uses those files. It's actually in pkgacct and the file is used as an input to the tar -X (--exclude-from) /homedir/cpbackup-exclude.conf. Each entry in that file needs to be a PATTERN that tar understands. Here's the info page for tar WRT its implemetation of exclude:
http://www.nada.kth.se/cgi-bin/info?(tar.info)exclude
__________________
Jonathan Michaelson cPanel Forum Moderator Need your cPanel servers secured and tuned? cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf http://www.configserver.com |
|
|||
|
Hmmm...
Given that info, it would seem that all of the entries I tried (except the last one) should have worked... ... but may be limited based on the capabilities of pkgacct, which I'm guessing is why this didn't work: Code:
/home/jackhw/public_html/AudioFiles /public_html/AudioFiles ./AudioFiles (not really valid) Code:
public_html/AudioFiles AudioFiles Quote:
![]() Thanks to you both
|
|
||||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|