ADSM-L

Deleting archive data using command line client

2005-03-23 02:02:29
Subject: Deleting archive data using command line client
From: Jurjen Oskam <jurjen AT STUPENDOUS DOT ORG>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 23 Mar 2005 08:01:34 +0100
Hi there,

With the GUI-client, you have the option to manually delete archived
data. The GUI presents archived data in packages, sorted by archive
description. I'm using the 5.3 B/A client on an AIX node.

I'd like to delete a whole lot of those packages. Using the GUI is
not practically possible: selecting the first entry and then shift-click
on the last entry to select it and everything in between doesn't work.
I manually have to select each and every one. Also, I didn't find a way
to select and/or filter on the contents of the description field.

I didn't find a way to accomplish this task using the CLI. Of course,
it's possible to delete archived data using the CLI, but it doesn't
seem to be possible to delete archived packages using a wildcard pattern
on the archive description.

There are no files in the archived packages, they are all expired (as
intended). Due to a configuration mistake, the directories were bound
to a management class with a much longer archive retention setting, so
they haven't expired yet. Eventually though, they will.

The reason I want do delete these packages is that the GUI (specifically
the Web client) gets real slow when there are a lot of archived packages
to choose from.

What I would like to know is how to achieve something like this
(pseudocommand):

dsmc delete archive -des="gl-2004*"

This would then delete all archived data with a matching description,
even when only directories are present in a package.

Thanks,
--
Jurjen Oskam

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