[slbackup-commit] CVS update: slbackup/src slbackup-cron
werner-guest@alioth.debian.org
werner-guest@alioth.debian.org
Sat, 11 Jun 2005 23:46:53 +0000
User: werner-guest
Date: 05/06/11 23:46:53
Modified: src slbackup-cron
Log:
Revision Changes Path
1.14 +6 -1 slbackup/src/slbackup-cron
Index: slbackup-cron
===================================================================
RCS file: /cvsroot/slbackup/slbackup/src/slbackup-cron,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- slbackup-cron 7 Dec 2004 19:31:56 -0000 1.13
+++ slbackup-cron 11 Jun 2005 23:46:53 -0000 1.14
@@ -267,6 +267,11 @@
# build execute string
$execstr = "rdiff-backup --print-statistics ";
+
+ # support for the --exclude-regexp option to rdiff-backup
+ if (exists ($config->{exclude_regexp}) ) {
+ $execstr .= "--exclude-regexp '$config->{exclude_regexp}' ";
+ }
if (exists ($config->{client}->{$key}->{exclude})) {
if (ref ($config->{client}->{$key}->{exclude}) eq "ARRAY") {