Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOv3K-0003N5-Ut for pgsql-admin@arkaria.postgresql.org; Wed, 25 Sep 2013 19:47:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VOv3J-0003pV-Lg for pgsql-admin@arkaria.postgresql.org; Wed, 25 Sep 2013 19:47:13 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOv3I-0003pO-En for pgsql-admin@postgresql.org; Wed, 25 Sep 2013 19:47:12 +0000 Received: from mail.pasteleros.org.ar ([200.49.144.54]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VOv3E-0005lf-4Y for pgsql-admin@postgresql.org; Wed, 25 Sep 2013 19:47:11 +0000 Received: from mail.pasteleros.org.ar (unknown [127.0.0.1]) by mail.pasteleros.org.ar (Postfix) with ESMTP id E8DC622A4F for ; Wed, 25 Sep 2013 16:47:38 -0300 (ART) X-Virus-Scanned: amavisd-new at pasteleros.org.ar Received: from mail.pasteleros.org.ar ([127.0.0.1]) by mail.pasteleros.org.ar (mail.pasteleros.org.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lmdf5TS1rg9k for ; Wed, 25 Sep 2013 16:47:33 -0300 (ART) Received: from [192.169.100.54] (unknown [192.169.100.54]) by mail.pasteleros.org.ar (Postfix) with ESMTP id E61AD22A6A for ; Wed, 25 Sep 2013 16:47:33 -0300 (ART) Message-ID: <52433DB4.2040206@pasteleros.org.ar> Date: Wed, 25 Sep 2013 16:47:00 -0300 From: Alejandro Brust Reply-To: alejandrob@pasteleros.org.ar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130503 Thunderbird/17.0.5 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: pd_dump server mismatch error References: <48F1E182B1021B449414C85E713CE8250E61E0@WLT-MBX03.KRONOS.com> <1379975782.27726.YahooMailNeo@web125005.mail.ne1.yahoo.com> <1380030420.19939.YahooMailNeo@web125003.mail.ne1.yahoo.com> <1380030784.27416.YahooMailNeo@web125003.mail.ne1.yahoo.com> <1380031785.83405.YahooMailNeo@web125005.mail.ne1.yahoo.com> <1380135305.67283.YahooMailNeo@web125005.mail.ne1.yahoo.com> In-Reply-To: <1380135305.67283.YahooMailNeo@web125005.mail.ne1.yahoo.com> Content-Type: multipart/alternative; boundary="------------020303010209080706040006" X-Pg-Spam-Score: -1.2 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org This is a multi-part message in MIME format. --------------020303010209080706040006 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hello, first excuse my English U cant do a backup whit a Client minor version than the server U must have same version to do the backup, so U need upgrade your client (pg_dump 8.4.13) to at least 9.2.4 See U El 25/09/2013 15:55, Thara Vadakkeveedu escribió: > > Hi > I wanted to take a backup of my database. > > pg_dump throws a server mismatch version error > > # cd backups > # su - postgres > -bash-4.1$ pg_dump mydb > mydbfile > pg_dump: server version: 9.2.4; pg_dump version: 8.4.13 > pg_dump: aborting because of server version mismatch > > This is a fresh install of postgresql on a red hat linux server that > did not have any previous database installed on it . I installed > postgresql 9.2 from an rpm (pgdg-redhat92-9.2-7.noarch.rpm ) using yum > install. > > Why am I seeing this error? > How can I take a backup of my database? There are two tables that have > 20,000+ rows in it, that I want to backup and restore when needed. > > thanks > thara. > --------------020303010209080706040006 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, first excuse my English
U cant do a backup whit a Client minor version than the server
U must have same version to do the backup, so U need upgrade your client (pg_dump 8.4.13) to at least 9.2.4


See U


El 25/09/2013 15:55, Thara Vadakkeveedu escribió:

Hi
I wanted to take a backup of my database.

pg_dump throws a server mismatch version error

# cd backups
# su - postgres
-bash-4.1$ pg_dump mydb > mydbfile
pg_dump: server version: 9.2.4; pg_dump version: 8.4.13
pg_dump: aborting because of server version mismatch

This is a fresh install of postgresql on a red hat linux server that did not have any previous database installed on it . I installed postgresql 9.2 from an rpm (pgdg-redhat92-9.2-7.noarch.rpm ) using yum install.

Why am I seeing this error?
How can I take a backup of my database? There are two tables that have 20,000+ rows in it, that I want to backup  and restore when needed.

thanks
thara.


--------------020303010209080706040006--