pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Mead <scottm@openscg.com>
To: Dale Seaburg <kg5lt@verizon.net>
Cc: pgsql-general@postgresql.org
Subject: Re: Windows XP to Win 10 migration issue
Date: Sat, 9 Dec 2017 16:03:46 -0500
Message-ID: <B46EB392-74A2-4416-8117-C2F93E77EFBC@openscg.com> (raw)
In-Reply-To: <c8e9e1ba-fabf-544b-a7ac-1fe4e798f6c1@verizon.net>
References: <c8e9e1ba-fabf-544b-a7ac-1fe4e798f6c1@verizon.net>



> On Dec 9, 2017, at 11:11, Dale Seaburg <kg5lt@verizon.net> wrote:
> 
> I have a database in Windows XP (old PC), postgresql 8.4.5 which needs to be migrated to Windows 10 Pro (new PC).
> 
> Now, for the bad news, the XP PC, when I powered down, before doing any backup or database unload, would not power back up.  I will be attempting to get the PC fixed for that.  In the meantime, I removed the old PC HD, installing in a SATA to USB box and I installed the same version of Postgresql (8.4.5) on the Win 10 machine, thinking I could simply copy the data folder from the XP's HD to the Win 10's HD into the appropriate folder (C:/.../8.4.5/).  I did the copy of the data folder, after renaming the new, unused data folder to preserve it).  I stopped the postgres service, made the copy, and attempted to restart the postgres service.  No Go!  Would not start.  As a double-check, I renamed the copied data folder to something else and renamed the preserved data folder back to it's original name, and the service restarted just fine.
> 
> So, without being able to backup or unload (dump?) the original database on the original PC, what would be the best way to move data to the new PC?  Or, IS there any way to do this, without reviving the old XP, PC?

I’m guessing that the old machine was 32 but and the New is 64?  They have to match. You could always setup a 32 bit VM. It must be 32 bit windows (if that’s what the original was ) 


> 
> Dale
> 




view thread (5+ messages)  latest in thread

Message-ID: <B46EB392-74A2-4416-8117-C2F93E77EFBC@openscg.com>
Permalink:  ../B46EB392-74A2-4416-8117-C2F93E77EFBC@openscg.com/
Also on:    postgresql.org/message-id/B46EB392-74A2-4416-8117-C2F93E77EFBC@openscg.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: scottm@openscg.com, kg5lt@verizon.net
  Subject: Re: Windows XP to Win 10 migration issue
  In-Reply-To: <B46EB392-74A2-4416-8117-C2F93E77EFBC@openscg.com>
  References: <c8e9e1ba-fabf-544b-a7ac-1fe4e798f6c1@verizon.net> <B46EB392-74A2-4416-8117-C2F93E77EFBC@openscg.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