database migration question between different ubuntus and different postgresql server versions - Mailing list pgsql-general

From Octavi Fors
Subject database migration question between different ubuntus and different postgresql server versions
Date
Msg-id CAJEYUR9YgSX6F_nUNcB00i=XogrWbq=p75TT9QS61DNH5x_fOQ@mail.gmail.com
Whole thread Raw
Responses Re: database migration question between different ubuntus and different postgresql server versions
List pgsql-general
Dear all,

I have one newbie question which I hope one kind soul of this list can help me.

The situation is that I have two postgresql servers:

  -9.2 running on Ubuntu 12.04 with a database 'db' already created and populated with data,

  -9.3 running on Ubuntu 14.04.02 with no database created (no tables, no data),

I want to migrate the database 'db' (tablespace+tables+data) from computer with 9.2 server to computer with 9.3 server.

Note: database 'db' is living on a NAS mounted via NFS, with a tablespace modification I was given in this list last week:

CREATE TABLESPACE onNAS LOCATION '/NAS-box/pgsql-data';
CREATE DATABASE db TABLESPACE onNAS;


I would appreciate if you could provide commands I can type to make me start with the process.

Thanks in advance,

Octavi Fors.

pgsql-general by date:

Previous
From: Qingqing Zhou
Date:
Subject: Re: fillfactor and cluster table vs ZFS copy-on-write
Next
From: Qingqing Zhou
Date:
Subject: Re: Waiting on ExclusiveLock on extension