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

简介:

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

AvailableNewMailboxSpace also called database white space is database pages that were previously used to store items and mailboxes that have 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

至于将特定用户邮件导出到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

目录
相关文章
|
网络协议 Linux 网络安全
Linux测试端口的连通性的四种方法
Linux测试端口的连通性的四种方法
916 0
|
程序员 Linux Ruby
Mac安装并使用telnet命令操作
Mac安装并使用telnet命令操作
16553 1
Mac安装并使用telnet命令操作
|
4月前
|
人工智能 Cloud Native 虚拟化
VMware vSphere 7.0 Update 3v 下载 - 数据中心虚拟化和云原生平台
VMware vSphere 7.0 Update 3v 下载 - 数据中心虚拟化和云原生平台
572 4
|
10月前
|
供应链 安全 数据安全/隐私保护
在 Active Directory 中批量管理组和用户的方法
Active Directory (AD) 是 Microsoft 提供的目录服务,用于管理数字身份。随着组织规模的扩大,AD 的管理复杂性增加,可能导致安全漏洞。本文介绍了批量管理 AD 组和用户的方法,包括使用管理工具、分离用户和计算机 OU、创建独立的安全组 OU、使用安全组分配权限、创建受限制的本地组、定期清理 AD、自动化常见任务和实施变更控制。这些方法有助于提高管理效率和安全性。
185 1
|
12月前
|
存储 PHP 对象存储
开源免费的图床源码整理汇总-个人自用图床相册程序推荐
图床,也可以称之为相册,即存放图片的地方。 图床与普通的相册不同,图床上传的图片可以作为外链使用,也可以作为公共图片访问使用。除了支持匿名形式访问外,还支持多用户注册与登录,管理员批量管理审核等,当然高级一点功能就是自动审核、AI识别等。 图床需求不如博客建站程序那么,算是一个小众的需要,所以基本上没有什么大规模的免费图床程序。比较受欢迎的Chevereto,已经宣传转为了付费产品,虽然Github上的Chevereto还可以继续下载使用,但是作者已经铁了心要主推他的Chevereto Pro版,免费版的命运走向何方也未知。 本篇文章就来搜集整理一下开源免费的图床源码,由于很多源码都是个人开发
634 0
|
网络协议 Java 网络安全
基于Spring Boot的LDAP开发全教程
基于Spring Boot的LDAP开发全教程
2206 0
|
安全 机器人 程序员
Windows 计划任务每天隔 3 小时运行一次批处理文件详细配置步骤
Windows 计划任务每天隔 3 小时运行一次批处理文件详细配置步骤
1713 2
|
监控
查看服务器/IIS日志、log、访问信息基本方法
除了手动查看,你也可以使用日志分析工具,如Log Parser、AWStats等,这些工具可以帮助你更方便地分析日志数据。
2278 1
|
移动开发 编解码 数据可视化
分享12款我常用的开源免费工具
分享12款我常用的开源免费工具
646 1
|
应用服务中间件 API nginx
简单配置nginx反向代理,实现跨域请求
简单配置nginx去做反向代理,实现跨域请求 简单介绍nginx的nginx.conf最核心的配置,去做反向代理,实现跨域请求。 更多详细配置,参考nginx官方文档 先介绍几个nginx命令 打开nginx.
7311 0