Search Postgresql Archives

Re: Restoring database from files on disk

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

 



veejar wrote:
Hello!

I had problems with my HDD and i have lost many files. From my pgsql
database files I have only "base"-folder. In this folder one is
important database:
base/45325101

How to correct this one database?

You can't. You need all the files in data/ - recover the whole cluster and then dump the one you're interested in.

It that's impossible, there are some tools that can dump on-disk structures, but they're not designed for recovering a database and you're unlikely to get all your data back that way anyway.

Use your last backup - it'll save you time.
--
  Richard Huxton
  Archonet Ltd


[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 Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux