rdiff-backup-users
[Top][All Lists]
Advanced

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

[rdiff-backup-users] Re: How do I specify the following?


From: Evert
Subject: [rdiff-backup-users] Re: How do I specify the following?
Date: Tue, 12 May 2009 19:54:56 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

Evert wrote:
Jakob Unterwurzacher wrote:
Daryl Styrk schrieb:
On Sun, May 10, 2009 at 11:04:49PM +0200, Evert wrote:
Daryl Styrk wrote:
With the --exclude option. http://www.gnu.org/savannah-checkouts/non-gnu/rdiff-backup/examples.html#exclude

Yeah, I figured that much... ;-)
But what would the exact syntax be?
What have you tried? ;)
Something close to rdiff-backup --exclude /foo/bar/file* /foo /dest/of/backup


I think that should be

rdiff-backup --exclude '/foo/bar/file*' /foo /dest/of/backup

(note the quotes)

And, well, the whole command is this:

rdiff-backup --exclude '/home/virtual/dovecot*' /home/virtual /backup


Hmm, the problem is that there are no dovecot* files present in /home/virtual itself, but they do appear in the many sub-directories.



Jason provided me with the correct syntax:

***************
To skip anything within the backup path that matches try something like

rdiff-backup --exclude '**dovecot**' /home/virtual /backup

The documentation is a bit slack on it - you need to infer that the
--include option would work the same way for the --exclude.
***************

Thanks, Jason and anyone else who replied!  :-)


Greetings,
        Evert





reply via email to

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