Search Postgresql Archives

Re: Restore database from files (not dump files)?

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

 



I have copied the folders back to the base dir (like C:\PostgreSQL \data
\base\16404) if that's step one but what after that?

Just start Postgres. If the data dir is ok, it should run fine.

It's unclear from your description whether the raw DB files were moved from another installation - note that the above is only guaranteed to work if architecture/compiler/etc. are all the same. If the files were created by exactly the same PG instance, then you should be okay.

- John D. Burger
  MITRE




[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