none
[問題] : NTBACKUP錯誤訊息! RRS feed

  • 問題

  •  

    Hi ,

    請教各位,我嘗試使用Windows server 2003 ntbackup來備份整個系統.

    想要備份這個系統全部的東西,然後要回存到另一台硬體做測試.

     

    但是每次備份都失敗,並且出現下列錯誤訊息.

     

    Backup Status
    Operation: Backup
    Active backup destination: 4mm DDS
    Media name: "Media created 1/26/2008 at 5:37 PM"

    Volume shadow copy creation: Attempt 1.
    Timeout before function completed

    Error returned while creating the volume shadow copy:0xffffffff.

    Error returned while creating the volume shadow copy:ffffffff
    Aborting Backup.

    ----------------------

    The operation did not successfully complete.

    ----------------------

     

    這台主機是網域的DC,有安裝MSDE,我是寫一個批次檔來執行備份工作,批次檔如下.

    批次檔有正確執行,但是最後就會跳出,退出磁帶.然後產出如上的錯誤訊息.

    ------------------------------------

    echo off
    start /wait rsm.exe refresh /lf"Hewlett Packard DAT72 drive"
    sleep.exe 120
    C:\WINNT\system32\ntbackup.exe backup "@C:\Schedule_Tasks\full_backup.bks" /n "Monday-Full" /d "Mondays Full Backup" /v:no/r:no /rs:no /hcSurprisen /m normal /j "Mondays Job" /l:f /t "Monday-Full"
    rsm eject /pf"Monday-Full - 1" /astart

    -----------------------------------

     

    請教各位,這個可能是哪裡出了問題?

    2008年1月28日 上午 09:08

解答

  • Hi Schen1124,

     

    請您嘗試 KB 940032 Various issues may occur on a Windows Server 2003-based computer that is running the Volume Shadow Copy Service http://support.microsoft.com/kb/940032

    RESOLUTION

    To resolve this issue, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. Type the following commands at a command prompt. Press ENTER after you type each command.
    cd /d %windir%\system32
    Net stop vss
    Net stop swprv
    regsvr32 ole32.dll
    regsvr32 oleaut32.dll
    regsvr32 vss_ps.dll
    vssvc /register
    regsvr32 /i swprv.dll
    regsvr32 /i eventcls.dll
    regsvr32 es.dll
    regsvr32 stdprov.dll
    regsvr32 vssui.dll
    regsvr32 msxml.dll
    regsvr32 msxml3.dll
    regsvr32 msxml4.dll
    Note The last command may not run successfully.
    3. Perform a backup operation to verify that the issue is resolved.

     

    HTH

    Marty

    2008年1月28日 下午 12:25

所有回覆

  • Hi Schen1124,

     

    請您嘗試 KB 940032 Various issues may occur on a Windows Server 2003-based computer that is running the Volume Shadow Copy Service http://support.microsoft.com/kb/940032

    RESOLUTION

    To resolve this issue, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. Type the following commands at a command prompt. Press ENTER after you type each command.
    cd /d %windir%\system32
    Net stop vss
    Net stop swprv
    regsvr32 ole32.dll
    regsvr32 oleaut32.dll
    regsvr32 vss_ps.dll
    vssvc /register
    regsvr32 /i swprv.dll
    regsvr32 /i eventcls.dll
    regsvr32 es.dll
    regsvr32 stdprov.dll
    regsvr32 vssui.dll
    regsvr32 msxml.dll
    regsvr32 msxml3.dll
    regsvr32 msxml4.dll
    Note The last command may not run successfully.
    3. Perform a backup operation to verify that the issue is resolved.

     

    HTH

    Marty

    2008年1月28日 下午 12:25
  • Hi , Marty:

     

    謝謝你提供的資料,我已經把相關的dll都註冊了,但是似乎還是沒法正常運作.

    之後我嘗試把mssqlserver服務暫時停掉,結果竟然就可以開始備份了!!

     

    請問一下如果有sql或是msde的話,需要先停用服務嗎?

    另外再請教一個問題,使用ntbackup如果超出一個磁帶可以備份的容量,怎樣可以讓ntbackup等待管理者讓入第二片再繼續備份呢?

     

     

     

    感激

    stephen.

     

    2008年2月6日 上午 06:39
  • Hi Stephen,

     

    SQL 或 MSDE 不應該會對 NTBACKUP 造成這種問題,可能是因為您的 SQL 的設定問題所導致。

    請問您在 App Log 中是否有類似下面的事件?

     

    Event Type: Error
    Event Source: VSS
    Event ID: 6013
    Date: 9/14/2006
    Time: 6:14:07 PM
    Computer: XXXX
    Description: Sqllib error: OLEDB Error encountered calling IDBInitialize::Initialize. hr = 0x80004005. SQLSTATE: 08001, Native Error: 17
    Error state: 1, Severity: 16
    Source: Microsoft OLE DB Provider for SQL Server
    Error message: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
    access denied.

     

    針對 "使用 NTBACKUP 備份超出一個磁帶的容量" 的問題我就不知道了,希望有經驗的前輩可以協助回答。

     

    Marty

    2008年2月12日 上午 12:59