Solved

exclude file type from cpanel back ups

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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 …
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…
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.

726 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