Re: [GENERAL] recovering a "lost" database
От | Bruce Momjian |
---|---|
Тема | Re: [GENERAL] recovering a "lost" database |
Дата | |
Msg-id | 199912201816.NAA24753@candle.pha.pa.us обсуждение исходный текст |
Ответ на | recovering a "lost" database (Jeff Hoffmann <jeff@propertykey.com>) |
Список | pgsql-general |
> i have a database that was "lost" -- the database is still there (i can > see the files on disk in the database's directory), but when i try to > connect to the database, it says that it doesn't exist in pg_database. > what happened is that the database got dropped while the drive with the > data on it was unmounted, but now that i thought about it, it would be > nice to have a backup of it if i can get it. is there a way that i can > manually add it to the pg_database table (and are there other tables i > have to mess with?) so i can access it again? Go into template1 database and insert a new row into the pg_database table for the missing databases. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления: