Re: pg_dump, pg_dumpall and data durability - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pg_dump, pg_dumpall and data durability
Date
Msg-id 20161113091841.llyvzskvjuo27m5f@alap3.anarazel.de
Whole thread Raw
In response to Re: pg_dump, pg_dumpall and data durability  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_dump, pg_dumpall and data durability  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Hi,

On 2016-11-08 18:18:01 -0500, Tom Lane wrote:
> I think this might be better addressed by adding something to backup.sgml
> pointing out that you'd better fsync or sync your backups before assuming
> that they can't be lost.

How does a normal user do that? I don't think there's a cross-platform
advice we can give, and even on *nix the answer basically is 'sync;
sync;' which is a pretty big hammer, and might be completely
unacceptable on a busy server.

Regards,

Andres



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: WAL consistency check facility
Next
From: Andres Freund
Date:
Subject: Re: Do we need use more meaningful variables to replace 0 in catalog head files?