Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

2197

April 1st, 2016 12:00

Delete a file after N number of inactive days

Hi,

Does Isilon have a feature or policy to delete a file after N number of inactive days/years ?

Thanks

Bharath

450 Posts

April 4th, 2016 08:00

bharath-k

Sorry no, there is far too much liability associated with automatic data deletion, so this is a not a feature we have currently implemented.  We certainly do have the opposite of this, however with our SmartLock licensed feature, which can ensure that data cannot be deleted for a set period of time.  So I could imagine a fairly simply workflow to get to your desired behavior.  If you wanted to for instance retain all data for 5 years, then delete it, you could use smartlock to force data to be retained for 5 years, then write a 3 or 4 line shell script and run it from a linux box in cron that executes a find command for all data whose modified timestamps are older than say 61 months (5 years plus a month of grace time), and passes the -delete syntax to it.

This would seemingly accomplish your goal.  I would of course suggest you be very careful with something like this and test it heavily before implementing it, because incorrect syntax could have dire repercussions.  Also ensure that you have a good backup system in place.

~Chris Klosterman

Advisory Solution Architect

EMC Enablement Team

10 Posts

April 4th, 2016 12:00

Thanks for the update.

No Events found!

Top