Diskshadow Command In Windows Server 2008

This article explains the Diskshadow command in Windows Server 2008 operating system and also explains the commands related with it.
  • 2890

Introduction

Diskshadow command is used to exposes the functionality offered by the Volume Shadow Copy Service. By default it uses an interactive command interpreter. It also includes scriptable mode. The syntax for using Diskshadow command is given below.

Syntax For Interactive Mode

diskshadow

Syntax For Script Mode

diskshadow -s script.txt

Commands Of Diskshadow

Command Description
Set Sets the context, options, verbose mode, and metadata file for creating shadow copies.
Stimulate restore Tests writer involvement in restore sessions on the computer without issuing Prerestore or PostRestore events to writers.
Load metadata Loads a metadata .cab file prior to importing a transportable shadow copy.
Writer Verifies that a writer or component is included or excludes a writer or component from the backup.
Add Adds volumes to the set of volumes that are to be shadow copied.
create Starts the shadow copy creation process, using the current context and option settings.
Exec Executes a file on the local computer.
Begin backup Starts a full backup session.
End backup Ends a full backup session.
Begin restore Starts a restore session and issues a PreRestore event to involved writers.
End restore Ends a restore session and issues a PostRestore event to involved writers.
Reset Resets DiskShadow to the default state.
List Lists writers, shadow copies, or currently registered shadow copy providers that are on the system.
Delete shadow Deletes shadow copies.
Import Imports a transportable shadow copy from a loaded metadata file into the system.
Mask Removes hardware shadow copies that were imported by using the import command.
Expose Exposes a persistent shadow copy.
Unexpose Unexposes a shadow copy that was exposed by using the expose command.
Break Disassociates a shadow copy from VSS.
Revert Reverts a volume back to a specified shadow copy.
Exit Exit Diskshadow.

Ask Your Question

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

Programming Answers here

Categories

More Articles

© 2018 DotNetHeaven. All rights reserved.