Solved

How to delete old Windows 2008 R2 Backups - Disk Full

Posted on 2014-04-17
19
16,991 Views
Last Modified: 2014-04-30
I am doing disk image backup nightly of a Windows 2008 R2 server. it is supposed to overwrite oldest backups but it is not. Backups are failing because the disk is full. Another identical server has no problem.

Now I cannot even delete old backup jobs.

1. When I use wbadmin Delete Systemstatebackup  command, I get the error:
"This command can be used to delete backups that only contain the system state."

2. When I use vssadmin delete shadows /For=E: /Oldest and similar commands, I get the error:
"Snapshots were found, but they were outside of your allowed context."

I have checked and rechecked my syntax for both commands and have tried to delete oldest or a specific job by ID, but nothing works.

Please help.

AK
0
Comment
Question by:Akulsh
19 Comments
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 40008170
Add the keepversions=# to your config for wbackup

I believe the commands are not working because your disk is full.

Can you move the files to another drive

The keepversions option will delete the files based on the number you place there
0
 
LVL 3

Author Comment

by:Akulsh
ID: 40008175
The first command I had tried was:
wbadmin delete systemstatebackup -keepVersions:50
and got the error: 'This command can be used to delete backups that only contain the system state.'

No, files cannot be moved because they are too large for other disks.

You say - "I believe the commands are not working because your disk is full."? So what is one to do?
0
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 40008185
I would start deleting old backup files to free up disk space


post your mksbackup.ini
0
 
LVL 3

Author Comment

by:Akulsh
ID: 40008237
Do you manually delete old backup files or thru some utility? HOW can you safely delete old backup files -- that was my primary question!

Where is mksbackup.ini file located?

By the way, the catalog of backup seems corrupt because the oldest version shown with WBadmin is not same as oldest version from VssAdmin tool. Can Catalog be regenerated?
0
 
LVL 12

Assisted Solution

by:Sandeep
Sandeep earned 50 total points
ID: 40008551
0
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 40008556
folder is magik it is created when you install

No never have to manually delete backup files the keepversions option works.

I also get an email after the backup which give me all the information about the config files

I believe your catalog is corrupted and that's why you are having this issue

Yes you can build a new catalog.

Post your mksbackup.ini
0
 
LVL 3

Author Comment

by:Akulsh
ID: 40009149
Sandeep,

Yes, I have seen that link. Did not help.

Another similar link helped a bit:
http://blogs.technet.com/b/filecab/archive/2009/06/22/backup-version-and-space-management-in-windows-server-backup.aspx

I could delete some files using DiskShadow utility, so now disk has space. But, the backup still fails, most likely because Catalog is corrupt. Can catalog be recreated?
0
 
LVL 3

Author Comment

by:Akulsh
ID: 40009172
trgrassijr55,

What 'magik' folder? And install what?

You say - "I also get an email after the backup which give me all the information about the config files". Are we talking about the same thing here?? My question is about Window 2008-R2 native backup.

Please don't post if you don't understand the question.

I have not found commands to build a new catalog, which will have information about all the past jobs.
0
Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 40009660
Well I must say

I can not help you without seeing you mksbackup.ini

Just search the server for it

As I told you to clear up this issue delete the files and recreate the catalog again

In the mksbackup.ini has settings for email and other features
0
 
LVL 3

Author Comment

by:Akulsh
ID: 40009878
You don't seem to know that MKSbackup is not a built-in Microsoft utility. It is a 3rd party add-on. We have been using just the native WBadmin tool of Microsoft. So MKSBackup.ini file in nowhere to be found. Thanks.
0
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 40009941
Yes I do know that it is not a built in product.

how to you run the backups?

Do you have a cmd file? post it.

mksbackup.ini is created when you install the product.

What version are you running of MKSBackup

I am running version 1.0.4
0
 
LVL 3

Author Comment

by:Akulsh
ID: 40009973
trgrassijr55,

Please stop helping me. You are totally clueless in this matter.  How many times I have to say that I have not installed MKSBackup.

I am running backup from the GUI of WBadmin in Win 2008-R2.
0
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 40009976
You are totally wrong you have no idea about what I am saying

You are the one who is clueless

If you can not find the ini file then why are you working on a server you must not have any idea on what you are doing
0
 
LVL 23

Assisted Solution

by:Thomas Grassi
Thomas Grassi earned 50 total points
ID: 40016045
Hi again

Sorry my mistake I thought you was using the same backup as I am

you are using wbadmin which is built into Windows 2008 Windows 8 etc.

It is not very robust look at below.

http://networkadminkb.com/KB/a459/windows-2008-wbadmin-gui-or-mmc-snapin.aspx

This is what I use

http://www.magikmon.com/mksbackup/

This will do what your looking for.  Keeping your disk space organized.

Check it out it is Free

If you need help with the scripts to run this let me know I can post them for you.
0
 
LVL 23

Assisted Solution

by:Brian B
Brian B earned 50 total points
ID: 40018547
This can happen because there is still some storage overhead required to free up the space. Is there anything you can do to create more space on the disk where the backups are located?
0
 
LVL 3

Accepted Solution

by:
Akulsh earned 0 total points
ID: 40024000
Only way I could get out this jam was to use the 3rd tool (described in the bottom part of the link I posted on 2014-04-18 at 10:17:23)
DiskShadow.exe
And then I ran the following command about 10 times:
Delete shadows OLDEST E:

However, backup still kept failing even though the disk had plenty of room. I thought that the catalog must be corrupt but after a reboot, the backup got working.

Thanks for all suggestions, I appreciate time devoted (effort) by you guys on the problem, and will give some credit for that.
0
 
LVL 3

Author Closing Comment

by:Akulsh
ID: 40031565
As I explain in the 'Best Solution', my own suggestion to use Diskshadow.exe and reboot helped. I gave some credit to others because of their effort which I appreciate.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now