There are some other related issues, but might as well fix this up in a commit.
authorGreg Sabino Mullane <greg@endpoint.com>
Wed, 14 Mar 2012 12:58:00 +0000 (08:58 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Wed, 14 Mar 2012 12:58:00 +0000 (08:58 -0400)
Bucardo.pm

index 2bbf9a39e9f128316323f2238f41dbf8a95910ee..9e94f52005480234ac0281a474d07174862fad1b 100644 (file)
@@ -2066,7 +2066,7 @@ sub start_kid {
         ## If in onetimecopy mode, this is always forced to be empty
         ## Likewise, no point in populating if this is a fullcopy sync
         push @dbs_delta => $dbname
-            if $x->{role} eq 'target'
+            if $x->{role} eq 'source'
                 and ! $sync->{onetimecopy}
                     and ! $sync->{fullcopy};