Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKsAd-0007FA-4d for pgsql-general@arkaria.postgresql.org; Fri, 01 Dec 2017 20:44:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKsAc-0002r6-Bn for pgsql-general@arkaria.postgresql.org; Fri, 01 Dec 2017 20:44:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eKsAb-0002qx-Vv for pgsql-general@lists.postgresql.org; Fri, 01 Dec 2017 20:44:26 +0000 Received: from fiedler.schlittermann.de ([212.80.235.136] helo=ikarus.unix-solution.de) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eKsAU-0007dN-Qd for pgsql-general@lists.postgresql.org; Fri, 01 Dec 2017 20:44:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=unix-solution.de; s=mx; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1HEgM3SCLVqQO5/8RQh3oEQM932Tu0rT0s1MB+qWTww=; b=ZLFtau0l7bCeXDy+IcKi9iPkZ4 ZEy6ycCU3LSv9/HnzhP591PpIRI1dJFjFPW9qNTshCTcFcm9tJ48gYx+u+rjPQezDb8i4heMbaLi+ lAGhiXerge9VO4qGzVOsnqgOCSHiygWaj5PRkv3nq+rOPQyo1wE/49axhLncUgsGDJcU=; Received: from p4fee6242.dip0.t-ipconnect.de ([79.238.98.66] helo=[192.168.30.8]) by ikarus.unix-solution.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eKsAQ-00058m-3O for pgsql-general@lists.postgresql.org; Fri, 01 Dec 2017 21:44:14 +0100 Subject: Re: pg data backup from vps To: pgsql-general@lists.postgresql.org References: <395df0f5-f135-37bd-ec87-4d7f3902548f@tigernassau.com> From: basti Message-ID: Date: Fri, 1 Dec 2017 21:44:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 > 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.