Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

seeking PITR archive_command advice


  • From: "Ashish Karalkar" <ashish(dot)karalkar(at)info-spectrum(dot)com>
  • To: <pgsql-general(at)postgresql(dot)org>
  • Subject: seeking PITR archive_command advice
  • Date: Tue, 17 Apr 2007 15:26:44 +0530
  • Message-id: <006c01c780d6$b925d710$170211ac(at)LIONKING(dot)COM>

Hello All,
 
I am trying to set up continues archiving of WAL files.
I have some doubt about the archive command %p and %f parameter.
 
I am havining all 5/6 WAL files in following directory. 
 
usr/local/pgsql/data/pg_xlog
 
My questions are
 
1) what will be the value for %p parameter
will  it be
/usr/local/pgsql/data/pg_xlog ?
 
is yes it is giving me following error
cp: omitting directory `/usr/local/pgsql/data/pg_xlog/
 
2)
which file name i should give in place of %f parameter as there are 5/6 files already?
 
Thanks in Advance
 
With Regards
Ashish Karalkar


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group