none
System state backup 2008 DC

    Question

  • hey guys ,

    I am trying to take system state backup of 2008 Standard DC , while running the comman it is prompting me error "access denied " .

    Command is mentioned below :

    wbadmin start systemstatebackup -backupTraget :<d:\backup>: -quiet

    please help me to resolve this matter .

    my account is memberof "BackupOperator "


    Muzammil Ubaray

    Friday, June 22, 2012 8:29 AM

Answers

  • If that key (SystemStatebackup) does not exist, so you MUST create it first and then under it create the AllowSSBTToAnyVolume key. Look at the following figures:

    Now as mentioned before, create the AllowSSBTToAnyVolume key below the newly created key...


    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.


    Tuesday, June 26, 2012 7:56 AM
  • Here is the soution .

    Create Two .Bat File.

    1.SystemStateBackup

    Command : wbadmin start systemstatebackup -backuptarge:Volumename: -quiet

    2.DeleteSystemStateBackup

    Command : wbadmin delete systemstatebackup -backuptarget:Volumename: -deleteoldest -quiet

    After that i schedule the backup form task scheduller and locate the .bat file .

    Schedule :

    For SystemStateBackup :

    1st of Every Month

    For Delete SystemStateBackup:

    2nd of Every Month

    Summary: this schedule will take systemstate backup on 1st of every month and
    on next day 2nd of every month will delete my old SystemStatebackup.


    Muzammil Ubaray

    Monday, July 02, 2012 4:33 PM

All replies

  • Hey ,

    I have resolved the issue.  i have just type :D: instead of :D\Backup: , now i am stuck in another issue , i have only one drive in my domain controller , i need to take system state backup , the feature wont allow me to backup my data on remote location or on same volume.

    Error :


    Muzammil Ubaray


    • Edited by muzammilubaray Friday, June 22, 2012 1:18 PM spell mistake
    Friday, June 22, 2012 1:15 PM
  • look the following link:

    http://support.microsoft.com/kb/944530


    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Saturday, June 23, 2012 11:28 AM
  • Thanks ,

    I have alredy edited the registry but still getting the same error ,i think i need to delete volume shadow copies then try it again .

    Q : can i save my SSB on same volume because my few DC's have only one drive . they are one virtual.


    Muzammil Ubaray

    Saturday, June 23, 2012 11:38 AM
  • Yes you can. Can you please run the following command and paste the output here?

    reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wbengine -s


    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Saturday, June 23, 2012 12:55 PM
  • C:\>wbadmin start systemstatebackup -backuptarget:D:
    wbadmin 1.0 - Backup command-line tool
    (C) Copyright 2004 Microsoft Corp.

    Starting System State Backup [6/25/2012 11:13 AM]
    Retrieving volume information...

    This would backup the system state from volume(s) Local Disk(C:),New Volume(D:)
    to D:.
    Do you want to start the backup operation?
    [Y] Yes [N] No Y


    ERROR - The location for backup is a critical volume.


    C:\>reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wbengine -s

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wbengine
        Type    REG_DWORD    0x10
        Start    REG_DWORD    0x3
        ErrorControl    REG_DWORD    0x1
        ImagePath    REG_EXPAND_SZ    "%systemroot%\system32\wbengine.exe"
        DisplayName    REG_SZ    @%systemroot%\system32\wbengine.exe,-104
        ObjectName    REG_SZ    LocalSystem
        Description    REG_SZ    @%systemroot%\system32\wbengine.exe,-105
        ServiceSidType    REG_DWORD    0x1
        RequiredPrivileges    REG_MULTI_SZ    SeImpersonatePrivilege\0SeBackupPrivil
    ege\0SeManageVolumePrivilege\0SeRestorePrivilege\0SeSystemEnvironmentPrivilege\0
    SeSecurityPrivilege\0SeTakeOwnershipPrivilege
        FailureActions    REG_BINARY    84030000000000000100000003000000140000000100
    0000C0D4010001000000E09304000000000000000000
        SystemStateBackup    REG_DWORD    0x1


    Muzammil Ubaray

    Monday, June 25, 2012 6:17 AM
  • You have incorrectly configured the registry. Configure the registry as the following figure:

    Please feel free to let us know if you have any question or concern.


    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Proposed as answer by R.Alikhani Monday, June 25, 2012 4:31 PM
    Monday, June 25, 2012 11:50 AM
  • on the path you have mentioned i couldnt see the Systemtatebackup folder under the Webengine although i have created the registry in the same way you said , but still getting the same error . leme show you...

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wbengine
        Type    REG_DWORD    0x10
        Start    REG_DWORD    0x3
        ErrorControl    REG_DWORD    0x1
        ImagePath    REG_EXPAND_SZ    "%systemroot%\system32\wbengine.exe"
        DisplayName    REG_SZ    @%systemroot%\system32\wbengine.exe,-104
        ObjectName    REG_SZ    LocalSystem
        Description    REG_SZ    @%systemroot%\system32\wbengine.exe,-105
        ServiceSidType    REG_DWORD    0x1
        RequiredPrivileges    REG_MULTI_SZ    SeImpersonatePrivilege\0SeBackupPrivil
    ege\0SeManageVolumePrivilege\0SeRestorePrivilege\0SeSystemEnvironmentPrivilege\0
    SeSecurityPrivilege\0SeTakeOwnershipPrivilege
        FailureActions    REG_BINARY    84030000000000000100000003000000140000000100
    0000C0D4010001000000E09304000000000000000000
        AllowSSBToAnyVolume    REG_NONE    0100000000000000

    my registry is look like this.


    Muzammil Ubaray

    Tuesday, June 26, 2012 7:45 AM
  • If that key (SystemStatebackup) does not exist, so you MUST create it first and then under it create the AllowSSBTToAnyVolume key. Look at the following figures:

    Now as mentioned before, create the AllowSSBTToAnyVolume key below the newly created key...


    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.


    Tuesday, June 26, 2012 7:56 AM
  • Dude stilll getting the same errror , after the step i followed my registry look like this 

    Error after running the command :

    C:\Windows\system32>wbadmin start systemstatebackup -backupTarget:d:
    wbadmin 1.0 - Backup command-line tool
    (C) Copyright 2004 Microsoft Corp.

    Starting System State Backup [6/26/2012 1:12 PM]
    Retrieving volume information...

    This would backup the system state from volume(s) Local Disk(C:),New Volume(D:)
    to d:.
    Do you want to start the backup operation?
    [Y] Yes [N] No Y


    ERROR - The location for backup is a critical volume.


    C:\Windows\system32>wbadmin start systemstatebackup -backupTarget:d:
    wbadmin 1.0 - Backup command-line tool
    (C) Copyright 2004 Microsoft Corp.

    Starting System State Backup [6/26/2012 1:27 PM]
    Retrieving volume information...

    This would backup the system state from volume(s) Local Disk(C:),New Volume(D:)
    to d:.
    Do you want to start the backup operation?
    [Y] Yes [N] No Y


    ERROR - The location for backup is a critical volume.

    Registry :


    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wbengine
        Type    REG_DWORD    0x10
        Start    REG_DWORD    0x3
        ErrorControl    REG_DWORD    0x1
        ImagePath    REG_EXPAND_SZ    "%systemroot%\system32\wbengine.exe"
        DisplayName    REG_SZ    @%systemroot%\system32\wbengine.exe,-104
        ObjectName    REG_SZ    LocalSystem
        Description    REG_SZ    @%systemroot%\system32\wbengine.exe,-105
        ServiceSidType    REG_DWORD    0x1
        RequiredPrivileges    REG_MULTI_SZ    SeImpersonatePrivilege\0SeBackupPrivil
    ege\0SeManageVolumePrivilege\0SeRestorePrivilege\0SeSystemEnvironmentPrivilege\0
    SeSecurityPrivilege\0SeTakeOwnershipPrivilege
        FailureActions    REG_BINARY    84030000000000000100000003000000140000000100
    0000C0D4010001000000E09304000000000000000000

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wbengine\SystemStateBackup
        AllowSSBTToAnyVolume    REG_NONE    0100000000000000


    Muzammil Ubaray

    Tuesday, June 26, 2012 8:32 AM
  • Sorry dude my mistake after doin this backup started thanks 


    Muzammil Ubaray

    Tuesday, June 26, 2012 8:40 AM
  • hey ,

    i have more question regarding scheduling system state backup. could you please provide me script which i put in scheduling to delete old backup ( to save volume space ) and create new backup .

    Script :

    @echo off
    WBADMIN START SYSTEMSTATEBACKUP –backuptarget:d: -quiet

    *required delete old backup script to save the volume.


    Muzammil Ubaray

    Monday, July 02, 2012 6:39 AM
  • Fortunately, you can configure Windows Server Backup (actually the wbadmin command) to delete older shadow copies that are related to System State backup in Windows Server 2008 R2. For more information refer to "How to delete System State backups" section of the the following article:

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



    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Proposed as answer by R.Alikhani Tuesday, July 03, 2012 4:44 AM
    Monday, July 02, 2012 3:24 PM
  • Here is the soution .

    Create Two .Bat File.

    1.SystemStateBackup

    Command : wbadmin start systemstatebackup -backuptarge:Volumename: -quiet

    2.DeleteSystemStateBackup

    Command : wbadmin delete systemstatebackup -backuptarget:Volumename: -deleteoldest -quiet

    After that i schedule the backup form task scheduller and locate the .bat file .

    Schedule :

    For SystemStateBackup :

    1st of Every Month

    For Delete SystemStateBackup:

    2nd of Every Month

    Summary: this schedule will take systemstate backup on 1st of every month and
    on next day 2nd of every month will delete my old SystemStatebackup.


    Muzammil Ubaray

    Monday, July 02, 2012 4:33 PM