pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #10817: archive settings
2+ messages / 2 participants
[nested] [flat]

* BUG #10817: archive settings
@ 2014-06-30 13:01 rameshparnanditech@gmail.com
  2014-06-30 20:14 ` Re: BUG #10817: archive settings Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: rameshparnanditech@gmail.com @ 2014-06-30 13:01 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      10817
Logged by:          Ramesh
Email address:      rameshparnanditech@gmail.com
PostgreSQL version: 9.3.3
Operating system:   windows 7
Description:        

hi i'm new postgres.

when try to set archive_command in postgres.conf

like,
archive_command = 'copy "%p" "C:\Program Files\PostgreSQL\9.3\testdata\%f"'

then  ran this query pg_stop_backup();

its return error like,
wait for wal segments to archive 60 seconds please check archive command.. 
following error retunrs 



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #10817: archive settings
  2014-06-30 13:01 BUG #10817: archive settings rameshparnanditech@gmail.com
@ 2014-06-30 20:14 ` Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2014-06-30 20:14 UTC (permalink / raw)
  To: rameshparnanditech@gmail.com; +Cc: pgsql-bugs

On Mon, Jun 30, 2014 at 10:01 PM, <rameshparnanditech@gmail.com> wrote:

> when try to set archive_command in postgres.conf
>
This is not a bug, it is better to ask such questions in pgsql-general or
pgsql-novice.


> like,
> archive_command = 'copy "%p" "C:\Program Files\PostgreSQL\9.3\testdata\%f"'
>
I recall that the use of double backslash "\\" is necessary to indicate the
folder path, making the command look like that actually:
archive_command = 'copy "%p" "C:\\Program
Files\\PostgreSQL\\9.3\\testdata\\%f"'

then  ran this query pg_stop_backup(); its return error like,
> wait for wal segments to archive 60 seconds please check archive command..
> following error retunrs
>
Without more details about the failure, we cannot guess what is happening?
Is it a permission issue? Does the target folder exist?
-- 
Michael

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-06-30 20:14 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-06-30 13:01 BUG #10817: archive settings rameshparnanditech@gmail.com
2014-06-30 20:14 ` Michael Paquier <michael.paquier@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox