Re: WAL Archiving under Windows - Mailing list pgsql-general

From Taras Kopets
Subject Re: WAL Archiving under Windows
Date
Msg-id ce3f16fd0610300945h56fc997fqa86bfe542dfd52a7@mail.gmail.com
Whole thread Raw
In response to Re: WAL Archiving under Windows  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Hi!

> archive_command = 'copy %p d:\\backup\\logs\\%f'

I think you should try something like this:
archive_command = 'copy %p d:/backup/logs/%f'
(using single / instead of \\).

In documentation it is said:
restore_command = 'copy /mnt/server/archivedir/%f "%p"' # Windows
So I think the same format of command line sould be used for copying WAL files.

Taras Kopets

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: WAL Archiving under Windows
Next
From: "John D. Burger"
Date:
Subject: Re: CREATE TABLE initial value for PRIMARY KEY