Re: Archiving problem on Windows - Mailing list pgsql-general

From Christian Rengstl
Subject Re: Archiving problem on Windows
Date
Msg-id 475548D7.90AD.0080.0@klinik.uni-regensburg.de
Whole thread Raw
In response to Re: Archiving problem on Windows  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Responses Re: Archiving problem on Windows
List pgsql-general


Christian Rengstl M.A.
Klinik und Poliklinik für Innere Medizin II
Kardiologie - Forschung
Universitätsklinikum Regensburg
B3 1.388
Franz-Josef-Strauss-Allee 11
93053 Regensburg
Tel.: +49-941-944-7230




>>> On Tue, Dec 4, 2007 at 12:21 PM, in message
<20071204112151.GG25044@a-kretschmer.de>, "A. Kretschmer"
<andreas.kretschmer@schollglas.com> wrote:
> am  Tue, dem 04.12.2007, um 12:05:41 +0100 mailte Christian Rengstl
> folgendes:
>> >> a have a problem using the following archiving command on
windows:
>> >> 'copy %p C:\\Archive\\DBArchive\\%f'
>> >
>> > According the doc, the command should be:
>> >
>> > archive_command = 'copy "%p" /mnt/server/archivedir/"%f"'  #
Windows
>> >
>> >
>> > Perhaps missing "" around the parameters %p and %f, AND/OR wrong
path
>> for
>> > the destination (\\ instead /), i'm not sure, i'm not familiar
with
>> PG
>> > under Windows.
>>
>> I read that part of the docs, too, and changed it accordingly, but
>> without any success.
>
> The propper config- file? (compare with the output from the command
> "show config_file;" within psql), reload/restart the server?
>
>
> Andreas

show config_file points to the right one. I restarted the server after
every change. After including the quotation marks as in the docs, the
quotation marks also appeared in the command, so at least it shows that
the config file was read.


pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: Archiving problem on Windows
Next
From: "Albe Laurenz"
Date:
Subject: Re: libpq messages language