X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4E6FC536E5 for ; Thu, 7 Apr 2005 09:49:39 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 87346-10 for ; Thu, 7 Apr 2005 08:49:30 +0000 (GMT) Received: from mail.eulerhermes.pl (mail.hermes-kredit.pl [217.153.119.83]) by svr1.postgresql.org (Postfix) with ESMTP id 75AA653231 for ; Thu, 7 Apr 2005 09:49:27 +0100 (BST) Received: from [192.168.49.9] (helo=xterm.podsiec) by mail.eulerhermes.pl with esmtpa (Exim 4.42) id 1DJShZ-0005ls-W4 for pgsql-admin@postgresql.org; Thu, 07 Apr 2005 10:49:26 +0200 From: Marcin Giedz Organization: Euler Hermes To: pgsql-admin@postgresql.org Subject: Problem with backup... Date: Thu, 7 Apr 2005 10:49:22 +0200 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504071049.22677.marcin.giedz@eulerhermes.pl> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.104 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/96 X-Sequence-Number: 17109 Hello... Here is procedure of making everyday online backup: 1) select pg_start_backup('xxx'); 2) tar -cf backup-xxx.tar /mnt/db/pg1 3) select pg_stop_backup(); rm all archived WAL files before special one taken from backup_log 4) tar -cf var-xx.tar /mnt/db/var Next I'd like to use this copy on my test machine. So I copy backup-xxx.tar and var-xxx.tar and untar these files. Directories structure on test are the same like on production machine. But when I try to run pg_ctl only empty log file is created but postmaster doesn't run. Can anyone please tell me what I'm doing wrong? Thx, Marcin