Configuring Shadow Copies at the Command Line

The command-line tool for configuring shadow copies is VSSAdmin. Using VSSAdmin, you can configure shadow copying of volumes on the computer you're logged on to locally or remotely through Remote Desktop. As with Computer Management, each volume on a server that has shared folders must be configured separately for shadow copying.

Enabling Shadow Copying from the Command Line

To enable shadow copying of a volume, you use the ADD SHADOWSTORAGE command. The syntax is as follows:

vssadmin add shadowstorage /for=ForVolumeSpec /on=OnVolumeSpec

Here, /for=ForVolumeSpec is used to specify the local volume for which you are configuring or managing shadow copies and /on=OnVolumeSpec is used to specify the volume ...

Get Microsoft® Windows Server™ 2003 Inside Out now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.