Help me Delete, like I've never deleted before...
August 2, 2011 11:50 AM Subscribe
Need help from Sys Admins. You've never steered me wrong here... :) Need to know how to automatically have old data be deleted from Windows Server 2008, as well as have certain file types be automatically killed....Please see explanation...
I am but a lowly desktop support guy who's been asked to help out with this. Have several servers that backups are taking too long. The powers that be, have decided that they will NOT upgrade to larger capacity drives and backup tapes. Instead they've given me permission to delete ALL data older than a certain amount of months. Also, to delete indiscriminately certains types of data (mp3's, etc). I don't have too much scripting knowledge, so a simple tool or explanation of how this could be done would be very helpful. Of course if it's free, even better. Thank you all in advance
posted by stevyb to technology (10 answers total) 3 users marked this as a favorite
You cannot, however, just delete all files older than X. Some of the drivers you're using have datestamps from years ago, as do some Windows operating system files. But you can certainly go into the folders that users have used as storehouses and do it.
But maybe you don't know which folders are the worst storehouses. For that, I like to use WinDirStat (get it from download.com) and let it show me folder size and usage statistics, and I also like SequoiaView which will give you a visualization - very cool for finding HUGE files, huge folders, and preponderances of file types you can kill (I just nuked 4GB of mp3s off one of our servers after finding them with SequoiaView).
The thing is, you don't want to script this. You don't want to do any of it blind. You sit down and look and think. You notice most of the MP3s are in one folder and delete it. You find a huge old dump or log file on the root of C that's 5 years old and either nuke it or zip it and stick it on a CD or flash drive. You figure out the users have gigs and gigs of old Excel files spread out over 15 folders and you can use Windows Search to find and can them. Caution is your key here.
posted by Lyn Never at 12:06 PM on August 2, 2011 [2 favorites]