LoginSignup
4
2

More than 3 years have passed since last update.

バックアップと復元(Windows 7)でバックアップするとエラーになる問題を直した

Last updated at Posted at 2019-11-13

要約

ディスクバックアップソフトで復元したディスク(パーティション)を使用してWindows バックアップでエラーがでるなら、GPT fdiskを使用してGTPテーブルを変更すると、エラーが直る場合がある。

発生しているエラー

いつの頃からか、使用しているWindows 10のWindows バックアップでエラーがでるようになっていた。

image.png

[Window Title]
Windows バックアップ: トラブルシューティング オプション

[Main Instruction]
バックアップを確認する

[Content]
シャドウ コピーを作成できませんでした。詳細については、"VSS" および "SPP" のアプリケーション イベント ログを確認してください。
詳細: ライターで一時的なエラーが発生しました。バックアップ処理を再試行すると、 エラーは発生しない可能性があります。


[V] 詳細の表示  [バックアップの実行を再試行する(T)] [バックアップ設定の変更(C)] [キャンセル]

[Expanded Information]
バックアップ時間: 2019/11/13 20:03
バックアップの場所: \\NAS\Backup\
エラー コード: 0x81000019

エラーの詳細

イベントログを確認すると、ソース:VSSで何やら不正なXMLになっているというエラーが出ている。
ログをよく見ると文字化けしている箇所がある。(全体は長すぎるので省略)

XML ファイルの解析に失敗しました。
 理由 テキストの内容に無効な文字が見つかりました。

 行 0x000003c0
 位置 0x00000ea4
 エラー コード 0xc00ce508
 問題の説明 <WRITER_COMPONENTS xmlns="x-schema:#VssComponentMetadata" instanceId="99d9d408-7601-4434-9781-6d2f2cf56a8c" writerId="be000cbe-11fe-4426-9c58-531aa6355fc4" backupSchema="0"><COMPONENT logicalPath="ASR" componentName="ASR" componentType="filegroup"><BACKUP_METADATA xmlns="" 
...
 GptName=&quot;筰ԍÀ½ᤁ㤽ࠌ&quot; FileSystemType=&quot;0x0&quot; 
...


操作:
   ライターによりバックアップ ドキュメントが変更されています

接続しているディスクのパーティションのGPT名とやらがおかしそう。

エラーの修復

ぐぐると、こちらの症状と同じようだ。
Volume shadow copy error after moving to MSATA SSD on R7-572 — Acer Community

ディスクバックアップソフトの問題のようで、
たしかに、EaseUS Todo Backup FreeだかAOMEI Backupperだかでクローンした覚えがある。

紹介されているGPT fdiskを使用すると、GPT名を変更できそうだ。

gdiskのコマンドライン引数はディスク番号で、0:はMBRだったので、1:がGPTディスクだった。

gdisk64.exe" 1:

i の後にパーティション番号を入力すると、パーティション2が文字化けしていた。

GPT fdisk (gdisk) version 1.0.4

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): ?
b       back up GPT data to a file
c       change a partition's name
d       delete a partition
i       show detailed information on a partition
l       list known partition types
n       add a new partition
o       create a new empty GUID partition table (GPT)
p       print the partition table
q       quit without saving changes
r       recovery and transformation options (experts only)
s       sort partitions
t       change a partition's type code
v       verify disk
w       write table to disk and exit
x       extra functionality (experts only)
?       print this menu


Command (? for help): i
Partition number (1-2): 1
Partition GUID code: E3C9E316-0B5C-4DB8-817D-F92DF00215AE (Microsoft reserved)
Partition unique GUID: 41EA043B-44EF-4B06-BB92-61C31F9C99D1
First sector: 63 (at 31.5 KiB)
Last sector: 262206 (at 128.0 MiB)
Partition size: 262144 sectors (128.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'ows 10 x64\Windows 10 x64-s009.vmdk'

Command (? for help): i
Partition number (1-2): 2
Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
Partition unique GUID: 893F9A60-E313-456F-9423-760F67D7805D
First sector: 273105 (at 133.4 MiB)
Last sector: 5860528064 (at 2.7 TiB)
Partition size: 5860254960 sectors (2.7 TiB)
Attribute flags: 0000000000000000
Partition name: '遲ーヤ催€ツス皃√、ス燿・

念の為バックアップを取っておく。
cで名前を変えた後、w で書き込み。
最終確認にyを入力する。

Command (? for help): c
Partition number (1-2): 2
Enter name: hogehoge

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to \\.\physicaldrive1.
Disk synchronization succeeded! The computer should now use the new
partition table.
The operation has completed successfully.

念の為再起動した後、Windows バックアップをしたら、エラーにならずに進んだ。
でも、バックアップをとってGPTテーブルの修正をするくらいなら、再フォーマットした方が確実かも。

4
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2