Search Postgresql Archives

Re: Restoring database from backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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@xxxxxxxxxxx





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux