ADSM-L

Re: How I can delete archived directory entries?

2006-08-10 06:25:12
Subject: Re: How I can delete archived directory entries?
From: Leigh Reed <L.Reed AT MDX.AC DOT UK>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 10 Aug 2006 11:23:40 +0100
Roland

I know that it doesn't strictly follow logic, but this works for me

del archive <filespec>  -subdir=yes

Because of the nature of the command, run a small test in your own environment 
to ensure that it performs as my env. does.

arch <testfilespec> -subdir=yes
q arch <testfilespec>
del arch <testfilespec> -subdir=yes
q arch <testfilespec>


Leigh

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
LFD Steinmetz, Roland
Sent: 10 August 2006 09:58
To: ADSM-L AT VM.MARIST DOT EDU
Subject: [ADSM-L] How I can delete archived directory entries?

Hi all, 

With "DELETE ARCHIVE ..." I can delete archived files entries.

How I can delete the first and second archived directory entries?


query archive -fromdate=08-08-2006 "/*"

             Size  Archive Date - Time    File - Expires on - Description
             ----  -------------------    -------------------------------
            96  B  08-08-2006 20:07:34    /oradata 07-09-2006
ARC_ONLDB_AD030
           272  B  08-08-2006 20:07:34    /oradata/arch 07-09-2006
ARC_ONLDB_AD030
   104,857,088  B  08-08-2006 20:07:42    /oradata/arch/1_2764.arc
07-09-2006 ARC_ONLDB_AD030
   104,857,088  B  08-08-2006 20:07:54    /oradata/arch/1_2765.arc
07-09-2006 ARC_ONLDB_AD030
    43,975,168  B  08-08-2006 20:08:04    /oradata/arch/1_2766.arc
07-09-2006 ARC_ONLDB_AD030
       242,176  B  08-08-2006 20:08:09    /oradata/arch/1_2767.arc
07-09-2006 ARC_ONLDB_AD030


Mit freundlichen Grüßen 

Roland Steinmetz

--------------------------------------------------------------------------
Thüringer Landesfinanzdirektion (LFD)
Zentrum für Informationsverarbeitung (ZIV)
Systemtechnik und Datenbankadministration
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>