| От | Gary Doades |
|---|---|
| Тема | Re: PITR on Win32 - Archive and Restore |
| Дата | |
| Msg-id | 4117445C.860.20BD9876@localhost обсуждение исходный текст |
| Ответ на | Re: PITR on Win32 - Archive and Restore (markir@coretech.co.nz) |
| Список | pgsql-hackers-win32 |
On 9 Aug 2004 at 20:12, markir@coretech.co.nz wrote: > I *think* I have tried that one, but checked anyway: > > The result is : > > LOG: archive command ""copy > "c:/databases/pgdata/pg_xlog/000000010000000000000000" > "c:/databases/pgarchive/000000010000000000000000""" failed: return code 1 > The system cannot find the file specified. > > I think this led us on to more bizzare pastures... > The problem here is that "Copy" is not an external command (as it says), but it is built into the "shell" (cmd.exe). To use copy you would have to run cmd.exe and make the copy command the first parameter after the /C switch. It's much better to use "xcopy" anyway, which *is* an external command and can be run with a string similar to the one use are using now. Cheers, Gary.
В списке pgsql-hackers-win32 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера