pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Set up a database without backup
2+ messages / 2 participants
[nested] [flat]

* Set up a database without backup
@ 2007-07-24 11:48  tech@g-sistemas.com
  0 siblings, 1 reply; 2+ messages in thread

From: tech@g-sistemas.com @ 2007-07-24 11:48 UTC (permalink / raw)
  To: pgsql-admin

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.





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Set up a database without backup
@ 2007-07-25 00:54  Alejandro D. Burne <alejandro.dburne@gmail.com>
  parent: tech@g-sistemas.com
  0 siblings, 0 replies; 2+ messages in thread

From: Alejandro D. Burne @ 2007-07-25 00:54 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-07-25 00:54 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-07-24 11:48 Set up a database without backup tech@g-sistemas.com
2007-07-25 00:54 ` Alejandro D. Burne <alejandro.dburne@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox