|
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#excludeYeah, 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/backupI 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 /backupHmm, 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
[Prev in Thread] | Current Thread | [Next in Thread] |