| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | wheel <wheel(at)wheel(dot)not> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Restore database from files (not dump files)? |
| Date: | 2006-12-01 17:32:30 |
| Message-ID: | 200612011732.kB1HWUk19778@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
wheel wrote:
> Can a pgsql 8.1 database be restored from the raw file? For one database
> I have only the files found in the base folder, example C:\PostgreSQL
> \data\base\16404, there are many files called 1247, 1248, etc (no
> extension). I think these are the files that make up the database? For
> this db I don't have a dump file, just what is on disk. I do know the
> users and passwords etc. I've hunted around quite a bit in various
> places and most of the restore discussions center around files created
> with pg_dump.
Uh, do you have the entier /data directory tree? If so, just restore
the directory start it up a binary.
--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Antonios Katsikadamos | 2006-12-01 17:36:38 | porducing documentation from postgres |
| Previous Message | Niklas Johansson | 2006-12-01 17:15:29 | Re: Separation of clients' data within a database |