Re: PITR on Win32 - Archive and Restore
От | Bruce Momjian |
---|---|
Тема | Re: PITR on Win32 - Archive and Restore |
Дата | |
Msg-id | 200408090223.i792N0N01490@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: PITR on Win32 - Archive and Restore (markir@coretech.co.nz) |
Ответы |
Re: PITR on Win32 - Archive and Restore
|
Список | pgsql-hackers-win32 |
markir@coretech.co.nz wrote: > Using : > > archive_command = '"copy "%p" "c:/databases/pgarchive/%f""' > > I see this is the log: > > 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. > > Looks like it is confused about what the executable is... 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. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-hackers-win32 по дате отправления: