Re: anyone have a decent purge script for 11g diag directories

From: gazzag <gareth_at_jamms.org>
Date: Mon, 17 Nov 2008 08:29:46 -0800 (PST)
Message-ID: <7805f4a8-bb3e-441c-9b3e-dca99253d20d@w24g2000prd.googlegroups.com>


On 15 Nov, 16:58, Mladen Gogala <mgog..._at_yahoo.com> wrote:
> On Fri, 14 Nov 2008 18:32:26 -0800, DA Morgan wrote:
> >> SQL> alter database backup controlfile to trace as '/tmp/dan.sql';
>
> >> Database altered.
>
> > That makes a binary copy not a text copy. Please note that I addressed
> > that above.
>
> No, it doesn't make a binary copy. It produces a trace file and renames
> it as requested.
>

Indeed. It would appear that there's a clue in the statement itself:

alter database backup controlfile TO TRACE as '/tmp/dan.sql';

-g Received on Mon Nov 17 2008 - 10:29:46 CST

Original text of this message