ADSM-L

Re: retrieving the latest archived files...

1999-06-15 13:49:08
Subject: Re: retrieving the latest archived files...
From: Richard Cowen <richard.cowen AT VTMEDNET DOT ORG>
Date: Tue, 15 Jun 1999 13:49:08 -0400
>     OK, I think I'm screwed but I'll ask anyway...
>
>     I have specific file names... some 2,000+ and I need to retrieve back
>     the latest archive.
>

if you care to script, for each $filename

dsmc query archive $filename -dateformat=3 |grep "Date:" |sort -r -k 2 |head -1



268  1999-06-15   11:09:33    /home1/users/sybase/dba/test.ksh 07/20/99   
Archive Date: 06/15/99    Time: 11:08:56

(use the description to retrieve)

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