ADSM-L

Re: Fileserver data expiration

2001-03-03 19:22:47
Subject: Re: Fileserver data expiration
From: S W Branch <swbranc AT PPCO DOT COM>
Date: Sat, 3 Mar 2001 08:46:45 -0600
On unix you can use the find command to identify the files that haven't
been modified in x number of days and copy them to another directory that
you can then archive from.

find searchpath  -mtime +numberof days  -exec mv {} targetpath \; -exec
echo {} \;

dsmc archive -DELETEFILEs "targetpath" >> /tmp/archive_to_adsm.log





                    Alex Paschal <AlexPaschal AT FREIGHTLINER DOT COM>
                    Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT 
EDU>


                    03/02/2001 05:56 PM
                    Any replies will be addressed to: "ADSM: Dist Stor Manager"

                     To:   ADSM-L AT VM.MARIST DOT EDU
                     cc:
                     Subject:           Fileserver data expiration





Howdy.

Does anybody know of products that can check the last modification/access
times of files, delete, and archive them?

I know the BA Client (GUI) can Archive > Search (Modify and Access Date) >
Filter, then archive/delete, but that's a manual process.  I could write a
C
or perl program to do it, possibly using the API or piping filenames into
DSMC, but I don't want to get into the business of writing/supporting
custom
software.  This feels like it goes a bit beyond the level of 'admin
scripting.'  I'd like to use this product, if it exists, on both NT and AIX
platforms.

Thanks,
Alex Paschal
Storage Administrator
Freightliner, LLC
(503) 745-6850 phone/vmail
<Prev in Thread] Current Thread [Next in Thread>