From: Michael Paquier <michael@paquier.xyz>
To: shaurya jain <12345shaurya@gmail.com>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15893: pg_dump is not working like as postgres version 10
Date: Fri, 19 Jul 2019 18:44:51 +0900
Message-ID: <20190719094451.GA6984@paquier.xyz> (raw)
In-Reply-To: <CAHHJ3NTpLD+2rhK+Zok-NRc+2UF_HSZiCdyGUCaTbWEmzoO12g@mail.gmail.com>
References: <15893-9b899d18cad24716@postgresql.org>
<20190704074609.GO3084@paquier.xyz>
<CAHHJ3NTqCxGj=uUX1R-1qz602i9-AE3gu7EDz1sL2FYZAOUf_A@mail.gmail.com>
<D6EFC5AA-CD25-4394-B2AD-646C616AEED2@yesql.se>
<20190719025058.GF1859@paquier.xyz>
<CAHHJ3NTpLD+2rhK+Zok-NRc+2UF_HSZiCdyGUCaTbWEmzoO12g@mail.gmail.com>
On Fri, Jul 19, 2019 at 12:22:36PM +0530, shaurya jain wrote:
> My concern is so simple that the below command is taking full instance
> backup in version 10 and in 11 it is taking only Postgres DB backup.
>
> pg_dump -U postgres -Fc >> all_db_04_07_2019.dump --verbose
>
> Kindly suggest me some way to take full instance back up and restore a
> particular DB.
Please do not top-post. This is not the style of the PostgreSQL
community mailing lists.
I am afraid that you still are giving zero clue about what is going
wrong. Giving a command does not help. Giving information about the
error happening does help, and pg_dump reports any errors when it
normally words, even if you use incorrect credentials to connect to
PostgreSQL. Are you sure for example that your database user is the
correct one? Without this information, nobody will be able to
understand what is wrong and help you. If you do not know how to
capture errors from stderr, well...
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: michael@paquier.xyz, 12345shaurya@gmail.com, daniel@yesql.se
Subject: Re: BUG #15893: pg_dump is not working like as postgres version 10
In-Reply-To: <20190719094451.GA6984@paquier.xyz>
References: <15893-9b899d18cad24716@postgresql.org> <20190704074609.GO3084@paquier.xyz> <CAHHJ3NTqCxGj=uUX1R-1qz602i9-AE3gu7EDz1sL2FYZAOUf_A@mail.gmail.com> <D6EFC5AA-CD25-4394-B2AD-646C616AEED2@yesql.se> <20190719025058.GF1859@paquier.xyz> <CAHHJ3NTpLD+2rhK+Zok-NRc+2UF_HSZiCdyGUCaTbWEmzoO12g@mail.gmail.com> <20190719094451.GA6984@paquier.xyz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox