Export (0) Print
Expand All

Vssadmin add shadowstorage

Published: April 17, 2012

Updated: April 17, 2012

Applies To: Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Adds a shadow copy storage association for a specified volume.

For examples of how to use this command, see Examples.

vssadmin add shadowstorage /for=<ForVolumeSpec> /on=<OnVolumeSpec> [/maxsize=<MaxSizeSpec>]

 

Parameter Description

/for=<ForVolumeSpec>

Specifies the volume for which the shadow copy storage association is to be added.

/on=<OnVolumeSpec>

Specifies the volume to be used as storage for the volume that is defined in the /for parameter.

/maxsize=<MaxSizeSpec>

Specifies the maximum amount of storage space that can be used on the volume specified in the /on parameter. If MaxSizeSpec is not specified, there is no limit placed on the amount of space that can be used. If the maximum number of shadow copy storage associations have already been made, an error is returned. Note that MaxSizeSpec must be 300 MB or greater and it must be expressed in one of the following units: bytes, KB, MB, GB, TB, PB, or EB. These units can be abbreviated as B, K, M, G, T, P, and E, respectively. If no unit is specified, MaxSizeSpec uses bytes (B) by default.

To specify that for volume C, volume D is to be used for storage and the maximum size for storage space is to be 900 MB, type:

vssadmin add shadowstorage /for=c: /on=d: /maxsize=900mb

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft