[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] help with command line

From: Jakob Unterwurzacher
Subject: Re: [rdiff-backup-users] help with command line
Date: Tue, 08 Jun 2010 01:04:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100423 Thunderbird/3.0.4

On 08/06/10 00:37, Steven Adeff wrote:
> perfect, thanks!
> second question...
> so I have a directory,
> /media/storage/2/Music/Music
> of which I have some specific folders I want to rdiff-backup to one drive,
> /media/storage/1/Music
> and all the rest I want to rdiff to another drive. So I understand I
> can use the exclude command for the second case with an exclude file
> like such:
> rdiff-backup --exclude-globbing-filelist rdiff-music.globlist
> /media/storage/2/Music/Music/ /media/storage/3/Music
> but what is the best way to tell rdiff-backup that I want to only
> backup the specific set of directories in that globlist file?
> If I use it as an include-globbing-filelist it complains that
> including is it's normal action, but I don't quite get how to tell it
> to exclude everything *but* what I want it to include.

You'd do that by including some files and then excluding everything.
 rdiff-backup --include /foo/onlythis --exclude /foo /foo /dest

For more, see "FILE SELECTION" in
http://rdiff-backup.nongnu.org/rdiff-backup.1.html , it's quite well


reply via email to

[Prev in Thread] Current Thread [Next in Thread]