Log in Register

Log in

diskshadow Command - Syntax, Switches, Options and Examples

diskshadow Command - Syntax, Switches, Options and Examples Hot

 
0.0 (0)
1271   0   0   0   0  
Write Review

diskshadow command use

DiskShadow.exe is a tool that exposes the functionality offered by the Volume Shadow Copy Service (VSS). By default, DiskShadow uses an interactive command interpreter similar to that of DiskRAID or DiskPart. DiskShadow also includes a scriptable mode.

 

diskshadow command syntax

*For interactive mode, type the following at the command prompt to start the DiskShadow command interpreter:

diskshadow

 

*For script mode, type the following, where script.txt is a script file containing DiskShadow commands:

diskshadow -s script.txt

 

disk shadow command switches

Set -> Sets the context, options, verbose mode, and metadata file for creating shadow copies.

Simulate 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 or loads the writer metadata in the case of a restore.

Writer -> Verifies that a writer or component is included or excludes a writer or component from the backup or restore procedure.

Add -> Adds volumes to the set of volumes that are to be shadow copied, or adds aliases to the alias environment.

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 and issues a BackupComplete event with the appropriate writer state, if needed.

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 shadows -> 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 as a drive letter, share, or mount point.

Unexpose -> Unexposes a shadow copy that was exposed by using the expose command.

Break -> Disassociates a shadow copy volume from VSS.

Revert -> Reverts a volume back to a specified shadow copy.

Exit ->Exits DiskShadow.

 

diskshadow command Example

 DISKSHADOW> set context persistent nowriters

Sets a persistent shadow copy that will remain after the Diskshadow exit command and survives computer restarts.

User reviews

There are no user reviews for this listing.
Already have an account? or Create an account