Capturing output of vacuumdb and pg_dump

From: "Matt Mello" <alien(at)spaceship(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Capturing output of vacuumdb and pg_dump
Date: 2003-04-12 17:18:37
Message-ID: 39047.24.243.214.140.1050167917.squirrel@earth.spaceship.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-04-12 17:25:57 Re: Capturing output of vacuumdb and pg_dump
Previous Message Tom Lane 2003-04-12 16:35:59 Re: Killing only one postmaster