无忧启动论坛

标题: drive snapshot能否通过命令恢复系统 [打印本页]

作者: 百事可乐001    时间: 2019-6-12 16:10
标题: drive snapshot能否通过命令恢复系统
我从ui界面点击恢复系统后,他会提示当前分区正在使用,下次重启后恢复,可我在命令行中运行snapshot D:\huifu.sna C: 的时候,软件没有重启 而是直接覆盖c盘的文件,覆盖了一会提示有些文件被占用,无法恢复

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

如果是这样的话,各位高手能不能推荐一款自动点击的软件 比如按键精灵 au3之类的,我想做个自动点击的脚本 让它自动化恢复
作者: bfgxp    时间: 2019-6-12 16:35
本帖最后由 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环境这样用
[restore a volume]
  Snapshot X:\C-DRIVE.sna C:
         -Y    - Answers all questions automatically with "Yes"
作者: 百事可乐001    时间: 2019-6-12 18:26
bfgxp 发表于 2019-6-12 16:35
系统环境还原当前系统应该使用计划任务
scheduling the restore of x:\image-C.sna to C: during the next ...

高手太厉害了
作者: bxcxsr    时间: 2019-6-12 21:05
在win环境下 我只有第一还原成功了  以后都失败了 只能在pe环境还原 不知道什么原因





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