Re: Restoring database from backup

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Restoring database from backup
Дата
Msg-id 3745bd88-413f-4fa5-90a1-d374852d10a9@aklaver.com
обсуждение исходный текст
Ответ на Restoring database from backup  (Rich Shepard <rshepard@appl-ecosys.com>)
Ответы Re: Restoring database from backup
Список pgsql-general

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
adrian.klaver@aklaver.com



В списке pgsql-general по дате отправления: