1536 - Command-line options for VSS

Modified on Fri, 1 Aug at 8:23 AM

Where VSS settings are not accessible from the GUI, the following commands can be run from an elevated command prompt:

 

To show the current volume shadow copy storage associations:

vssadmin list shadowstorage

 

To resize the volume shadow copy storage:

vssadmin resize shadowstorage /on=X: /for=Y: /maxsize=Z

where

X = drive holding the shadow copy storage
Y = drive being shadow-copied (backed up)
Z = new shadow copy storage size along with the unit size (e.g. 10GB)


For example:

vssadmin resize shadowstorage /on=X: /for=Y: /maxsize=10GB

Run the vssadmin list shadowstorage command again to validate the new volume shadow copy size.


Note: The above commands only work if a shadow storage area has been added before. 


 

To add shadow storage area:

vssadmin add shadowstorage /for=Y: /on=X: /maxsize=Z

where

X = drive holding the shadow copy storage
Y = drive being shadow-copied (backed up)
Z = new shadow copy storage size along with the unit size (e.g. 20GB)


For example:

vssadmin add shadowstorage /for=d: /on=c: /maxsize=20GB

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article