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
_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki