wbadmin 系统状态备份失败

wbadmin 系统状态备份失败

尝试将系统状态备份到共享驱动器时,备份失败。此共享是 Samba 共享。Samba 服务器不在 AD 上,但我映射了一个网络驱动器,因此凭据将被保存(实际上无法备份到网络驱动器,wbamin 会阻止这种情况)。当我运行备份时,它失败了。下面输出中提到的两个日志文件都是空的。有什么想法吗?

PS C:\Users\Administrator> wbadmin start systemstatebackup -backuptarget:\\ny-back01\backups
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2004 Microsoft Corp.

Starting to back up the system state [8/19/2010 1:41 PM]...
Retrieving volume information...
This will back up the system state from volume(s) System Reserved (100.00 MB),Local Disk(C:) to \\ny-back01\backups.
Do you want to start the backup operation?
[Y] Yes [N] No Y

Creating a shadow copy of the volumes specified for backup...
Please wait while system state files to back up are identified.
This might take several minutes...
Found (118) files.
Found (10194) files.
Found (14481) files.
Found (31086) files.
Found (36456) files.
Found (48828) files.
Found (69057) files.
Found (73761) files.
Summary of the backup operation:
------------------

The backup of the system state failed [8/19/2010 1:43 PM].
Log of files successfully backed up:
C:\Windows\Logs\WindowsServerBackup\Backup-19-08-2010_13-42-09.log

Log of files for which backup failed:
C:\Windows\Logs\WindowsServerBackup\Backup_Error-19-08-2010_13-42-09.log

The operation ended before completion.
The version does not support this version of the file format.
PS C:\Users\Administrator>

答案1

*nix OS 的默认分配方法(仅在需要时分配磁盘块)使 Windows Backup 陷入困境。您需要预先分配空间。

将 添加strict allocate = yes到你的 smb.conf 并再次尝试。(参见http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html了解该strict allocate选项的详细信息。

我发现一些抱怨表明,打开strict allocate可能会导致一些 Windows 客户端在请求分配非常大的文件时“超时”……太好了。用一个问题换另一个问题。您的里程可能会有所不同。

相关内容