יום שלישי, 14 בדצמבר 2010

פתרון לבעיית גיבוי volume shadow copy עם Ntbackup

הודעת השגיאה המתקבלת בעת ניסיון לבצע גיבוי למערכת Windows server 2003 SP2 עם Ntbackup:

Backup Status
Operation: Backup
Active backup destination: File
Media name: "server.bkf created 25/11/2010 at 19:11"
Volume shadow copy creation: Attempt 1.
Error returned while creating the volume shadow copy:0x8004230f.
Error returned while creating the volume shadow copy:8004230f
Aborting Backup.
----------------------
The operation did not successfully complete.
----------------------

הודעות השגיאה המתקבלות ב - Event log:
VSS
Event ID: 12292



לינק לפתרון הבעיה:

Error events are generated when you try to perform a system state backup on a Windows Server 2003-based computer


To resolve this problem, generate a list of providers that are installed on the system. To do this, run the following command at a command prompt:
vssadmin list providers
This command generates the following output:
Provider name: 'Microsoft Software Shadow Copy provider 1.0'
Provider type: System
Provider Id: {b5946137-7b9f-4925-af80-51abd60b20d5}
Version: 1.0.0.7
Note This is the default output only if the in-box Volume Shadow Copy Service system provider is installed.

If the command returns additional providers and if you experience any of the error events that are described in the "Symptoms" section, contact the vendor to determine whether an update is available for the provider in question.

To configure the Ntbackup tool to use the in-box Volume Shadow Copy Service system provider as the default provider, follow these steps:
  1. Click Start, click Run, type regedit , and then click OK.
  2. Locate the following registry subkey, and then right-click it:
    HKey_Local_Machine\SYSTEM\CurrentControlSet\Control\BackupRestore
  3. Point to New, and then click DWORD Value.
  4. Type UseMicrosoftProvider as the name for the new DWORD value, and then press ENTER.
  5. Double-click UseMicrosoftProvider. To enable the new feature, type 1 in the Value box. To disable the new feature, type 0 in the Value box.
  6. Press ENTER, and then exit Registry Editor.
  7. Restart the server.
  8. Use the Ntbackup tool to perform a system state backup.


Volume Shadow Copy Service error: Error creating the Shadow Copy Provider COM class with CLSID {790f2886-9889-4c99-8ef5-531add05d044} [0x8007007e].




 

Volume Shadow Copy Service information: The COM Server with CLSID {790f2886-9889-4c99-8ef5-531add05d044} and name SW_PROV cannot be started. [0x8007007e]
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
VSS
Event ID: 11



OR


1:
2:
3:
4:
5:
C:\ntdsutil snapshot 
ntdsutil: snapshot 
snapshot: activate instance "ntds" 
Active instance set to "ntds". 
snapshot: create


 
this should come back with a message

1:
2:
Creating snapshot... 
Snapshot set {xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxx} generated



If all is well , you can use the

1:
 list all



command to see created snapshots - and then use

1:
delete *

אין תגובות:

הוסף רשומת תגובה