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 をキーワードに検索をかけると、以下のドキュメントを発見。
これによると、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 が追加)
- Log on to the computer as an administrator
- Click Start | Run. The Run dialog box appears.
- In the Open box, type regedt32, and then click OK
- Open the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup
- In the left pane, right-click FilesNotToBackup, point to New, and then click String Value
- Name the new entry BITS
- Double-click the BITS entry. The Edit String dialog box appears.
- In the Value data box, type the following value (Figure 1), and then click OK: %AllUsersProfile%\Application Data\Microsoft\Network\Downloader\*
- Close the registry editor
ところが、実際に該当箇所を見てみると、他のデータは全て複数行文字列値 (Multi-String Value) で作成されている。(下記画像は、Windows Server 2003 ではなく Windows XP Professional での該当箇所)
さらに、Microsoft のサイトで以下の Knowledge Base を発見。
こちらは、NTBackup 使用時のエラーについて解説したものだが、こちらは複数行文字列値で作成するように指示している。(下記引用文中、Multi-String Value の強調表示は big-edge が追加)
- Log on to the computer as an administrator.
- Click Start, and then click Run. The Run dialog box appears.
- In the Open box, type regedit, and then click OK.
- Open the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup
- In the left pane, right-click FilesNotTo Backup, point to New, and then click Multi-String Value.
- Name the new entry BITS.
- Double click the BITS entry. The Edit Multi-String dialog box appears.
- In the Value data box, type the following value, and then press OK: %AllUsersProfile%\Application Data\Microsoft\Network\Downloader\*
- Close Registry Editor
というわけで、結局 BITS は複数行文字列値で作成。変更後のバックアップではログが消えたことを確認。