Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f6KGx9a97687 for ; Fri, 20 Jul 2001 12:59:09 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6J6V9a84760 for ; Thu, 19 Jul 2001 02:31:09 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f6J65ea98361 for pgsql-admin@postgresql.org; Thu, 19 Jul 2001 02:05:40 -0400 (EDT) (envelope-from news) From: "Marian Sabo" X-Newsgroups: comp.databases.postgresql.admin Subject: Re: HOW-TO migrate database Date: Thu, 19 Jul 2001 08:05:04 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 28 Message-ID: <9j5tbh$301n$1@news.tht.net> References: <25373.995388342@sss.pgh.pa.us> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: pgsql-admin@postgresql.org X-Archive-Number: 200107/111 X-Sequence-Number: 1869 Hello I use the "-d" switch and data format is correctly exported from database. There's no problem to import table schemes and data to new 7.1.2 Marian Sabo "Tom Lane" wrote in message news:25373.995388342@sss.pgh.pa.us... > "Marian Sabo" writes: > > I have a many databases on server "one" in postgres-6.5.2 > > How can I copy my databases to a new server with new postgres vsersion > > (7.1.2) ? > > on first server I run : pg_dumpall -o > outputfile, but on new server > > pg_restore don't understand the data format. > > pg_dumpall is the right approach, though I would not recommend using -o. > > Possibly you will need to do a little bit of editing to cope with > changes from 6.5 to 7.1, although it surprises me to hear it. What > problems are you seeing, exactly, when you try to load the dump script? > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster