Postgresql backup via LVM snapshot? - Mailing list pgsql-general

From Lu, Dan
Subject Postgresql backup via LVM snapshot?
Date
Msg-id 5d75bcc3e64f4b7b9a0e0cf2d66f0397@msx.bala.susq.com
Whole thread Raw
Responses Re: Postgresql backup via LVM snapshot?
Re: Postgresql backup via LVM snapshot?
List pgsql-general

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.

pgsql-general by date:

Previous
From: "Peter J. Holzer"
Date:
Subject: Re: Questions about btree_gin vs btree_gist for low cardinalitycolumns
Next
From: "Peter J. Holzer"
Date:
Subject: Re: Questions about btree_gin vs btree_gist for low cardinalitycolumns