Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMZh7-0008Rp-2i for pgsql-general@arkaria.postgresql.org; Wed, 06 Dec 2017 13:25:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMZh6-0004TJ-42 for pgsql-general@arkaria.postgresql.org; Wed, 06 Dec 2017 13:25:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eMZh5-0004T9-Pf for pgsql-general@lists.postgresql.org; Wed, 06 Dec 2017 13:24:59 +0000 Received: from mout.gmx.net ([212.227.15.15]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eMZh2-0006cp-KJ for pgsql-general@lists.postgresql.org; Wed, 06 Dec 2017 13:24:58 +0000 Received: from hermes ([80.139.219.224]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MWk7n-1eb3Es0TKl-00XtcX for ; Wed, 06 Dec 2017 14:24:53 +0100 Received: from ncq by hermes with local (Exim 4.89) (envelope-from ) id 1eMZgp-000622-BM for pgsql-general@lists.postgresql.org; Wed, 06 Dec 2017 14:24:43 +0100 Date: Wed, 6 Dec 2017 14:24:43 +0100 From: Karsten Hilbert To: "pgsql-general@lists.postgresql.org" Subject: Re: a back up question Message-ID: <20171206132442.GC4346@hermes.hilbert.loc> References: <001039C7-15DF-4A44-B0B9-3E100C9D68D3@northwestern.edu> <20171206103903.GB4346@hermes.hilbert.loc> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Ma_X_il-Followup-to: d Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net X-Pri_X_ority: 2 (High) User-Agent: Mutt/1.9.1 (2017-09-22) Sender: X-Provags-ID: V03:K0:7T5kSgvskF550hIMaU92FkUweHe/Zcff3Wf1uwCuwBQ6s7P0y0B a5oIkc+j0yny42JeWNU8WvyuxpoY11ogL7U+q3mWECpux/gMEfmI17qRqdzBrHP7KAP+vGY jaYTk+d5T2DBf/FpVVRsMF+qwa7anmrPOO8eVrlxhynDDr7thvud5G6cOmRxdwHMCVpMH8v Wy6T/+DmEQFu5s/bOSOwA== X-UI-Out-Filterresults: notjunk:1;V01:K0:5OpW1kP1NVE=:5fFGq7pQtbblrzR2HZ2/Mf akEIGmgC18+lWiQGPwOBJusSUiZHJzUh8KIuEfGS2huXr/+6qZDj1hNM6FL9je+5ndMucPtNQ mABm8t0MoUO1MAwFuHqNE0wRQ9PZfSHh0zbONbDTlOXOao8PsxGDEx/1vKTVkzdrBxyQ4r3b4 7MhldWXSlEeNqjwuWq+Cu831WDkn0GQ0s+BL23RHF5wZdaW6dHKFFmFPyZYIlrYTUKe/5NkYk t/leYN03BaUCk5LPQYOVWb+pVat1AfZVZiwFemb7ZTfNoymQRTpGZv4EPuOyVJTQMTXwHwM5b 0yfA1bjF2hceMOq9OrltrV0KCr6S16vKjfFpKaVUWrCoIqTTQYDyBt+k8+g83YoA99ksTNNFi 0FJB9A58RWYFAxHv/Y0nVweMN//9MUgglyVe6mXcOpvOqd8XcjkEaU/p26S8ZFLlFlAaz5WtJ r0TpMNHLGuwLCPAdnvCvFQjzrFrSA27FGdahyjGmhE/9XqBZSLTIhyY7pYF/9qfYiLMA/vgoB 4j5lR0igTPmRSg85r3KB8ab2nu/jdsF0RutIKEaL7yst84RmDm1afkajgIH63Uva0AHfIVUmd ghu9w+5fG5jDJNvjyD0pF6ENK7sJMAs9lBw0WSa4sFtAfIDJImtvW60YnHZYZqIj7lx5dxvXe FBrqunPKg+c6LgqN/eeDtqBtBflzSZoDJPhacDK9NpTjiOZNJp+LlysCe5l8i5uh02FB4yvA3 7RMAJubMcLQim+mz2Epz2PHvwj9jLWuITpYoXP1VBV2yHQK9LT7A8ZMwoDsBy5wllfN3kE3Z2 lSGHhy0crtCO0uPbsnXYbFV1210T8KpMeDLwEVue8YkNCnsS+Q= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Dec 06, 2017 at 12:52:53PM +0000, Martin Mueller wrote: >> Are there rules for thumb for deciding when you can dump a >> whole database and when you’d be better off dumping groups of >> tables? >> It seems to me we'd have to define the objective of "dumping" first ? > The objective is to create a backup from which I can > restore any or all tables in the event of a crash. I see. "Any or all" speaks in recommendation of non-plain output formats _if_ using pg_dump. > In my case, I use Postgres for my own scholarly purposes. > Publications of whatever kind are not directly made public > via the database. I am my only customer, and a service > interruption, while a nuisance to me, does not create a > crisis for others. I don’t want to lose my work, but a > service interruption of a day or a week is no big deal. In that case I would stick to pg_dump, perhaps with directory format and then tarred and compressed, until you notice actual problems (unbearable slowdown of the machine during backup, running out of disk space). My 2 cents, Karsten -- GPG key ID E4071346 @ eu.pool.sks-keyservers.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346