pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alejandro D. Burne <alejandro.dburne@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Set up a database without backup
Date: Tue, 24 Jul 2007 21:54:54 -0300
Message-ID: <8398dc6d0707241754p72959329k3e2f8ef7a86e5450@mail.gmail.com> (raw)
In-Reply-To: <14086.83.35.111.4.1185277735.squirrel@webmail.g-sistemas.com>
References: <14086.83.35.111.4.1185277735.squirrel@webmail.g-sistemas.com>

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



view thread (2+ messages)

Message-ID: <8398dc6d0707241754p72959329k3e2f8ef7a86e5450@mail.gmail.com>
Permalink:  ../8398dc6d0707241754p72959329k3e2f8ef7a86e5450@mail.gmail.com/
Also on:    postgresql.org/message-id/8398dc6d0707241754p72959329k3e2f8ef7a86e5450@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alejandro.dburne@gmail.com
  Subject: Re: Set up a database without backup
  In-Reply-To: <8398dc6d0707241754p72959329k3e2f8ef7a86e5450@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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