ADSM-L

Re: [ADSM-L] Nightly backups.

2008-04-30 15:54:47
Subject: Re: [ADSM-L] Nightly backups.
From: Richard Sims <rbs AT BU DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 30 Apr 2008 15:52:36 -0400
On Apr 30, 2008, at 3:39 PM, David Hensley wrote:

My scripts are not working correctly. Can someone inform me of the
command
that will let me know what volumes were used in the previous nightly
incremental back up? I need to be able to find these tapes and
manually
check them out of the library.


If collocating by node or filespace, the following sample Select
will probably do what you want...
Put in an actual storage pool name in place of the NOT LIKE
clause to reduce overhead, if there is a particular one.

Select VOLUME_NAME, STGPOOL_NAME, -
 LAST_WRITE_DATE from VOLUMES -
 where VOLUME_NAME in -
 (select distinct VOLUME_NAME from -
 VOLUMEUSAGE where NODE_NAME='ACSN03' -
 and STGPOOL_NAME not like '%COPY%' -
 and STGPOOL_NAME not like '%OFFSITE%') -
 order by LAST_WRITE_DATE

  Richard Sims

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