From: Karsten Hilbert <Karsten.Hilbert@gmx.net>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: a back up question
Date: Wed, 6 Dec 2017 14:24:43 +0100
Message-ID: <20171206132442.GC4346@hermes.hilbert.loc> (raw)
In-Reply-To: <DC910292-168E-4FE2-956D-D5C942D9E5C3@northwestern.edu>
References: <001039C7-15DF-4A44-B0B9-3E100C9D68D3@northwestern.edu>
<20171206103903.GB4346@hermes.hilbert.loc>
<DC910292-168E-4FE2-956D-D5C942D9E5C3@northwestern.edu>
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
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-general@postgresql.org
Cc: Karsten.Hilbert@gmx.net
Subject: Re: a back up question
In-Reply-To: <20171206132442.GC4346@hermes.hilbert.loc>
References: <001039C7-15DF-4A44-B0B9-3E100C9D68D3@northwestern.edu> <20171206103903.GB4346@hermes.hilbert.loc> <DC910292-168E-4FE2-956D-D5C942D9E5C3@northwestern.edu> <20171206132442.GC4346@hermes.hilbert.loc>
* 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