Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id B46E02E003F for ; Mon, 3 Dec 2007 06:21:19 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 04094-09 for ; Mon, 3 Dec 2007 06:21:02 -0400 (AST) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by postgresql.org (Postfix) with ESMTP id 743FE2E0073 for ; Mon, 3 Dec 2007 06:21:11 -0400 (AST) Received: by py-out-1112.google.com with SMTP id u77so6976249pyb for ; Mon, 03 Dec 2007 02:21:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=5CVxGHrzjxfMaWruwA80TfpqRVefW3yYp8dUIsZ+APA=; b=G8euAZ6XhmPLd1LMDqLVMMjAXyk4tgpmcVc2mfCAQPwGit3khLcHTCiPzGBgJo7cRJ3bDaeWa7rETzC34IKfHhT+iWi4PKKgyqZQajBmqan1X8v4p9bMNg7icTsHpHSZRqzp6eMP+vB5GF69kEElUF5TBqrzQ+NAFcUvlN9kjCw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type; b=nfpfngCpa8+4vLvv4YvR9GkUWgIsyOX6RDk2T4gsg2EfnmHQ3On6dplFyBfMd+lpGFWya2HRC6h5xEisIxfGrkdkMwzq3IhFGysr5j4TSRujWAmol60pxQ69lQOeXh1Y1Hwbq3XnUwc04vzm0Mo7KeZUOxBtJIy6YXDf5R9AasU= Received: by 10.65.23.7 with SMTP id a7mr11728776qbj.1196677269568; Mon, 03 Dec 2007 02:21:09 -0800 (PST) Received: by 10.65.83.20 with HTTP; Mon, 3 Dec 2007 02:21:09 -0800 (PST) Message-ID: <2267dd9e0712030221y6f597c08w1c90ccbe2a176554@mail.gmail.com> Date: Mon, 3 Dec 2007 18:21:09 +0800 From: "Tommy Cheng" To: pgsql-admin@postgresql.org Subject: How to identify the current WAL segment file MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6177_24752580.1196677269566" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/6 X-Sequence-Number: 27523 ------=_Part_6177_24752580.1196677269566 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi everyone, I am new to postgresql. So point me to somewhere else if you got the right direction. i am using PostgreSQL 8.1.9 on a linux system and i want to setup PITR. i found that the segment size is too large that the copying frequency is not high enough. So, i want to set up a cron job that periodically identifies the current WAL segment file once a minute and scp it to other server. How to do that, can someone give me a template script? Btw, i saw archieve_timeout setting in http://www.postgresql.org/docs/8.2/static/continuous-archiving.html that may suits my need, can i use it in 8.1.9? ------=_Part_6177_24752580.1196677269566 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi everyone,

I am new to postgresql. So point me to somewhere else if you got the right direction.

i am using PostgreSQL 8.1.9 on a linux system and i want to setup PITR. i found that the segment size is too large that the copying frequency is not high enough.

So, i want to set up a cron job that periodically identifies the current WAL segment file once a minute and scp it to other server.

How to do that, can someone give me a template script?

Btw, i saw archieve_timeout setting in http://www.postgresql.org/docs/8.2/static/continuous-archiving.html
that may suits my need, can i use it in 8.1.9?


------=_Part_6177_24752580.1196677269566--