Compartilhar via


Vssadmin create shadow

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

Creates a new shadow copy of a specified volume.

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

Syntax

vssadmin create shadow /for=<ForVolumeSpec> [/autoretry=<MaxRetryMinutes>]

Parameters

Parameter Description

/for=<ForVolumeSpec>

Specifies the volume to be shadow copied. Note that the ForVolumeSpec value must be a local volume drive letter or mount point.

/autoretry=<MaxRetryMinutes>

Specifies the maximum amount of time (in minutes) during which the vssadmin command will attempt to create the shadow copy, if another process is simultaneously attempting to create a shadow copy.

Examples

To create a shadow copy of volume C, type:

vssadmin create shadow /for=c: 

Additional references

Command-Line Syntax Key

Vssadmin