X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 7E8159FA68D for ; Tue, 25 Jul 2006 21:13:23 -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 18598-08 for ; Tue, 25 Jul 2006 21:13:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.cresoltec.com.br (unknown [200.103.143.8]) by postgresql.org (Postfix) with SMTP id 2B13A9FA48B for ; Tue, 25 Jul 2006 21:12:43 -0300 (ADT) Received: (qmail 1198 invoked from network); 25 Jul 2006 20:17:57 -0000 Received: from unknown (HELO ?10.90.2.162?) (10.90.2.162) by mail.cresoltec.com.br with SMTP; 25 Jul 2006 20:17:57 -0000 Message-ID: <44C67C1B.3050809@yahoo.com.br> Date: Tue, 25 Jul 2006 17:16:27 -0300 From: Alexander Burbello User-Agent: Mozilla Thunderbird 1.0.2 (X11/20060423) X-Accept-Language: pt-br, pt MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Restore and Recover Database Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.893 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, FORGED_RCVD_HELO, RCVD_IN_BL_SPAMCOP_NET X-Spam-Level: * X-Archive-Number: 200607/214 X-Sequence-Number: 22460 Sorry insist in this question, but did someone try to restore and recover the database, and check if no data is lost?? I tryed to do some steps following the Postgres documentation, but ... I couldn't recover. Anybody has some tips or suggestion? Thanks in advance. I followed the steps based on the site, but I couldn't finish succesfully. I did: 1. Put the database on Backup Mode and copy datafiles. /pg/bin/psql dbdev -c "SELECT pg_start_backup('/pg/backup/');" tar -cvf /pg/backup/bk_base.tar /pg/data/base/* /pg/bin/psql dbdev -c "SELECT pg_stop_backup();" File .conf: archive_command = 'cp -i %p /pg/backup/xlog/%f