Solved

exclude file type from cpanel back ups

Posted on 2011-02-12
3
470 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
listing all functions in JavaScript 19 172
AWS vpc peering connection 1 42
nagios monitor 3 41
CentOS 7 Installation 7 57
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…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now