Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jv3sp-0006H7-Qr for pgsql-general@arkaria.postgresql.org; Mon, 13 Jul 2020 19:13:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jv3sn-0001al-3C for pgsql-general@arkaria.postgresql.org; Mon, 13 Jul 2020 19:12:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jv3sm-0001aY-7n for pgsql-general@lists.postgresql.org; Mon, 13 Jul 2020 19:12:56 +0000 Received: from mail-oln040092009100.outbound.protection.outlook.com ([40.92.9.100] helo=NAM04-BN3-obe.outbound.protection.outlook.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jv3si-0006fR-DG for pgsql-general@postgresql.org; Mon, 13 Jul 2020 19:12:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K7R+vyIsp5vP3Y2FPHEJ4O+24aKPQXY321ld6udXvcvZa5Ho/RtdLd4OIvvflcy06fhXXcwNXE92KevIWbtlpoKYCQPwpBWk/kLEK6dFvh294+5KeJbBe5tGCnd35e1AMBfTkPRbKvl2bGJ2pFe7Rk1aWJ3OoC8ob+V8XsHIwv/ygG0pmTpoctTgyAwYgjzkCwxO6yXyWKHOWcvVTylVONRVPDZuU7hO4LUETONxXpDlmTMMr2xDA3tA/h6saGnXFlEHdUZwfYSLfyDF0YAUh8OHw1Zg5SmlQRNn+0dP0bnwnIi5tu5WGrf+n404QWwDm8P7v/Dctx762G1BIu0fEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D/dhqZOhN552WWF5pk4TqkY6i4tgkKzBulwEMHb7xO8=; b=c1/29Vh5dq/lvn9a+zMdhA6ySLUF/w0Ww6n0AgBmFUus+hsBrhBTkQPGzPKezbcgoxfrpdCuFHiO85zmauvyNtcljjZaT8ZN8d26e0UDjqWfTtogNTN5Yf5ZYsqvrXYBRBmuQ8EJ3+vJ2rdxavWElhVkr6p5eZYfzFnDC28KzGFAQytJUr/hxQ5qlGQxkyHaM1kfINcCIejnUUKPZyVqWs6NnuKXJ9oslNxndKraVRCffzu1wXkSLZXnaS3nQUS9Ubxorwfeg1qBfhKy+KqVdLnwrbXp7vQkcOu9+CrCNzHM6iI268NcKd34UkQccRdOrDrJptkvUX5ENBtafdHQcA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D/dhqZOhN552WWF5pk4TqkY6i4tgkKzBulwEMHb7xO8=; b=KFYcoWbo9srla+D9VDxP6IW7b45Baqp5Si58YyoNIHvgsMOlrGt8ufaN4e/GyTSm8PkIFOFeph3qRP4NXRBrVbgPdudfW1exc9jIX5n7iRxQHlLB+dVNZUF7l/Z5tho/P7zq1OBkt8t73ofAY8zkyVMvJC0DrDZ7rHE4XIfL/GoSL1dNbv590mgFfIq0xn28eDaCCofD+96bmL+i24sVe0k+03pLTKIMo6a+H7ayLfdBf/3186gB9lHb+M03mfYfs8q2AtOSuc1/cfgNIB2zzTeaBGmlYg2wAdGeKTSPWcfpM0ovLEDTbqUMresncBkP8I1DBogBLE/Nz9LHhFcLJw== Received: from CO1NAM04FT013.eop-NAM04.prod.protection.outlook.com (10.152.90.57) by CO1NAM04HT233.eop-NAM04.prod.protection.outlook.com (10.152.91.177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21; Mon, 13 Jul 2020 19:12:49 +0000 Received: from BYAPR08MB5014.namprd08.prod.outlook.com (2a01:111:e400:7e4d::43) by CO1NAM04FT013.mail.protection.outlook.com (2a01:111:e400:7e4d::482) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21 via Frontend Transport; Mon, 13 Jul 2020 19:12:49 +0000 Received: from BYAPR08MB5014.namprd08.prod.outlook.com ([fe80::a451:50de:30f1:daa1]) by BYAPR08MB5014.namprd08.prod.outlook.com ([fe80::a451:50de:30f1:daa1%3]) with mapi id 15.20.3174.025; Mon, 13 Jul 2020 19:12:49 +0000 From: Julie Nishimura To: pgsql-general , "pgsql-general@lists.postgresql.org" Subject: backup -restore question Thread-Topic: backup -restore question Thread-Index: AQHWWUjdxSEybwcPakmP3dCAnn271g== Date: Mon, 13 Jul 2020 19:12:49 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:13254602A3A97BCE6049C74996C5873F5D50F8FA39FFFA8E2835A44794DF989B;UpperCasedChecksum:DE7FE680756C7CB086A33300810C64CE0ABBEA863F47EFDB93345D5D8D18FC09;SizeAsReceived:6677;Count:41 x-tmn: [h74tfIxyQ08NCfDO/2/kHJekWQJ4Vw0+] x-ms-publictraffictype: Email x-incomingheadercount: 41 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 28bb4a70-bdd3-4f60-5584-08d82760bbc6 x-ms-traffictypediagnostic: CO1NAM04HT233: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8OO3f2CKWz2ZHSlbIzDwom1V1a02hJgBhUfWFlGjE7vvnIaIp/BA9wGea1nRbR9zR2di+jUXvm9nNlDw4DJEW74PLLcIbSs+ZuoFaPz3Ts04jI1UFR/IHQQ8vmy1TnAHd3fFiQJRXK3t4crlc+j2rg1ZkYk4/RNbPR7BIVUWGIqLxwlFIHEt7iuIcTf/YkMfT7ygU+rRvAXBkNx2ey9BMw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:0;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR08MB5014.namprd08.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:;DIR:OUT;SFP:1901; x-ms-exchange-antispam-messagedata: 5qNKFr2TfSzA84GtGFcNKDVgR7yE980WPnMAdF+JV5b15HKLndjxo8DnTxqdQCTUKAq4AXiXChMdu7dlPi8aW7YnfmTpsihWyqgD8N6l/eoBAhYZuLZJ4xaF8rl9B6gAqz2uru4MpjsAPRMw4kfEbA== x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_BYAPR08MB5014E2946B409EE7779468DCAC600BYAPR08MB5014namp_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: CO1NAM04FT013.eop-NAM04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 28bb4a70-bdd3-4f60-5584-08d82760bbc6 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2020 19:12:49.3026 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM04HT233 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_BYAPR08MB5014E2946B409EE7779468DCAC600BYAPR08MB5014namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello there, One of our PostgreSQL 9.4.1 databases has been backed up as *.gz file with= the compression 9 "pg_dump -Z 9". What is the right format of restore this= file when needed? Can I run the restore from a compressed file or I need t= o unzip the file first, then run pg_restore? Thanks --_000_BYAPR08MB5014E2946B409EE7779468DCAC600BYAPR08MB5014namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello there,
One of our PostgreSQL 9.4.1  databases has been backed up as *.gz file= with the compression 9 "pg_dump -Z 9". What is the right format = of restore this file when needed? Can I run the restore from a compressed f= ile or I need to unzip the file first, then run pg_restore? Thanks
--_000_BYAPR08MB5014E2946B409EE7779468DCAC600BYAPR08MB5014namp_--