• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

VSS_E_UNEXPECTED_PROVIDER_ERROR - VSS_E_BAD_STATE

CharlieTSM

ADSM.ORG Member
Joined
Aug 16, 2016
Messages
20
Reaction score
0
Points
0
Hello team,

I have a windows backup that is failing with this error since 3 days ago.
The information online is kind of confusing among all the answers

Hope anybody has a clue, thanks

01/21/2020 18:14:00 ANS5250E An unexpected error was encountered.
TSM function name : AddToSnapshotSet
TSM function : 'AddToSnapshotSet failed with error VSS_E_UNEXPECTED_PROVIDER_ERROR. 0X8004230F'
TSM return code : -2147212529
TSM file : ..\..\common\winnt\asrutil.cpp (2283)
01/21/2020 18:14:00 ANS5250E An unexpected error was encountered.
TSM function name : AddToSnapshotSet
TSM function : 'AddToSnapshotSet failed with error VSS_E_UNEXPECTED_PROVIDER_ERROR. 0X8004230F'
TSM return code : -2147212529
TSM file : ..\..\common\winnt\asrutil.cpp (2283)
01/21/2020 18:14:00 ANS5250E An unexpected error was encountered.
TSM function name : BackupComplete()
TSM function : 'BackupComplete() failed with error VSS_E_BAD_STATE. 0X80042301'
TSM return code : -2147212543
TSM file : ..\..\common\winnt\asrutil.cpp (2505)
01/21/2020 18:14:00 ANS1468E Backing up Automated System Recovery (ASR) files failed. No files will be backed up.
01/21/2020 18:57:09 ANS1512E Scheduled event 'INCR_1900' failed. Return code = 12.
 

RecoveryOne

ADSM.ORG Senior Member
Joined
Mar 15, 2017
Messages
297
Reaction score
61
Points
0
Best bet is to look at Windows event viewer. You will likely see VSS errors there. Next step is to track down what is causing the error. Could be as simple as a vss writer is missing, or stuck. Or you may need a ticket to Microsoft.

My Windows team hates me when I come to them with VSS issues. So I wish you the best of luck.
 

CharlieTSM

ADSM.ORG Member
Joined
Aug 16, 2016
Messages
20
Reaction score
0
Points
0
My windows team says everything is good from their side...:(
i am still getting ...

02/06/2020 18:14:20 ANS5250E An unexpected error was encountered.
TSM function name : AddToSnapshotSet
TSM function : 'AddToSnapshotSet failed with error VSS_E_UNEXPECTED_PROVIDER_ERROR. 0X8004230F'
TSM return code : -2147212529
TSM file : ..\..\common\winnt\asrutil.cpp (2283)
02/06/2020 18:14:21 ANS5250E An unexpected error was encountered.
TSM function name : AddToSnapshotSet
TSM function : 'AddToSnapshotSet failed with error VSS_E_UNEXPECTED_PROVIDER_ERROR. 0X8004230F'
TSM return code : -2147212529
TSM file : ..\..\common\winnt\asrutil.cpp (2283)
02/06/2020 18:14:21 ANS5250E An unexpected error was encountered.
TSM function name : BackupComplete()
TSM function : 'BackupComplete() failed with error VSS_E_BAD_STATE. 0X80042301'
TSM return code : -2147212543
TSM file : ..\..\common\winnt\asrutil.cpp (2505)
02/06/2020 18:14:21 ANS1468E Backing up Automated System Recovery (ASR) files failed. No files will be backed up.
02/06/2020 19:12:50 ANS1512E Scheduled event 'INCR_1900' failed. Return code = 12.
 

RecoveryOne

ADSM.ORG Senior Member
Joined
Mar 15, 2017
Messages
297
Reaction score
61
Points
0
With out seeing what event viewer is reporting and even with event viewer it will be very hard to troubleshoot via forum.

How big is the drive? How much free space does it have? How taxed is the IO on it? All of those can affect VSS operations. Are there other backup products installed?

If you run vssadmin list writers, are any writers missing or in an error state? To see missing writers poke about on Microsoft's website or look at a known working system. Also look for non-standard writers that could have been installed due to another backup provider (Symantec for example). For those, you'd have to research on how to remove.

Also what OS level and client version are you running? Unlikely a flaw in either, but could happen. Also is this a physical or virtual system?

Also, when was the machine in question last rebooted? Sometimes vss errors clear up with a simple reboot. Silly I know, but does tend to help.
 

marclant

ADSM.ORG Moderator
Joined
Jun 16, 2006
Messages
3,615
Reaction score
578
Points
0
Location
Canada
Website
www-947.ibm.com
My windows team says everything is good from their side...:(
That's common.

TSM function : 'AddToSnapshotSet failed with error VSS_E_UNEXPECTED_PROVIDER_ERROR. 0X8004230F'
SS_E_UNEXPECTED_PROVIDER_ERROR. 0X8004230F'
VSS_E_UNEXPECTED_PROVIDER_ERROR. 0X8004230F'
VSS_E_BAD_STATE. 0X80042301'
Those are all actual VSS errors reported by the Windows to Spectrum Protect.


Test this outside Spectrum Protect to isolate the issue. Follow this technote and use the section Test a snapshot of SystemState to test.
https://www.ibm.com/support/pages/t...-vss-using-diskshadow-windows-82008-r22012-r2

If it fails, the data generated in c:\diskshadowsnap.out can be used to troubleshoot. The System State backup will not work in Spectrum Protect unless it's possible to successfully create a snapshot with the procedure above.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 18 18.2%
  • Keep using TSM for Spectrum Protect.

    Votes: 61 61.6%
  • Let's be formal and just say Spectrum Protect

    Votes: 12 12.1%
  • Other (please comement)

    Votes: 8 8.1%

Forum statistics

Threads
31,750
Messages
135,360
Members
21,746
Latest member
NasriSaleh
Top