为什么当有大量可用磁盘空间时,SharePoint 会声称没有足够的磁盘空间进行备份?

为什么当有大量可用磁盘空间时,SharePoint 会声称没有足够的磁盘空间进行备份?

我正在尝试运行以下命令:

Backup-SPFarm -Directory E:\Backups -BackupMethod full -Verbose

但是它错误地指出磁盘空间不足...备份大小约为 1.8Gb,我有 27.52GB 的可用空间,那么为什么它认为我需要 30Gb?

VERBOSE: Leaving BeginProcessing Method of Backup-SPFarm.
VERBOSE: Performing operation "Backup-SPFarm" on Target "SHAREPOINTSERV".
Backup-SPFarm : There is not enough disk space. Free additional space on your h
ard disk and then try again. Approximate amount of space needed: 30.12 GB. Amou
nt of space free on disk: 27.52 GB.
At E:\Backups\Script\BackupSharePointFarm.ps1:3 char:14
+ Backup-SPFarm <<<<  -Directory E:\Backups -BackupMethod full -Verbose
    + CategoryInfo          : InvalidData: (Microsoft.Share...mdletBackupFarm:
   SPCmdletBackupFarm) [Backup-SPFarm], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletBackupFa
   rm

VERBOSE: Leaving ProcessRecord Method of Backup-SPFarm.
VERBOSE: Leaving EndProcessing Method of Backup-SPFarm.

答案1

该问题是由于 SharePoint_Config 日志文件太大 - 在我的情况下大约为 30Gb!

我发现这篇博客文章指向这里

希望它有所帮助(我没有测试它 - 我将恢复模型更改为简单(运行完整备份后)然后缩小日志文件并将其改回完整 - 我怀疑下个月它会再次回到 30Gb?!?。我讨厌 sharepoint。

相关内容