下面是我的SQL Server数据库备份文件的文件头信息:
偏移量: 00000000
54 41 50 45 00 00 03 00 8C 00 0E 01 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
02 00 87 05 A7 D7 49 AB 01 00 00 00 01 00 00 00
01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
2C 00 5E 00 00 04 00 12 1F 4C C7 05 D1 01 4D 00
69 00 63 00 72 00 6F 00 73 00 6F 00 66 00 74 00
20 00 53 00 51 00 4C 00 20 00 53 00 65 00 72 00
76 00 65 00 72 00 00 00 00 00 00 00 53 50 41 44
对应的文本为: TAPE... M.i.c.r.o.s.o.f.t. .S.Q.L..S.e.r.v.e.r... SPAD
偏移量: 00000600
53 53 45 54 00 00 00 00 9C 00 0E 01 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 15 00 64 00
02 00 F7 06 04 00 00 00 00 00 00 00 00 12 01 00
1C 00 7A 00 00 00 00 00 00 00 00 00 04 00 96 00
00 06 00 00 00 00 00 00 1F 4C C7 5D 32 08 00 20
00 02 00 00 8A 11 F4 CE 5C 8D FF 4A 8E 54 BA 3C
DC 50 76 15 00 00 00 00 00 00 44 00 61 00 74 00
61 00 43 00 6F 00 6C 00 6C 00 65 00 63 00 74 00
20 00 07 59 FD 4E 73 00 61 00 00 00 53 50 41 44
00 00 00 00 4E 03 00 00 00 00 00 00 00 00 00 00
5C 17 00 00 00 00 00 00 00 00 00 00 00 00 00 00
对应的文本为: SSET... D.a.t.a.C.o.l.l.e.c.t... SPAD
(注:DataCollect是备份的数据库名称)
在SQL Server中还原数据库即可。