Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 91D76475B8F for ; Fri, 22 Nov 2002 11:07:09 -0500 (EST) Received: from mx2.mail.ru (mx2.mail.ru [194.67.57.12]) by postgresql.org (Postfix) with ESMTP id 409F447676E for ; Fri, 22 Nov 2002 11:07:08 -0500 (EST) Received: from [213.128.193.142] (helo=mail.ru) by mx2.mail.ru with esmtp (Exim SMTP.2) id 18FGKl-000Dlk-00; Fri, 22 Nov 2002 19:07:12 +0300 Message-ID: <3DDE5628.50403@mail.ru> Date: Fri, 22 Nov 2002 19:07:04 +0300 From: dima <_pppp@mail.ru> User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020816 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Colin Stearman Cc: pgsql-admin@postgresql.org Subject: Re: Database backup and restore References: <012001c29240$0aae42f0$3301a8c0@Colin2000> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/202 X-Sequence-Number: 6390 > Am I missing something? There seems to be no way to dump all databases > and then restore them (as you'd have to do on a version change) if the > databases contain blobs. > > pg_dump supports dumping of blobs with the -b -Ft switch, but using > pg_dumpall with those switches doesn't seem to work. And in any case, > pg_restore seems to be missing its equivalent pg_restoreall. Other than > (painfully) manually pg_dumping and pg_restoring each database, how else > could it be done? > > I would search the mailing lists but the site's search engine is down. i wrote a script in perl which dumps all the DBs but template* i can mail it to you if you wish