Re: PITR on Win32 - Archive and Restore

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

markir(at)coretech(dot)co(dot)nz wrote:
> That problem is because there is no copy.exe, it's part of cmd. I am afraid I
> introduced that confusion while trying out all sorts of things in
> archive_command....

Yea.

> I suspect that your example may be working because of your current directory is
> where your test files happen to be (the business of quoted forward slash paths
> working *if* they point to your current working directory is very odd).

Wow, strange. OK, at least I know how to test now.

> Consistency is generally lacking commands as well - e.g:
>
> C:\Databases>cd "c:/program files"
> The system cannot find the path specified.
>
> C:\Databases>dir "c:/program files"
> Volume in drive C has no label.
> Volume Serial Number is F444-3F9F
>
> Directory of c:\program files
>
> 11/08/2004 15:02 <DIR> .
> 11/08/2004 15:02 <DIR> ..
> 24/08/2003 03:13 <DIR> Accessories
> 23/08/2003 18:20 <DIR> ATI Technologies
> 08/09/2003 17:22 <DIR> CheckPoint
> 07/08/2004 14:18 <DIR> Common Files

Wow, that is amazing. I saw that with DIR that I could do 'DIR "C:/"'.

Even if I don't change anything I need to document this in the code.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andrew Dunstan 2004-08-11 03:21:53 Re: PITR on Win32 - Archive and Restore
Previous Message Bruce Momjian 2004-08-11 03:12:32 Re: PITR on Win32 - Archive and Restore

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-08-11 03:21:53 Re: PITR on Win32 - Archive and Restore
Previous Message Bruce Momjian 2004-08-11 03:12:32 Re: PITR on Win32 - Archive and Restore