pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Carl Karsten <carl@personnelware.com>
Cc: Martin Mueller <martinmueller@northwestern.edu>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: a back up question
Date: Tue, 5 Dec 2017 19:15:19 -0300
Message-ID: <20171205221519.lmkcvjlmvhfsahva@alvherre.pgsql> (raw)
In-Reply-To: <CADmzSSi0jTJ05pEyQPd0Jz=7pczwxGPVwr9dRNBwG7MBLHp=Wg@mail.gmail.com>

Carl Karsten wrote:
> Nothing wrong with lots of tables and data.
> 
> Don't impose any constraints on your problem you don't need to.
> 
> Like what are you backing up to?    $400 for a 1T ssd or $80 fo a 2T usb3
> spinny disk.
> 
> If you are backing up while the db is being updated, you need to make sure
> updates are queued until the backup is done.  don't mess with that
> process.   personally I would assume the db is always being updated and
> expect that.

A backup generated by pg_dump never includes writes that are in flight
while the backup is being taken.  That would make the backup absolutely
worthless!

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (15+ messages)  latest in thread

Message-ID: <20171205221519.lmkcvjlmvhfsahva@alvherre.pgsql>
Permalink:  ../20171205221519.lmkcvjlmvhfsahva@alvherre.pgsql/
Also on:    postgresql.org/message-id/20171205221519.lmkcvjlmvhfsahva@alvherre.pgsql

 · 

reply

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: alvherre@alvh.no-ip.org, carl@personnelware.com, martinmueller@northwestern.edu
  Subject: Re: a back up question
  In-Reply-To: <20171205221519.lmkcvjlmvhfsahva@alvherre.pgsql>
  References: <CADmzSSi0jTJ05pEyQPd0Jz=7pczwxGPVwr9dRNBwG7MBLHp=Wg@mail.gmail.com> <20171205221519.lmkcvjlmvhfsahva@alvherre.pgsql>

* 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