pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: basti <mailinglist@unix-solution.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg data backup from vps
Date: Fri, 1 Dec 2017 21:44:11 +0100
Message-ID: <a20ae6e3-3b19-3f4c-2543-6795dc43d604@unix-solution.de> (raw)
In-Reply-To: <CANu8FizZp2qOjUv06E=+MFhg3wTr8XNaR6LH=CaR2dZzrX8jQQ@mail.gmail.com>
References: <395df0f5-f135-37bd-ec87-4d7f3902548f@tigernassau.com>
	<dd1288b7-6a10-da62-3c13-68fa52758839@gmail.com>
	<CANu8FizZp2qOjUv06E=+MFhg3wTr8XNaR6LH=CaR2dZzrX8jQQ@mail.gmail.com>

Replication is no backup.
Its more like a RAID.

That mean tubles that are delete on master by a mistake there are also
delete on slave.

correct me if i'am wrong.

Best regards,
basti

On 01.12.2017 21:10, Melvin Davidson wrote:
> 
> 
> On Fri, Dec 1, 2017 at 3:07 PM, Rob Sargent <robjsargent@gmail.com
> <mailto:robjsargent@gmail.com>> wrote:
> 
> 
> 
>     On 12/01/2017 12:56 PM, support-tiger wrote:
> 
>         To diversify risk, we would like to have a daily or weekly data
>         backup stored in another location besides the VPS service we are
>         using - pg_dump is great for the backup but transferring a
>         growing db across the internet to a local machine disk seems
>         slow - how are others handling this with postgresql ? Thks.
> 
>     So long as you're looking for more kinds of risk, why not stream the
>     WAL files to another instance?
> 
> 
> 
>>how are others handling this with postgresql ?
> 
> One technique is to replicate to a slave on another server and do the
> pg_dump on the slave.
> 
> -- 
> *Melvin Davidson*
> I reserve the right to fantasize.  Whether or not you
> wish to share my fantasy is entirely up to you.




view thread (8+ messages)  latest in thread

Message-ID: <a20ae6e3-3b19-3f4c-2543-6795dc43d604@unix-solution.de>
Permalink:  ../a20ae6e3-3b19-3f4c-2543-6795dc43d604@unix-solution.de/
Also on:    postgresql.org/message-id/a20ae6e3-3b19-3f4c-2543-6795dc43d604@unix-solution.de

 · 

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: mailinglist@unix-solution.de
  Subject: Re: pg data backup from vps
  In-Reply-To: <a20ae6e3-3b19-3f4c-2543-6795dc43d604@unix-solution.de>
  References: <395df0f5-f135-37bd-ec87-4d7f3902548f@tigernassau.com> <dd1288b7-6a10-da62-3c13-68fa52758839@gmail.com> <CANu8FizZp2qOjUv06E=+MFhg3wTr8XNaR6LH=CaR2dZzrX8jQQ@mail.gmail.com> <a20ae6e3-3b19-3f4c-2543-6795dc43d604@unix-solution.de>

* 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