Capturing output of vacuumdb and pg_dump - Mailing list pgsql-admin

From Matt Mello
Subject Capturing output of vacuumdb and pg_dump
Date
Msg-id 39047.24.243.214.140.1050167917.squirrel@earth.spaceship.com
Whole thread Raw
Responses Re: Capturing output of vacuumdb and pg_dump
List pgsql-admin
Hello, all.

I am a linux shell [bash/sh] newbie.  I want to capture the output of the
vacuumdb and pg_dump commands to a log file.  I want all of the lines that
are normally displayed on the screen to be *appended* to a single log file
that I can inspect offline at my convenience.  I have discovered that
">>logfile" won't get all of the data.  Can someone point me to an example
of how to do that?

Thanks!

--
Matt Mello


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Killing only one postmaster
Next
From: Tom Lane
Date:
Subject: Re: Capturing output of vacuumdb and pg_dump