qmgr0.dat と qmgr1.dat がバックアップできない

Windows Server 2003 に Backup Exec 10.0 for Windows Servers をインストールしてバックアップを運用していると、下記のファイルがスキップされた旨のログが表示される。

C:\Document and Settings\All Users\Application Data\Microsoft\Network\Downloader\qmgr0.dat
C:\Document and Settings\All Users\Application Data\Microsoft\Network\Downloader\qmgr1.dat

VERITAS のサイトで qmgr0.dat をキーワードに検索をかけると、以下のドキュメントを発見。

The error :"Unable to open the item C:\Documents and Settings\All Users.WINNT\Application Data\Microsoft\Network\Downloader\Qmgr0.dat - skipped" is returned in the job log of a backup that was completed while the Background Intelligent Transfer Service is running on a Windows system.

これによると、qmgr0.dat と qmgr1.dat は Background Intelligent Transfer Service (BITS) によって作成されるファイルであり、BITS が動作している限りはロックされてしまうようだ。したがって Backup Exec のみならず、NTBackup などの他のバックアップソフトウェアでもバックアップを取ることができない。

回避策としては、qmgr0.dat や qmgr1.dat はバックアップの必要がないからレジストリを編集してバックアップ対象外に指定しろ、とのこと。

ここで、ひとつ疑問が。

VERITAS のドキュメントでは、HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup 以下に BITS という文字列値 (String Value) を作成するように指示している。(下記引用文中、String Value の強調表示は big-edge が追加)

  1. Log on to the computer as an administrator
  2. Click Start | Run. The Run dialog box appears.
  3. In the Open box, type regedt32, and then click OK
  4. Open the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup
  5. In the left pane, right-click FilesNotToBackup, point to New, and then click String Value
  6. Name the new entry BITS
  7. Double-click the BITS entry. The Edit String dialog box appears.
  8. In the Value data box, type the following value (Figure 1), and then click OK: %AllUsersProfile%\Application Data\Microsoft\Network\Downloader\*
  9. Close the registry editor

ところが、実際に該当箇所を見てみると、他のデータは全て複数行文字列値 (Multi-String Value) で作成されている。(下記画像は、Windows Server 2003 ではなく Windows XP Professional での該当箇所)

さらに、Microsoft のサイトで以下の Knowledge Base を発見。

You receive a "The process cannot access the file" error message when you open a report file of a backup that was completed while the Background Intelligent Service (BITS) runs

こちらは、NTBackup 使用時のエラーについて解説したものだが、こちらは複数行文字列値で作成するように指示している。(下記引用文中、Multi-String Value の強調表示は big-edge が追加)

  1. Log on to the computer as an administrator.
  2. Click Start, and then click Run. The Run dialog box appears.
  3. In the Open box, type regedit, and then click OK.
  4. Open the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup
  5. In the left pane, right-click FilesNotTo Backup, point to New, and then click Multi-String Value.
  6. Name the new entry BITS.
  7. Double click the BITS entry. The Edit Multi-String dialog box appears.
  8. In the Value data box, type the following value, and then press OK: %AllUsersProfile%\Application Data\Microsoft\Network\Downloader\*
  9. Close Registry Editor

というわけで、結局 BITS は複数行文字列値で作成。変更後のバックアップではログが消えたことを確認。