How to edit LHSystemStateBackup.cmd to stop System State backup fa

  • Follow


DPM System State backups fail for any protected Exchange server that has 
Forefront Protection for Exchange Server 2010 installed and running.  The 
cause is the FSCVSSWriter service.  This is documented at the following link.

http://blogs.msdn.com/exchangeserverfaq/archive/2010/04/06/system-state-backup-using-dpm-2010-fails-on-exchange-servers.aspx

This link mentions that the C:\Program Files\Microsoft 
DPM\DPM\Bin\LHSystemStateBackup.cmd file on the production server can be 
edited to prevent this failure, and suggests contacting PSS support to get 
the modification needed.

I wonder if this modification can be published here for easier access by DMP 
2010 RC users.

Thanks.
0
Reply Utf 4/9/2010 1:41:01 AM

<Haven't tested this in-house. But should work. Please try and let me know>

In LHSystemStateBackup.cmd under DPM\bin folder on the Exchange server, do 
the following:
Replace

rem Start a wbadmin.exe to create a systemstate backup
start  /WAIT %SystemRoot%\system32\wbadmin.exe start 
systemstatebackup -quiet -backuptarget:%1

with

rem Start a wbadmin.exe to create a systemstate backup
net stop FSCVSSWRITER
start  /WAIT %SystemRoot%\system32\wbadmin.exe start 
systemstatebackup -quiet -backuptarget:%1
net start FSCVSSWRITER


--
Narendran G [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.

"Sejong" <Sejong@discussions.microsoft.com> wrote in message 
news:C4D91C06-C909-46DB-BFB3-E5C90C4CE506@microsoft.com...
> DPM System State backups fail for any protected Exchange server that has
> Forefront Protection for Exchange Server 2010 installed and running.  The
> cause is the FSCVSSWriter service.  This is documented at the following 
> link.
>
> http://blogs.msdn.com/exchangeserverfaq/archive/2010/04/06/system-state-backup-using-dpm-2010-fails-on-exchange-servers.aspx
>
> This link mentions that the C:\Program Files\Microsoft
> DPM\DPM\Bin\LHSystemStateBackup.cmd file on the production server can be
> edited to prevent this failure, and suggests contacting PSS support to get
> the modification needed.
>
> I wonder if this modification can be published here for easier access by 
> DMP
> 2010 RC users.
>
> Thanks. 

0
Reply Narendran 4/11/2010 11:00:19 AM


Thanks for your suggestion.  I tried it, but it failed, with the following 
event recorded on the protected server (a/ka/ production server).

Event 11003 - Microsoft Forefront Protection VSS Writer failed when 
preparing for backup. Writer instance: FSCVSSWriter Error code: 0x00000000

The failure event followed three success events (Event 11000) Microsoft 
Forefront Protection VSS Writer has successfully collected the metadata 
document in preparation for backup or restore.

"Narendran Gunasekaran[MSFT]" wrote:

> <Haven't tested this in-house. But should work. Please try and let me know>
> 
> In LHSystemStateBackup.cmd under DPM\bin folder on the Exchange server, do 
> the following:
> Replace
> 
> rem Start a wbadmin.exe to create a systemstate backup
> start  /WAIT %SystemRoot%\system32\wbadmin.exe start 
> systemstatebackup -quiet -backuptarget:%1
> 
> with
> 
> rem Start a wbadmin.exe to create a systemstate backup
> net stop FSCVSSWRITER
> start  /WAIT %SystemRoot%\system32\wbadmin.exe start 
> systemstatebackup -quiet -backuptarget:%1
> net start FSCVSSWRITER
> 
> 
> --
> Narendran G [MSFT]
> This posting is provided "AS IS" with no warranties, and confers no rights.
> 
> "Sejong" <Sejong@discussions.microsoft.com> wrote in message 
> news:C4D91C06-C909-46DB-BFB3-E5C90C4CE506@microsoft.com...
> > DPM System State backups fail for any protected Exchange server that has
> > Forefront Protection for Exchange Server 2010 installed and running.  The
> > cause is the FSCVSSWriter service.  This is documented at the following 
> > link.
> >
> > http://blogs.msdn.com/exchangeserverfaq/archive/2010/04/06/system-state-backup-using-dpm-2010-fails-on-exchange-servers.aspx
> >
> > This link mentions that the C:\Program Files\Microsoft
> > DPM\DPM\Bin\LHSystemStateBackup.cmd file on the production server can be
> > edited to prevent this failure, and suggests contacting PSS support to get
> > the modification needed.
> >
> > I wonder if this modification can be published here for easier access by 
> > DMP
> > 2010 RC users.
> >
> > Thanks. 
> 
> .
> 
0
Reply Utf 4/12/2010 7:54:01 PM

Update: LHSystemStateBackup.cmd failed because the process that is running it 
doesn't have sufficient permissions to stop the FSCVSSWriter service.  The 
success events I noted in my previous post occur when the unedited 
LHSystemStateBackup.cmd us used and the FSCVSSWriter service is running.  The 
workaround, as noted in my original post, is to manually stop this service 
before running a DPM System State backup.

"Sejong" wrote:

> Thanks for your suggestion.  I tried it, but it failed, with the following 
> event recorded on the protected server (a/ka/ production server).
> 
> Event 11003 - Microsoft Forefront Protection VSS Writer failed when 
> preparing for backup. Writer instance: FSCVSSWriter Error code: 0x00000000
> 
> The failure event followed three success events (Event 11000) Microsoft 
> Forefront Protection VSS Writer has successfully collected the metadata 
> document in preparation for backup or restore.
> 
> "Narendran Gunasekaran[MSFT]" wrote:
> 
> > <Haven't tested this in-house. But should work. Please try and let me know>
> > 
> > In LHSystemStateBackup.cmd under DPM\bin folder on the Exchange server, do 
> > the following:
> > Replace
> > 
> > rem Start a wbadmin.exe to create a systemstate backup
> > start  /WAIT %SystemRoot%\system32\wbadmin.exe start 
> > systemstatebackup -quiet -backuptarget:%1
> > 
> > with
> > 
> > rem Start a wbadmin.exe to create a systemstate backup
> > net stop FSCVSSWRITER
> > start  /WAIT %SystemRoot%\system32\wbadmin.exe start 
> > systemstatebackup -quiet -backuptarget:%1
> > net start FSCVSSWRITER
> > 
> > 
> > --
> > Narendran G [MSFT]
> > This posting is provided "AS IS" with no warranties, and confers no rights.
> > 
> > "Sejong" <Sejong@discussions.microsoft.com> wrote in message 
> > news:C4D91C06-C909-46DB-BFB3-E5C90C4CE506@microsoft.com...
> > > DPM System State backups fail for any protected Exchange server that has
> > > Forefront Protection for Exchange Server 2010 installed and running.  The
> > > cause is the FSCVSSWriter service.  This is documented at the following 
> > > link.
> > >
> > > http://blogs.msdn.com/exchangeserverfaq/archive/2010/04/06/system-state-backup-using-dpm-2010-fails-on-exchange-servers.aspx
> > >
> > > This link mentions that the C:\Program Files\Microsoft
> > > DPM\DPM\Bin\LHSystemStateBackup.cmd file on the production server can be
> > > edited to prevent this failure, and suggests contacting PSS support to get
> > > the modification needed.
> > >
> > > I wonder if this modification can be published here for easier access by 
> > > DMP
> > > 2010 RC users.
> > >
> > > Thanks. 
> > 
> > .
> > 
0
Reply Utf 4/12/2010 8:19:01 PM

3 Replies
643 Views

(page loaded in 0.002 seconds)


Reply: