Will Altering and Modifying tables during backup result in a corrupted server after the restore?

From: Yashwanth Govinda Setty <ygovindasetty(at)commvault(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Will Altering and Modifying tables during backup result in a corrupted server after the restore?
Date: 2018-05-21 15:03:18
Message-ID: 4a42c6eb5542496ba13944c95e848325@POST-1.gp.cv.commvault.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

We are trying this scenario:
Here are the steps being done:

1. Creating a big table. Identify the physical file on the disk.

1. While backup process is backing up a file associated with the table - update the rows , add a column.
2. Restore the server with transaction logs

We are backing up (copying) the entire postgres data directory. The database/table file being backed up (copied), is modified by running alter/update queries on the table.
When we restore the copied data directory and replay/apply the transaction logs, will the server be restored to an healthy state?
(The files modified during backup can be corrupted, will this affect the restore?)

Thanks,
Yashwanth

***************************Legal Disclaimer***************************
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
**********************************************************************

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Benjamin Scherrey 2018-05-21 15:15:04 Re: Installing PostgreSQL as non-root by Extracting the binaries from RPMs
Previous Message Tom Lane 2018-05-21 14:45:27 Re: Aggregate functions with FROM clause and ROW_COUNT diagnostics