Windows-Server-2008
當我以 Synology DS211 磁碟站託管的網路共享為目標時,為什麼我的備份會失敗?
當我嘗試使用由 Synology DS211 磁碟站託管的網路共享時,我的備份失敗。如果我針對不同的網路共享(即 \server1\data\larry),它們可以正常工作。
當我執行以下命令時:
Wbadmin start backup -backupTarget:\\diskstation\backup-larry -include:C:
這就是我得到的:
wbadmin 1.0 - Backup command-line tool (C) Copyright 2004 Microsoft Corp. Note: The backed up data cannot be securely protected at this destination. Backups stored on a remote shared folder might be accessible by other people on the network. You should only save your backups to a location where you trust the other users who have access to the location or on a network that has additional security precautions in place. Retrieving volume information... This will back up volume WIN7(C:) to \\diskstation\backup-larry. Do you want to start the backup operation? [Y] Yes [N] No y Note: The list of volumes included for backup does not include all the volumes that contain operating system components. This backup cannot be used to perform a system recovery. However, you can recover other items if the destination media type supports it. The backup operation to \\diskstation\backup-larry is starting. Creating a shadow copy of the volumes specified for backup... Creating a shadow copy of the volumes specified for backup... The backup operation stopped before completing. Summary of the backup operation: ------------------ The backup operation stopped before completing. Detailed error: Access is denied. Windows Backup failed to write the file: '<backup location>\WindowsImageBackup\<Computer Name>\MediaId'. Access is denied.
備份創建以下路徑
\\diskstation\backup-larry\WindowsImageBackup\LARRY-MYDOMAIN\
,但它是空的。我肯定對目標目錄 (\diskstation\backup-larry) 具有讀/寫訪問權限。我通過查看權限並將文件實際複製到此位置來驗證這一點。
有什麼建議麼?
您是否嘗試過指定您的使用者名/密碼組合來訪問此共享?
Wbadmin start backup -user:<username> -password:<password> -backupTarget:\\diskstation\backup-larry -include:C:
Wbadmin 可能在無法訪問 Synology 機器上的遠端共享的本地系統帳戶下執行。您可能需要映射一個網路驅動器以使其寫入並指定使用者名和密碼以避免這種情況。(或在不同的服務帳戶下執行備份)