Re: Archiving problem on Windows

From: "Christian Rengstl" <Christian(dot)Rengstl(at)klinik(dot)uni-regensburg(dot)de>
To: <pgsql-general(at)postgresql(dot)org>, "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
Subject: Re: Archiving problem on Windows
Date: 2007-12-04 11:30:44
Message-ID: 475548D7.90AD.0080.0@klinik.uni-regensburg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)GG25044(at)a-kretschmer(dot)de>, "A. Kretschmer"
<andreas(dot)kretschmer(at)schollglas(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2007-12-04 11:33:54 Re: libpq messages language
Previous Message A. Kretschmer 2007-12-04 11:21:51 Re: Archiving problem on Windows