pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lu, Dan <Dan.Lu@sig.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Postgresql backup via LVM snapshot?
Date: Thu, 30 May 2019 19:38:21 +0000
Message-ID: <5d75bcc3e64f4b7b9a0e0cf2d66f0397@msx.bala.susq.com> (raw)

Hello,

Would you be able to confirm for me that a host level LVM snapshot of the PGDATA directory along with PG_WAL directly via LVM backup is supported way of backup and restore?

I read about this here: https://dba.stackexchange.com/questions/145361/backup-standby-database-using-lvm-snapshot

Is it as simple as:


? SELECT pg_start_backup('Begin LVM Backup At xyz');

? Do LVM backup from o/s end to backup PGDATA/PG_WAL

? SELECT pg_stop_backup();

Thanks.

Dan



________________________________

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

view thread (3+ messages)  latest in thread

Message-ID: <5d75bcc3e64f4b7b9a0e0cf2d66f0397@msx.bala.susq.com>
Permalink:  ../5d75bcc3e64f4b7b9a0e0cf2d66f0397@msx.bala.susq.com/
Also on:    postgresql.org/message-id/5d75bcc3e64f4b7b9a0e0cf2d66f0397@msx.bala.susq.com

 · 

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: Dan.Lu@sig.com
  Subject: Re: Postgresql backup via LVM snapshot?
  In-Reply-To: <5d75bcc3e64f4b7b9a0e0cf2d66f0397@msx.bala.susq.com>
  References: <5d75bcc3e64f4b7b9a0e0cf2d66f0397@msx.bala.susq.com>

* 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