通过Powershell恢复卷影副本 [英] Restore Shadow Copies via Powershell

查看:85
本文介绍了通过Powershell恢复卷影副本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们最近需要进行文件搜索,以查看目录中是否存在特定文件。如果它确实存在,我们需要从卷影副本中恢复它。

We recently had the need to do a file search to see if a specific file existed in a directory. If it did Exist we need to restore it from the shadow copies.

如果我们可以从powershell文件搜索启动恢复,会容易得多。 是否有命令在目录级别的powershell中触发恢复?

Would be much easier if we could initiate the restore from the powershell file search.  Are there commands to trigger a restore in powershell at the directory level?

推荐答案

关注的主要问题是从哪个卷影副本中恢复。由于每个还原请求和所需的用户输入都会有所不同,因此对我来说更有意义的是不能完全自动执行此任务。
The major issue of concern is known which shadow copy to restore from. Since this will be different with each restore request and required user input, it makes more sense to me to not completely automate this task.


这篇关于通过Powershell恢复卷影副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆