Re: Table update: restore or replace? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Table update: restore or replace?
Date
Msg-id 5fb66fe3-0aa0-3d6d-db53-172a6c3f1a30@aklaver.com
Whole thread Raw
In response to Table update: restore or replace?  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Table update: restore or replace?
List pgsql-general
On 5/14/19 1:46 PM, Rich Shepard wrote:
> I just updated a column in a table (postgresql-10.5) and accidently applied
> it to all 185 rows rather than just one. There is no active transaction to
> roll back.
> 
> Each night I do a backup and just started working on the database a few

A file level backup or database dump?

> minutes ago. If I restore all contents of
> /var/lib/pgsql/10/data/ will this restore the database's state before the
> botched update and two previous updates today?
> 
> Rich
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Table update: restore or replace?
Next
From: Rich Shepard
Date:
Subject: Re: Table update: restore or replace?