dbTalk Databases Forums  

Copying datafiles between Windows and Mac

comp.databases.postgresql comp.databases.postgresql


Discuss Copying datafiles between Windows and Mac in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jason Syf
 
Posts: n/a

Default Copying datafiles between Windows and Mac - 03-16-2011 , 12:05 PM






Hi all

If I copy the contents of my PGDATA between installs on Windows and
Mac, will this work ok? Both would be running 9.0.3-1.

Thanks
Jason

Reply With Quote
  #2  
Old   
Harry Tuttle
 
Posts: n/a

Default Re: Copying datafiles between Windows and Mac - 03-16-2011 , 02:06 PM






Jason Syf, 16.03.2011 19:05:
Quote:
Hi all

If I copy the contents of my PGDATA between installs on Windows and
Mac, will this work ok? Both would be running 9.0.3-1.

No, won't work.
You need to use pg_dump/pg_restore to transfer the data.

Copying the data files only works between the same architecture and OS e.g. Win32 to Win32.
It would not even work between Win32 and Win64, let alone Windows vs. *nix based systems.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.