Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

exclude file type from cpanel back ups

Posted on 2011-02-12
3
Medium Priority
?
490 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 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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month20 days, 21 hours left to enroll

810 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