Re: WAL Archiving under Windows

From: Tim Tassonis <timtas(at)cubic(dot)ch>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: WAL Archiving under Windows
Date: 2006-10-31 12:57:57
Message-ID: 45474855.7080903@cubic.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Richard Huxton wrote:
> Tim Tassonis wrote:
>>>> We use version 8.1.3 and the following archive_coomand:
>>>>
>>>> archive_command = 'copy %p d:\\backup\\logs\%f'
>>> ^^^
>>> Could the lack of a double-backslash be causing the problem?
>>>
>>
>> Sorry, that was a problem on my quoting. The config file reads:
>>
>>
>> archive_command = 'copy %p d:\\backup\\logs\\%f'
>
> Hmm - in that case I'd be tempted to wrap it in a small script so you
> can log the parameters passed in and return code passed out.
>

The strange thing is, even with loglevel debug5, I don't get any log
message indicating that postgres is even trying to call the command. Is
there only anything in the logfile if the copying succeeds or are there
cases where postgres thinks it doesn't have to copy them. From what I
understand, the wal files should be copied fairly often, so if postgres
breaks, everything is at the (hopefully still intact) archive location.

Bye
Tim

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Anastasios Hatzis 2006-10-31 14:24:00 Re: postgres under Suse linux
Previous Message SunWuKung 2006-10-31 09:15:32 Catch multiple records when doing Select Into