Vssadmin Add Shadowstorage Command In Windows Server 2008

In this article I am going to explain about Vssadmin add Shadowstorage command in Windows Server 2008 operating system and also explain it's related syntax.
  • 4009

Introduction

Vssadmin add shadowstorage command is Windows Server 2008 command line tool. This command is available in Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2. Vssadmin command adds a shadow copy storage  association for a specified volume.

Syntax

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

Parameter of Vssadmin add shadowstroage

Parameter Description
/for=<ForVolumeSpec> This parameter is specifies the volume for which the shadow copy storage association is to be added.
/on=<OnVolumeSpec> This parameter is specifies the volume to be used as storage for the volume.
/maxsize=<MaxSizeSpec> This parameter is specifies the maximum amount of storage space.

Example

Vssadmin add shadowstorage command specify for volume C, volume D is to be used storage and the maximum size for storage space is to be 900 MB.

vssadmin add shadowstorage /for=c: /on=d: /maxsize=900mb

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.