public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Rich Shepard <[email protected]>
To: [email protected]
Subject: Re: Restoring database from backup
Date: Fri, 13 Dec 2024 10:31:49 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>



On 12/13/24 10:21 AM, Rich Shepard wrote:
> I made a careless error this morning and want to restore the database from
> yesterday's backup, `bustrac-2024-12-12.sql'. If I run
> 
> psql -d bustrac -f bustrac-2024-12-12.sql
> 
> will this restore the database to yesterday's status without first
> deleting/removing the FUBAR'd one?

This needs more information:

1) Have you backed up your database at the current state?

2) What command did you use to create bustrac-2024-12-12.sql?

> 
> TIA,
> 
> Rich
> 
> 

-- 
Adrian Klaver
[email protected]






view thread (4+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Restoring database from backup
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox