ONTAP Discussions

How to script a automated way of finding old files \ Folders so that we can delete them?

Scott_CP
97 Views

Hi There,  I am not sure i picked the correct Board, but here goes.

 

We have a lot of older data on several windows CIFS that needs to be cleaned up , preferably deleted.   Rather than just search the folder structure, we were wondering if we could use Netapps built in  File Analytics  Rest APIs to help us  develop and use scripts. 

My problem is we don't have much in the way of in house expertise to create these .  I am looking for some guidance on what i could share from your input  here to a consultant who would know what do do with it.  

We are looking to get rid of data that hasn't been modified or accessed in 6 years.  My thinking is a script could scan our cifs and give us a report and then give us a option to delete.

 

Feel free to ask me questions on this request.

 

thanks,

Scott

Is this doable?

 

2 REPLIES 2

TMACMD
80 Views

Xcp.netapp.com

 

 this is a great utility with files analytics also. Made and supported by Netapp

sanmanjax
22 Views
Scott,

Some completely unsolicited advice - use BlueXP Classification to scan for stale files, get a true report on share, file & folder security, identify sensitive information & more. The best part is that it is FREE under 500 TiB!

I'm usually a scripter, but this tool rocks and helps with many other admin-type tasks. Results can be exported and fed into purpose-built scripts to delete, or archive, or whatever.

Best wishes,
Daniel

___________________________________________
Daniel Rich | Manager
Enterprise Storage and Data Protection
Citizens Property Insurance Corporation
Mobile: 904.373.8855
Work: 904.328.2555

This email and any attachments may contain confidential and privileged information and are solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately, and delete the original message. If you are not the intended recipient, please do not use, disclose, disseminate or distribute this email or any information contained in this email. Please be advised that emails are subject to the Florida Public Records Act, and any response to this email may be a public record.
Public