Re: transfer just the data directories from linux to windows?

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Anton Melser" <melser(dot)anton(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: transfer just the data directories from linux to windows?
Date: 2006-12-01 17:42:58
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0FD8A@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Hi,
> We have some backups from our prod server and I was wondering
> if there would be any problems with just copying the data
> directory to a windows install (same version - 8.1.4) ... any
> pointers?

If both servers are windows servers, and both are running the same
version of pg, then you can just copy the files over. Make sure the
postgresql service is *stopped* when you do the copying. (Clean out
everything in the data directory before you copy them over)
If either of those two are not the same, you can't.

//Magnus

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John DeSoi 2006-12-01 18:01:47 Re: porducing documentation from postgres
Previous Message Antonios Katsikadamos 2006-12-01 17:36:38 porducing documentation from postgres