Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4BBBF475ED1 for ; Mon, 25 Nov 2002 03:58:17 -0500 (EST) Received: from mx2.mail.ru (mx2.mail.ru [194.67.57.12]) by postgresql.org (Postfix) with ESMTP id E0763475F2B for ; Mon, 25 Nov 2002 03:58:14 -0500 (EST) Received: from [213.128.193.142] (helo=mail.ru) by mx2.mail.ru with esmtp (Exim SMTP.2) id 18GF4I-000IX3-00; Mon, 25 Nov 2002 11:58:14 +0300 Message-ID: <3DE1E61D.8050005@mail.ru> Date: Mon, 25 Nov 2002 11:58:05 +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: Dan Langille Cc: Colin Stearman , pgsql-admin@postgresql.org Subject: Re: Database backup and restore References: <3DDE4337.19961.C434DCC6@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/242 X-Sequence-Number: 6430 >>On first glance at dima's script it does not seem to deal with blobs, >>although could easily me made to do so. > I think that would be a very good addition to the PostgreSQL toolkit. > FWIW, I do not use blobs and consequently do not think of them when > backups are required. > >>I'll be working on it some more and will share what I come up with. > I'm sure it will be added to the contrib directory. Heya, Dan! I posted the script to the list as you asked. Well, restore_all stuff Colin asked for needs some more work since we need to keep owner names somewhere outside the dumps ( I'm not about to parse those dump files ;) ) to restore the DBs with the same owners. I don't think making backups of template? DBs makes sense since they would be unportable between the versions of PostgreSQL. Anyway, restore_all script will be work in progress (I hope I'll have enough free time to contribute this week). Porting dumps between versions of PostgreSQL seems to be a problem. Say, I faced 'serial' type incompatibility moving my dumps from 7.1.3 to 7.2.2 (since they became 64-bit integers).