X-Original-To: pgadmin-support-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id B3B219FB28B for ; Wed, 12 Jul 2006 16:42:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 61022-09 for ; Wed, 12 Jul 2006 16:41:59 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by postgresql.org (Postfix) with ESMTP id 52B689FB304 for ; Wed, 12 Jul 2006 16:41:59 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id y25so191132nfb for ; Wed, 12 Jul 2006 12:41:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=rPJV5B6G9XYCs1rEW19QBtAz5YGNnySnOS0dBMsJxosXmHYBj8NkRYnqiKLkuP66Csrh2xh6BzXMDM0mKGEp9fxJrknKdO2OcDYC/gD3BtKYt8SKtSasD2CUb5CfbmAsNbko2I9Q/Z2JDyobyaVg5iLnEP3vQDkGk1Yhqvnm1uI= Received: by 10.78.160.2 with SMTP id i2mr37156hue; Wed, 12 Jul 2006 12:41:57 -0700 (PDT) Received: by 10.78.29.15 with HTTP; Wed, 12 Jul 2006 12:41:57 -0700 (PDT) Message-ID: Date: Wed, 12 Jul 2006 14:41:57 -0500 From: "Aaron Bono" To: Burbello Subject: Re: [ADMIN] Restore Database Cc: "Lista Postgres" , pgsql-admin@postgresql.org In-Reply-To: <20060711171232.83182.qmail@web36205.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8299_22282679.1152733317215" References: <20060711171232.83182.qmail@web36205.mail.mud.yahoo.com> X-Google-Sender-Auth: 652d164ff206abc2 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/31 X-Sequence-Number: 5604 ------=_Part_8299_22282679.1152733317215 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/11/06, Burbello wrote: > > I need to test and create a procedure to restore > databases. Why not just use pg_dump? See http://manual.intl.indoglobal.com/ch06s07.html - it's really easy. This is how we copy from production to testing and development and how we do nightly backups. ================================================================== Aaron Bono Aranya Software Technologies, Inc. http://www.aranya.com ================================================================== ------=_Part_8299_22282679.1152733317215 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/11/06, Burbello <burbello3000@yahoo.com.br> wrote:
I need to test and create a procedure to restore
databases.

Why not just use pg_dump?

See http://manual.intl.indoglobal.com/ch06s07.html - it's really easy.  This is how we copy from production to testing and development and how we do nightly backups.


==================================================================
   Aaron Bono
   Aranya Software Technologies, Inc.
   http://www.aranya.com
================================================================== ------=_Part_8299_22282679.1152733317215--