> On Mar 5, 2020, at 10:13 AM, Troy Denton <tden...@24-7intouch.com> wrote: > > Is onetimecopy still supported in bucardo 5? I'm adding new tables to an > existing sync and want to copy over those tables. The tables exist on both > machines, with data existing in one of them. I can't seem to make it work, > steps I followed: > > bucardo add table <table> relgroup=<relgroup> db=<db> > bucardo validate sync <the sync that uses this relgroup> > bucardo update sync <the sync that uses this relgroup> onetimecopy=2 > bucardo kick <the sync that uses this relgroup> > > Never saw the data copy over, or the 'one time copy' in the status go to > false. I tried reloading that sync [i got an error], stopping/starting > bucardo, and then the status said that onetimecopy was false, but my data had > not transferred. > > I've just manually transferred the data for now, but would like to know the > correct process moving forward.
It *should* work, though I’m curious what error the you mentioned was. I assume the target table was completely empty first if you were trying to use onetimecopy=2? Which Bucardo version? Best, David
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Bucardo-general mailing list Bucardo-general@bucardo.org https://bucardo.org/mailman/listinfo/bucardo-general