From: | markir(at)coretech(dot)co(dot)nz |
---|---|
To: | Christian Klemke <Christian(dot)Klemke(at)t-online(dot)de> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: PITR on Win32 - Archive and Restore |
Date: | 2004-08-09 08:28:09 |
Message-ID: | 1092040089.afa278a7b1550@mail.coretech.co.nz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 pgsql-patches |
Good suggestion, got me thinking-
Trying out stuff on the command line seems to show a general "unwillingness" to
work with forward slashed names at all:
C:\>cmd /c copy "c:/databases/pgdata/
pg_xlog/000000010000000000000000" "c:/databases/pgarchive/000000010000000000000
000"
The system cannot find the file specified.
0 file(s) copied.
C:\>cmd /c "copy" "c:/databases/pgdata/pg_xlog/000000010000000000000000" "c:/da
tabases/pgarchive/000000010000000000000000"
'copy" "c:' is not recognized as an internal or external command,
operable program or batch file.
C:\>cmd /c "copy "c:/databases/pgdata/pg_xlog/000000010000000000000000" "c:/dat
abases/pgarchive/000000010000000000000000""
The system cannot find the file specified.
0 file(s) copied.
C:\>cmd /c ""copy" "c:/databases/pgdata/pg_xlog/000000010000000000000000" "c:/d
atabases/pgarchive/000000010000000000000000""
'"copy"' is not recognized as an internal or external command,
operable program or batch file.
whereas of course :
C:\>cmd /c copy c:\databases\pgdata\pg_xlog\000000010000000000000000 c:\databa
es\pgarchive\000000010000000000000000
1 file(s) copied.
Quoting Christian Klemke <Christian(dot)Klemke(at)t-online(dot)de>:
> "Copy" is an internal command of the command line shell in Windows. There is
> no separate executable for it.
> Try "cmd.exe /C copy ...." insteads (see "cmd /?" for further options).
>
> Regards,
> Christian.
>
From | Date | Subject | |
---|---|---|---|
Next Message | Gary Doades | 2004-08-09 08:31:08 | Re: PITR on Win32 - Archive and Restore |
PostgreSQL : Re : | Christian Klemke | 2004-08-09 08:16:32 | PostgreSQL : Re : 범퍼카 토토의 Pitr- 아카이브 및 복원 |
From | Date | Subject | |
---|---|---|---|
Next Message | Gary Doades | 2004-08-09 08:31:08 | Re: PITR on Win32 - Archive and Restore |
PostgreSQL : Re : | Christian Klemke | 2004-08-09 08:16:32 | PostgreSQL : Re : 범퍼카 토토의 Pitr- 아카이브 및 복원 |