"Shoaib Mir" <shoaibmir(at)gmail(dot)com> writes:
> While running the recovery process I am getting the following errors for
> cannot stat:
> cp: cannot stat `/data1_node5/arch/00000001.history': No such file or
> directory
What makes you think this is an error? As pointed out in the docs,
the archive_recovery command *will* be asked for files that don't
exist. You might want to tweak your script to not report an error
in this case.
regards, tom lane