我正在从计划作业运行 wbadmin,将我的 C:和 D:驱动器备份到我的 E:并且(我相信!)包括系统状态:
wbadmin start backup -backuptarget:e: -include:c:,d: -allCritical -noVerify -quiet
我想删除旧备份,但我担心我能找到的所有信息都说要wbadmin
删除旧的系统状态备份,并vssadmin
删除其他备份。据我所知,我的备份是系统状态备份,但使用 E: 上的 VSS 进行存储,所以我担心尝试这两种技术中的任何一种,因为我担心会丢失所有备份。
这是一个家庭网络,所以我没有多余的服务器来测试。
我也很乐意简单地限制在 E: 上使用的空间,但我无法理解相关命令的/for
和参数之间的区别。/on
vssadmin
作为参考,以下是输出vssadmin show shadows
:
Contents of shadow copy set ID: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
Contained 1 shadow copies at creation time: 07/01/2011 08:12:05
Shadow Copy ID: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
Original Volume: (E:)\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\
Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy83
Originating Machine: x.y.com
Service Machine: x.y.com
Provider: 'Microsoft Software Shadow Copy provider 1.0'
Type: DataVolumeRollback
Attributes: Persistent, No auto release, No writers, Differential
[... repeated a lot...]
vssadmin show shadowstorage
:
Shadow Copy Storage association
For volume: (C:)\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\
Shadow Copy Storage volume: (C:)\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\
Used Shadow Copy Storage space: 0 B
Allocated Shadow Copy Storage space: 0 B
Maximum Shadow Copy Storage space: 5.859 GB
Shadow Copy Storage association
For volume: (D:)\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\
Shadow Copy Storage volume: (D:)\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\
Used Shadow Copy Storage space: 0 B
Allocated Shadow Copy Storage space: 0 B
Maximum Shadow Copy Storage space: 40.317 GB
Shadow Copy Storage association
For volume: (E:)\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\
Shadow Copy Storage volume: (E:)\\?\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\
Used Shadow Copy Storage space: 168.284 GB
Allocated Shadow Copy Storage space: 171.15 GB
Maximum Shadow Copy Storage space: UNBOUNDED
wbadmin get versions
:
Backup time: 07/01/2011 03:00
Backup target: 1394/USB Disk labeled xxxxxxxxx(E:)
Version identifier: 01/07/2011-03:00
Can Recover: Volume(s), File(s), Application(s), Bare Metal Recovery, System State
[... repeated a lot...]