Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-20-2004, 12:15 PM   #1
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 121

Rep: Reputation: 16
Rsync backups - how not to backup TV recordings

On my home network, consisting of three Win2k/XP machines, and one Mandrake 10.0 machine, I use the Linux machine mainly for backup, and it has a 40Gb hard drive dedicated to backing up.

I use rsync to backup the important files, and use cron to run a script that I wrote, which specifies which directories to backup, and writes a log file.

I have a problem, however: two of the Windows XP computers have television cards, and both are often used to record television programmes onto their hard drives (80Gb and 160Gb respectively). When these recordings are backed up (they are about 2.5Gb per hour...), they fill up my backup hard drive.

They are set to record, logically enough, in ...\My Documents\My Videos. What I want to be able to do is tell rsync either to skip the \My Videos subfolder of \My Documents all together (whilst backing up everything else in \My Docuements, even if subdirectories are added after I write the configuration file), or not backup any file ending in .mpg that is more than 1Gb in size, or, even better, tell it not to back up any file ending in .mpg that is more than 1Gb in size in the \My Videos subfolder that has been modified more than 36 hours ago, and to delete any backup of any such file that was backed up 24 hours ago or more.

Does anybody have any ideas how I might acheive that?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync and cp -al for staggered backups babyphil Linux - Software 2 06-14-2005 12:24 AM
rsync as backup? ziggie216 Linux - Software 3 03-13-2005 02:22 PM
Backups with rdiff - how different from rsync? Donboy Linux - Software 1 07-30-2004 10:54 PM
Rsync for incremental backups? Phaethar Linux - Software 3 12-04-2003 01:27 PM
rsync backup... tarballed Linux - Networking 10 06-27-2003 10:43 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration