?
Solved

exclude file type from cpanel back ups

Posted on 2011-02-12
3
Medium Priority
?
487 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month8 days, 12 hours left to enroll

764 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