Chinaunix首页 | 论坛 | 博客
  • 博客访问: 36812
  • 博文数量: 10
  • 博客积分: 1420
  • 博客等级: 上尉
  • 技术积分: 150
  • 用 户 组: 普通用户
  • 注册时间: 2007-08-03 16:12
文章分类
文章存档

2011年(1)

2009年(5)

2008年(4)

我的朋友

分类: WINDOWS

2009-06-09 18:11:39

1、创建恢复存储组:
new-storagegroup -server mail.test.com -logfolderpath c:\rsg\rsglog -name  -systemfolderpath c:\rsg\rsgdata -recovery
命令执行后会在下方看到:
name        server    replicated    recovery
rsgstore    mail       none           true
2、在恢复存储组中创建你要恢复的数据库(就是你要为恢复存储组创建一个数据库)
new-mailboxdatabase -mailboxdatabasetorecover “mail\first storage group\mailbox(新建的数据库的名字)”-storagegroup mail\rsgstore -edbfilepath c:\rsg\rsgdata\database.edb
命令执行后会在下方看到:
name        server    replicated    recovery
mailbox    mail       rsgstore           true
当然powershell命令还为我们提供了更方便的的方式:
你只用输入:new-mailboxdatabase后回车按照提示输入数据库名称和存储组名称即可。(我建议用这条不容易出错)
3、设置新数据库可以被覆盖
set-mailboxdatabase -identity "mail\rsgstore\mailbox" -allowfilerestore:$true
4、挂载数据库
mount-database -identity“mail\rsgstore\mailbox”
5、现在可通过windows ntbackup工具或者其他工具如“微软的dpm”来恢复邮箱了。
6、恢复结束后进行恢复数据库的停用及删除工作
停用dismount-database“mail\rsgstore\mailbox”
删除数据库remove-mailboxdatabase “mail\rsgstore\mailbox”
删除恢复存储组remove-storagegroup “mail\regstore”
 
exchange2007恢复存储组的建立过程就说到这!
阅读(699) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~