Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHVub-0007nb-61 for pgsql-general@arkaria.postgresql.org; Tue, 30 Oct 2018 15:26:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gHVuZ-0000vd-Bv for pgsql-general@arkaria.postgresql.org; Tue, 30 Oct 2018 15:26:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gHVuZ-0000vW-3L for pgsql-general@lists.postgresql.org; Tue, 30 Oct 2018 15:26:31 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gHVuV-0001yE-OB for pgsql-general@postgresql.org; Tue, 30 Oct 2018 15:26:30 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 34B3C5F79F; Tue, 30 Oct 2018 11:26:27 -0400 (EDT) Date: Tue, 30 Oct 2018 11:26:27 -0400 From: Stephen Frost To: Ghislain ROUVIGNAC Cc: pgsql-general@postgresql.org Subject: Re: Portworx snapshots Message-ID: <20181030152627.GR4184@tamriel.snowman.net> References: <20181028153535.GO4184@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zBu8hZGWz7I/EBHp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --zBu8hZGWz7I/EBHp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Greetings, * Ghislain ROUVIGNAC (ghr@sylob.com) wrote: > Our application don't write lot of data, so i don't think the time taken on > replaying the WAL will be an issue for us. That certainly makes things simpler. Then again, if you are not writing a lot of data then you might consider using synchronous replication with PostgreSQL if you want to have a durability guarantee which is across multiple otherwise independent systems. You can then also combine that with a proper backup solution (please, do not try and build your own) and WAL archiving and be able to perform PITR (point-in-time-recovery), which snapshots don't give you. > For reliability, as you said, i was thinking in running a large pgbench > which writes a lot of data, while taking snapshots. > Then my idea was to restart from snapshots and see if everything works as > expected. Sure, testing is good and should be done regardless of what solution you employ. > I thought that based on the feedback from the community, maybe i wouldn't > need to run these tests. You should always run your own tests, and do them regularly, including testing things like "am I able to restore this backup?", "am I able to fail over to this other server?", etc. Thanks! Stephen --zBu8hZGWz7I/EBHp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJb2HgiAAoJEO1sijiDR2RVClUP/12glt9SjRfLQ1/tfAr7e5Zp wctBe5VXojvLRCFRDnXpx8HjkTUWV8KYEVofBjKuFq7yUSr7/yC5M9H4k5aVt0MN CaFRpQutHSNcO7PD6cvSOeLNv277viOKrpjtExPO/VAVyOJg1U6JIzDZTwXmxk11 iBMhbC0+HD3PKZ3tDaRAnw59WvBjSA1mHLAcYB2EbLEwq4xKctdMja/tmhqGdu/U rLpljTOy1OuDmUR0sjb/E8y0QmHIYbAp4LQfwokbuUSVd+UsTB+Wgj9VUXaVsATb AykyjtrK4UlPvTFvfpthGlZKyZ7Ik9RlJuwnzCuEez5WGxDSTsEVG54SJWWwSsxw eEi/f9K55l85ERnjQHPMOuk0pKqqIL/om4aUn4nNxxrOSV4htwGdG8t9W/7Fk2DB jIzp4hlcZdOD4VXgZxpxrNtQViAqsRJM5ErcVRuM4AszpF2m1mUrBiwe9VDcWvo6 quYXviTTYXN+RrT2C0xlgWf7I1ubDqmLT8ngbu7c/3oFJEB+x60YoqsmmdlY5YdO XjU2YtiK3iqzL4fISIVWFosC/IM3/WvvCS9/tDPrl5BfUtS0vyLJjN5uqn2pfS0R o/jYN4hQ641E6LFWvUasbbHGNxSbADRTTX9QpXvc7BCldwlKtwMnTuHTXXoW4w1S +8qYUThKRxLlO3gxdmHj =v3ma -----END PGP SIGNATURE----- --zBu8hZGWz7I/EBHp--