无忧启动论坛

标题: snapshot批处理备份,显示“错误代码 = 0x8007007e” [打印本页]

作者: 车丁    时间: 2026-1-12 13:36
标题: snapshot批处理备份,显示“错误代码 = 0x8007007e”

snapshot 版本 1.50.1.1738,PE下通过命令行备份C盘,有两个问题:

问题1:
批处理备份:snapshot64.exe -create -source C: "D:\备份\$date.sna" -L0 -R -G -o
提示:无法创建 IWbemLocator 对象。 错误代码 = 0x8007007e
但继续进行备份且备份成功,想知道这提示的错误是什么意思?



问题2:
排除文件:--exclude
snapshot64.exe -create -source C: "D:\备份\$date.sna" -L0 -R -G -o --exclude:@List.txt
我在命令行最后分别添加: --exclude:@List.txt (List.txt放在snapshot64.exe所在目录), --exclude:@%CD%\List.txt,
--exclude "C:\soft",均不成功,每次都把C:\soft目录备份到映象文件中,不知道哪里错了?





作者: Bluebells    时间: 2026-1-12 13:53
所使用的 WinPE 缺少所需的 WMI 组件文件
作者: win82    时间: 2026-1-12 14:01
学习一下
作者: smile_z    时间: 2026-1-12 14:23
学习一下
作者: a66    时间: 2026-1-12 14:45
snapshot批处理备份
作者: cncecpcy    时间: 2026-1-12 15:13
好。。。。。。。。。
作者: baosheng00    时间: 2026-1-12 15:19
英语版本不支持中文路径。
作者: zhanghao0242    时间: 2026-1-12 15:30
岁然看不懂批处理, 这个小工具非常了解。 有中文文件夹就会bug。甚至移动硬盘用中文名 也会bug
作者: cncecpcy    时间: 2026-1-12 16:40
好。。。。。。。。。。。。。
作者: marstj    时间: 2026-1-12 17:11
学习学习
作者: ewq11111    时间: 2026-1-12 17:27
学习
作者: kernel    时间: 2026-1-12 18:17
换老点的snapshot版本就可以了
作者: 518hl    时间: 2026-1-12 19:14
我也有几次用不了 出现错误 啥的  换了个版本就好了   也尝试过换pe
作者: ebaqiang    时间: 2026-1-13 10:03
这还真不懂,哪位大佬来讲讲
作者: nov08    时间: 2026-1-14 09:18
问题 1:WMI

问题 2:全部正确

snapshot64.exe -create -source C: "D:\备份\$date.sna" -L0 -R -G -o --exclude:@List.txt
snapshot64.exe -create -source C: "D:\备份\$date.sna" -L0 -R -G -o --exclude:\soft

完全正确,“snapshot64”会保留磁盘上的数据结构,这很合理

被排除的文件的名称显示出来(\soft\File.rar),但被截断了

文件内容如下
-------------------------------------------------------------
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-------------------------------------------------------------

排除的文件大小       117.416.779 \soft\File.rar
备份时排除了文件        7.426.048 File_exclude.sna
备份文件时不排除任何文件   124.891.136 File_No_exclude.sna

Saludos!
作者: 车丁    时间: 2026-1-14 10:25
nov08 发表于 2026-1-14 09:18
问题 1:WMI

问题 2:全部正确

问题1,我换了1.50以下版本就不再提示错误了。

问题2,我试着排除 c:\windows,发现备份文件只有1.4GB左右,明显比正常备份(3.40GB)的小,我估计实际排除了,只不过通过映射浏览发现还是显示出所有的文件。
作者: welixin    时间: 4 天前
收下




欢迎光临 无忧启动论坛 (http://wuyou.net/) Powered by Discuz! X3.3