Vssadmin resize shadowstorage

 

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

Resizes the maximum amount of storage space that can be used for shadow copy storage.

The minimum amount of storage space that can be used for shadow copy storage can be specified by using the MinDiffAreaFileSize registry value. For more information, see MinDiffAreaFileSize (https://go.microsoft.com/fwlink/?LinkId=190313).

Warning

Resizing the storage association may cause shadow copies to disappear.

Syntax

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

Parameters

Parameter

Description

/for=<ForVolumeSpec>

Specifies the volume for which the maximum amount of storage space is to be resized.

/on=<OnVolumeSpec>

Specifies the storage volume.

[/maxsize=<MaxSizeSpec>]

  • Specifies the maximum amount of space that can be used for storing shadow copies. If no value is specified for /maxsize, there is no limit placed on the amount of storage space that can be used.

  • The MaxSizeSpec value must be 1 MB or greater and must be expressed in one of the following units: KB, MB, GB, TB, PB, or EB. If no unit is specified, MaxSizeSpec uses bytes by default.

Additional references

Command-Line Syntax Key

Vssadmin