当我尝试使用 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) 的读/写权限。我已通过查看权限和实际将文件复制到此位置验证了这一点。
有什么建议么?
答案1
您是否尝试过指定用于访问此共享的用户名/密码组合?
Wbadmin start backup -user:<username> -password:<password> -backupTarget:\\diskstation\backup-larry -include:C:
答案2
Wbadmin 可能在无法访问 Synology 框上的远程共享的本地系统帐户下运行。您可能需要映射网络驱动器以供其写入并指定用户名和密码以避免这种情况。(或在不同的服务帐户下运行备份)
答案3
我创建了一个 iSCSI 目标并将其用于备份。我仍然不确定为什么我原来的方法不起作用。
答案4
通过 Windows 中的磁盘管理创建 VHD
在您需要备份的位置找到新 VHD 的位置。
勾选使 VHD 可扩展以提高性能
创建 VHD 后,它将附加到您的 Windows,并将充当普通硬盘,您可以指定备份到