Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [ADMIN] Set up a database without backup

From: Alejandro D. Burne <alejandro.dburne(at)gmail.com>
Date: Tue Jul 24 2007 - 20:54:54 EDT


2007/7/24, tech@g-sistemas.com <tech@g-sistemas.com>:
> Hello everybody.
>
> I'm using PostgreSQL on Windows XP.
>
> I had to format de harddisc, and I'm lost databases and tablespaces
> configuration (1 database and 1 tablespace), I have a copy of directory
> where was the tablespaces ( but I haven't a backup made by pgAdmin ).
>
> What do I for set up my database and tablespace ?
>
> It could be: creating a new database and tablespace, and after copy files
> of older tablespace to newer tablespace?
>
> Thanks In Advance
>
> With Regards
>
> Juan.
>

If u have the dirs where the db where initialized you can reinstall the "same" version of postgres on your windows machine and then replace the data dir with your files backup.

Alejandro

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match
Received on Tue Jul 24 20:57:13 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:44:33 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library