Jens Wilke wrote:
> The restore script looks like:
>
> --snipp--
> from="$1";
> to="$2";
> while true; do
> if test -f "$ARCHIVEDIR/$from"; then
> src="$ARCHIVEDIR/$from";
> mv "$src" "$to";
> exit 0;
> fi
> # startup triggered
> if test -f $triggerfile; then
> exit 0;
>
Hi,
I hacked up some scripts to do warm standby log shipping with
postgresql version 8.2.7. Everything is fine, but I have one remaining
curiosity.
The restore script looks like:
--snipp--
from="$1";
to="$2";
while true; do
if test -f "$ARCHIVEDIR/$from"; then
src="$ARCHIVEDIR/$from";