vssadmin resize shadowstorage
Resizes the maximum amount of storage space that can be used for shadow copy storage. Windows commands reference
On Windows
Windows
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. WARNING: Resizing the storage association may cause shadow copies to disappear.
vssadmin resize shadowstorage /for=<ForVolumeSpec> /on=<OnVolumeSpec> [/maxsize=<MaxSizeSpec>]
To resize shadow copy of volume C on volume D, with a maximum size of 900MB, type
vssadmin resize shadowstorage /For=C: /On=D: /MaxSize=900MBIdentify/ForSpecifies the volume for which the maximum amount of storage space is to be resized. Windows commands reference/OnSpecifies the storage volume. Windows commands referenceTrips 1 Sigma rule: highShadow Copies Deletion Using Operating Systems Utilities by Florian Roth (Nextron Systems), Michael Haag, Teymur Kheirkhabarov, Daniil Yugoslavskiy, oscd.community, Andreas Hunkeler (@Karneades)
To resize shadow copy of volume C on volume D, with no maximum size, type
vssadmin resize shadowstorage /For=C: /On=D: /MaxSize=UNBOUNDEDIdentify/ForSpecifies the volume for which the maximum amount of storage space is to be resized. Windows commands reference/OnSpecifies the storage volume. Windows commands referenceTrips 1 Sigma rule: highShadow Copies Deletion Using Operating Systems Utilities by Florian Roth (Nextron Systems), Michael Haag, Teymur Kheirkhabarov, Daniil Yugoslavskiy, oscd.community, Andreas Hunkeler (@Karneades)
To resize shadow copy of volume C by 20%, type
vssadmin resize shadowstorage /For=C: /On=C: /MaxSize=20%Identify/ForSpecifies the volume for which the maximum amount of storage space is to be resized. Windows commands reference/OnSpecifies the storage volume. Windows commands referenceTrips 1 Sigma rule: highShadow Copies Deletion Using Operating Systems Utilities by Florian Roth (Nextron Systems), Michael Haag, Teymur Kheirkhabarov, Daniil Yugoslavskiy, oscd.community, Andreas Hunkeler (@Karneades)
/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's 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.