Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hoPSp-0004XX-D4 for pgsql-bugs@arkaria.postgresql.org; Fri, 19 Jul 2019 09:46:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hoPRo-0008RG-Ta for pgsql-bugs@arkaria.postgresql.org; Fri, 19 Jul 2019 09:45:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hoPRn-00088j-7n for pgsql-bugs@lists.postgresql.org; Fri, 19 Jul 2019 09:45:04 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hoPRj-0000dc-6b for pgsql-bugs@lists.postgresql.org; Fri, 19 Jul 2019 09:45:02 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 444B622025; Fri, 19 Jul 2019 05:44:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 19 Jul 2019 05:44:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=lCSdrsv8nZam4pWd4+j13AbYCDJ D4+Tqp2MChk3sCsM=; b=Fh4kgpDw7dfRwqk7FQNQEKgrkF/1D8Vu8FEKSnwvLKH opBuzU8iFjweBNAZvnszsTGQCSaAR3X+z+4ik0SSWMD1qMnjP5E+hbUvsuJomdHv HKhtXEMXAMxm9rc27T038nGiE5r2W3oBZzB0XZKnldLpmQOo/HwLRS7Ik4VfqxlG TI1qNIVMdjf6sqWZJczJqw1udFdubzYr6cV6gxcWDzskeOHBHDakjDUGX3LA7ih1 hCbR1WhJuUHbHNdHvMD6wzZ9jCKoDNrZw/RHEEnTSqNfoK67HZ/WgylphK3vhv4W Eo1UDAXxczPnlfvXXT+1FOxbbX/BsrnMN4UTmb5ukoQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=lCSdrs v8nZam4pWd4+j13AbYCDJD4+Tqp2MChk3sCsM=; b=RnArxbBeZ2eeyUPqKfllI5 w8wWN4tZB20WhurtNIp5dN8QGZuhO/e8dQuREXoBCTNEyvhIp8GyEUPh6c/EyziE 93DT9ymq26gB7Bw11yFkYG4ImlM4ObETmQh3w/TWKwpVe3/8veUeN/LqTp7KCXgV W+aELvQUufMkXjFY39PV55ifgQ8VfACZ5AL4xMKsGyA6PWTmwK/EH/es6xLbAhCC TVro1aA2HeQQpzpvusnHR6hsuTHpqJg15KofDoxpyuBvKMngw0pyYJc4qgycznj9 u/XOUfbqpcrejie6A6NQvxp8cuzCetj/OB14wOuXrWr4mhOyRbq6yNRUi3CPRfOw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrieejgddvtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecukfhppeduuddurddutddvrddukedtrddukeehnecurfgrrhgr mhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiinecuvehluh hsthgvrhfuihiivgeptd X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id B9ADA380083; Fri, 19 Jul 2019 05:44:54 -0400 (EDT) Date: Fri, 19 Jul 2019 18:44:51 +0900 From: Michael Paquier To: shaurya jain <12345shaurya@gmail.com> Cc: Daniel Gustafsson , PostgreSQL mailing lists Subject: Re: BUG #15893: pg_dump is not working like as postgres version 10 Message-ID: <20190719094451.GA6984@paquier.xyz> References: <15893-9b899d18cad24716@postgresql.org> <20190704074609.GO3084@paquier.xyz> <20190719025058.GF1859@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > 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 --FCuugMFkClbJLl1L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl0xkRMACgkQnvQgOdby QH0MQBAApTJzVCgkX6cgi254AOwwXtwG67tjGIk7b/ZdKhltgZt3S5lk5InKauOC eM57QEchZi7KfVWqgcGnEzeZMphPUhTYcXAgyMmKqjQ+irKHcqS/WmLGlslRj7ZJ sJpuICgt0iPLqepvcuxC2UVu36wLsHi1B22zfNSHlwHRtso2Mk6pqRZp/j/hrFPE vVS55I2YkXsYxjXhr/enP96sC2buyFHOute6chOwJu7Ar3oU9yczbeUFa47P/NdO oyueBav/NtQ7NcaIfG4Ol4mcJ/ndnpm4o816wkt4R+hHFuLs8vQJTz2XPwsGWHiJ 2q0xyxm8vFlkmSiFUR1nTmxPXEkYLWnl3G21tjrXtugAsbS+N/56bmf9X31t9dF1 F3JYlVJandNg7tCtX5iS4zqjateeissTvqYhCR2eye06CFcIU7c0x1L7zygORLP9 pCO/vEYj7xISDj33Kvm+pqOBWEjxGSxXtDgZeahS9Zs0E3qVsKe5+7dmnGxfD69B SFUMEba5qEMVe0B+NCoXCm4KtPo9NycDwL8qMW9dp93/MECarEzRrGDQIBitSqRT Vz5KUUFui5fifNnQgelplipjlmjWki5xbfe50KhIgy2yusN+FGmAcpsX6br3S4oH FMwUgX2CW5BWNA4oMfAjY8PiL+DHnacvXDTdnq4qVcxvcvQ39yw= =rGbJ -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--