Solved

exclude file type from cpanel back ups

Posted on 2011-02-12
3
481 Views
Last Modified: 2012-05-11
I need to exclude .flv file types from my cpanel backups by doing the following:

http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/CpbackupExclude

However I'm not sure what the command should be. Is it...

*/.flv

Does the above mean exclude files that end with ".flv" ?
0
Comment
Question by:petewinter
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 34884102
Hi,

according to the link you posted the entry in /home/user/cpbackup-exclude.conf should be:

*/*.flv

Note the second asterisk *!

The first one "wildcards" any leading directory/directories, the second one is a wildcard for any filename preceeding ".flv".

wmp
0
 

Author Comment

by:petewinter
ID: 34884337
Many thanks. I will try that with tonights's back up a see if it works. I will come back to you tomorrow,
0
 

Author Closing Comment

by:petewinter
ID: 34886053
Perfect. Many thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question