Re: [GENERAL] Using cp to back up a database? - Mailing list pgsql-general

From Michael Paquier
Subject Re: [GENERAL] Using cp to back up a database?
Date
Msg-id CAB7nPqTMmKAz602ykFDnr7QyRfS8Sj+hsc0W487NbjGyxs6Vfw@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] Using cp to back up a database?  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Responses Re: [GENERAL] Using cp to back up a database?  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
List pgsql-general
On Mon, Oct 9, 2017 at 11:09 PM, Achilleas Mantzios
<achill@matrix.gatewaynet.com> wrote:
> On 09/10/2017 16:51, Larry Rosenman wrote:
>
> If you want a consistent database (you *REALLY* do), pg_dump is the correct
> tool.
>
> In all pg conferences I have been, ppl scream : do not use pg_dump for
> backups :)

It depends on what you are trying to achieve, pg_dump can be fine for
small-ish databases. By relying on both logical (pg_dump) and physical
backups (base backups) brings more insurance in face of a disaster.
-- 
Michael


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: [GENERAL] Using cp to back up a database?
Next
From: Ron Johnson
Date:
Subject: Re: [GENERAL] Using cp to back up a database?