Exclude bdr data from dump

From: Roland van Laar <roland(at)micite(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Exclude bdr data from dump
Date: 2016-01-13 20:18:46
Message-ID: 5696B126.5000006@micite.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I want to exclude all bdr data from a database dump.
My command is:

$ bdr_dump -Fp -h localhost -U postgres mydb -f /tmp/mydb.data
--data-only --exclude-table='bdr*

This results in bdr data being included.

Including only bdr results in an error:

$ bdr_dump -Fp -h localhost -U postgres mydb -f /tmp/mydb.data
--data-only --table='bdr*'
bdr_dump: No matching tables were found

Please help.

Roland

Responses

Browse pgsql-general by date

  From Date Subject
Next Message jwiencek3 2016-01-13 20:28:31 Synchronous replication
Previous Message Adrian Klaver 2016-01-13 20:10:15 Re: pg_dump problem with dropped NOT NULL on child table