I've got a domain of 10-15 Windows 7 computers that I don't have physical access to. They are using Windows Backup to only backup certain files (Desktop, Fav's, PST, things like that). The problem I'm having is that my server is running out of room. How can I set the backup to use, say, only 20gb, or to delete backups older than one month?
1 Answer
Create a batch file with the following command line:
forfiles -p "C:\path\path" -s -m . -d -c "cmd /c del @path"
Schedule that file to be ran on a daily basis.
-
You'll also need to download Windows Server 2003 Resource Kit Tools (microsoft.com/en-us/download/details.aspx?id=17657)– GeorgeJun 1, 2012 at 16:57
-
You can also get forfiles by going to (ftp.microsoft.com/ResKit/y2kfix/x86)– GeorgeJun 1, 2012 at 19:02
-