Re: PITR on Win32 - Archive and Restore

From: Mark Kirkwood <markir(at)coretech(dot)co(dot)nz>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: PITR on Win32 - Archive and Restore
Date: 2004-08-09 03:37:50
Message-ID: 4116F18E.6070603@coretech.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches

I will try it out later this afternoon.

I am a bit delayed with a hardware problem... suspect bad ram or too hot
cpu, so have been swapping and changing bits all morning (running with
500Mhz + 256M instead of 700Mhz + 512M ... noticeably slower).

regards

Mark

Bruce Momjian wrote:

>Tom Lane wrote:
>
>
>>Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>>
>>
>>>OK, I think I might see the cause. Try this:
>>> archive_command = '""copy" "%p" "c:/databases/pgarchive/%f""'
>>>In other words, quote the 'copy' command too. Crazy --- yes.
>>>
>>>
>>Yikes. If it's that hard to get it to work, maybe we should just
>>knuckle under and make %p convert / to \ under Windows :-(
>>
>>(Microsoft cultural imperialism wins another round...)
>>
>>However, just one question --- the Microsofties also like to put spaces
>>in path names. How much quoting would be needed to make this command
>>string work in the face of spaces in %p, even if we did the backslash
>>thing? If the answer is "nearly as much" then I'm not going to be
>>excited about backslashing.
>>
>>
>
>For sure we have to have the quoting working for spaces in directory
>names. Lets see how the new suggestion works for him.
>
>
>

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Jamie Deppeler 2004-08-09 03:54:33 problems building with msys
Previous Message Bruce Momjian 2004-08-09 03:15:47 Re: PITR on Win32 - Archive and Restore

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-08-09 04:14:30 Re: 8.0: Absolute path required for INITDB?
Previous Message Bruce Momjian 2004-08-09 03:15:47 Re: PITR on Win32 - Archive and Restore