Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 6BC5D9FBED7 for ; Wed, 9 May 2007 06:23:33 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 14604-04 for ; Wed, 9 May 2007 06:23:29 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id D2E699FBD4C for ; Wed, 9 May 2007 06:23:32 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 8EF8830AF3; Wed, 9 May 2007 11:23:31 +0200 (MET DST) From: Hannes Dorbath X-Newsgroups: pgsql.general Subject: Re: backup and restore Date: Wed, 09 May 2007 11:23:30 +0200 Organization: Hub.Org Networking Services Lines: 20 Message-ID: <46419312.3030907@theendofthetunnel.de> References: <10389799.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org To: anhtin User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) In-Reply-To: <10389799.post@talk.nabble.com> To: pgsql-general@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/421 X-Sequence-Number: 113616 On 09.05.2007 09:45, anhtin wrote: > hi all > I am developing web site use database is PostGres and now i must build > function backup and Restore database on Web > My web develop on framework 2.0(asp.net 2.0) > I know have two file on forder bin use backup and restore is: pg_restore.exe > , pg_dump.exe > I have plan is write function or procedures on Database can backup and > restore database. > How can i write this function ??? > Some body show for me? Well, a good start might be to take a look at the manual of the application in question? See http://www.postgresql.org/docs/current/static/backup.html -- Regards, Hannes Dorbath