关于EXCHANGE的WHITE SPACE和从MAILDATABASE导出用户邮件到PST文件
诗诗 2018-03-14 来源 :网络 阅读 1178 评论 0

摘要:关于白空间和如何查看AvailableNewMailboxSpace,大意是说这个空间是用户删除邮件之后留下来的空间,可以再循环利用的,所以EDB邮件数据库文件不会减小,可以用ESEUTIL来将空间挤出来,但不推荐,特别是在DAG环境下,如果要利用这个硬盘空间,可以将这个数据的用户邮件数据导到其它库

关于白空间和如何查看AvailableNewMailboxSpace,大意是说这个空间是用户删除邮件之后留下来的空间,可以再循环利用的,所以EDB邮件数据库文件不会减小,可以用ESEUTIL来将空间挤出来,但不推荐,特别是在DAG环境下,如果要利用这个硬盘空间,可以将这个数据的用户邮件数据导到其它库,然后,将这个库删除即可:

AvailableNewMailbove been deleted and are available for reuse by Exchange to store new mailboxes, items and attachments. This space will be reused as soon as new content will be written to the database and before the database file size grows.

So if you have migrated a lot of mailboxes for balancing purpose or any other reason and wonder why you database is not smaller in file size that’s because database don’t reclaim the file size space back but transfer that to the white space whitch is then used for new content. The only way to shrink the database file size after a large mailbox migration is to run the “ESEUTIL” witch is not recommended especially in DAG scenarios were the rebuild transforms the internal structure of the database, so any of the transactions in the logs cannot be applied if the need occurs to recover transactions through log replay . In cases where a lot data has been removed from a database and a lot of white space remains, rather than performing an offline defragmentation with “ESEUTIL” on the database, you can move the mailboxes online to a new database and delete the original database.

Anyway to view how much database white space you have on your databases run the following cmdlet:

Get-MailboxDatabase -Status | Sort-Object DatabaseSize -Descending | Format-Table Name, DatabaseSize, AvailableNewMailboxSpace

 关于EXCHANGE的WHITE SPACE和从MAILDATABASE导出用户邮件到PST文件

至于将特定用户邮件导出到PST文件,先设置好操作角色,然后用New-MailboxExportRequest 命令即可:

 

Exchange Server 2010 comes with Roll-based Administration; you will need to run the following command first though:

New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “<username>”

This command gives the user permission to import and export mailboxes. Another way of doing this is creating an Active Directory group and adding permissions to this group using the following command:

New-ManagementRoleAssignment –Role “Mailbox Import Export” –Group “<usergroup>”

 

New-MailboxExportRequest -Mailbox sampleuser -FilePath \\MBX-01\PSTFileShare\Ayla_Recovered.pst

 

希望这篇文章可以帮助到你。总之,同学们,你想要的职坐标IT频道都能找到!

本文由 @诗诗 发布于职坐标。未经许可,禁止转载。
喜欢 | 0 不喜欢 | 0
看完这篇文章有何感觉?已经有0人表态,0%的人喜欢 快给朋友分享吧~
评论(0)
后参与评论

您输入的评论内容中包含违禁敏感词

我知道了

助您圆梦职场 匹配合适岗位
验证码手机号,获得海同独家IT培训资料
选择就业方向:
人工智能物联网
大数据开发/分析
人工智能Python
Java全栈开发
WEB前端+H5

请输入正确的手机号码

请输入正确的验证码

获取验证码

您今天的短信下发次数太多了,明天再试试吧!

提交

我们会在第一时间安排职业规划师联系您!

您也可以联系我们的职业规划师咨询:

小职老师的微信号:z_zhizuobiao
小职老师的微信号:z_zhizuobiao

版权所有 职坐标-一站式IT培训就业服务领导者 沪ICP备13042190号-4
上海海同信息科技有限公司 Copyright ©2015 www.zhizuobiao.com,All Rights Reserved.
 沪公网安备 31011502005948号    

©2015 www.zhizuobiao.com All Rights Reserved

208小时内训课程