百事可乐001 发表于 2019-6-12 16:10:14

drive snapshot能否通过命令恢复系统

我从ui界面点击恢复系统后,他会提示当前分区正在使用,下次重启后恢复,可我在命令行中运行snapshot D:\huifu.sna C: 的时候,软件没有重启 而是直接覆盖c盘的文件,覆盖了一会提示有些文件被占用,无法恢复

我想做个bat脚本,运行脚本后调用snapshot自动恢复;我运行snapshot /?snapshot -- ?参数后,没有看到相关的解决方法 是不是这个软件不支持这种恢复方法,只能在ui界面用鼠标操作呢?

如果是这样的话,各位高手能不能推荐一款自动点击的软件 比如按键精灵 au3之类的,我想做个自动点击的脚本 让它自动化恢复

bfgxp 发表于 2019-6-12 16:35:38

本帖最后由 bfgxp 于 2019-6-12 16:43 编辑

系统环境还原当前系统应该使用计划任务
scheduling the restore of x:\image-C.sna to C: during the next reboot:
snapshot --schedule C: x:\image-C.sna
--autoreboot:off       don't boot after the restore has finished
--autoreboot:success   reboot after the image was successfully restored
--autoreboot:any       reboot after the image was restored

pe环境这样用

Snapshot X:\C-DRIVE.sna C:
         -Y    - Answers all questions automatically with "Yes"

百事可乐001 发表于 2019-6-12 18:26:23

bfgxp 发表于 2019-6-12 16:35
系统环境还原当前系统应该使用计划任务
scheduling the restore of x:\image-C.sna to C: during the next ...

高手太厉害了{:1_195:}

bxcxsr 发表于 2019-6-12 21:05:28

在win环境下 我只有第一还原成功了以后都失败了 只能在pe环境还原 不知道什么原因
页: [1]
查看完整版本: drive snapshot能否通过命令恢复系统