Solved

Windows 2008 R2 cannot delete older backups

Posted on 2010-09-13
3
3,531 Views
Last Modified: 2012-05-10
I have a 2008R2 server running exchange 2007. We are using windows server backup to backup exchange data and local system data to a SCSI attached drive mounted as X:

This drive is now full and it appears that windows backup is doing as expected by deleting the oldest backup automatically, however we would like to delete quite a few of the older backups. I have looked through the following resources for help

http://blogs.technet.com/b/filecab/archive/2009/06/22/backup-version-and-space-management-in-windows-server-backup.aspx

If I try to perform vssadmin Delete Shadows /For=X: /Oldest

I get the error "No items found to satisfy the query".

Am I missing something easy here? Or is there complication due to the fact that the job contains exchange backups as well as system state backups?

Your expert guidance is appreciated!
0
Comment
Question by:Raymo12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
Karim-Said earned 500 total points
ID: 33708770
Hi,
you need to use vshadow from the 2008 R2 SDK
Full parameter reference is from here
http://msdn.microsoft.com/en-us/library/bb530725(VS.85).aspx#deleting_shadow_copies
example:
vshadow-ds=ShadowCopyId

download for R2 from here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b&displaylang=en

this should delete the shadow copy and free up the space ;-)

Best Regards,
migo
0
 

Author Comment

by:Raymo12
ID: 33709582
OK I'll give it a try and report back

Thanks!
0
 

Author Comment

by:Raymo12
ID: 33854638
Sorry for the delay but that worked.

Thank you!
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question