NAME
swsrpvrq shadow query - displays the status of shadow copy
SYNOPSIS
<program-directory>\bin\swsrpvrq shadow query [-h HyperV-Host] -cs Component-Set
<program-directory>\bin\swsrpvrq shadow query
DESCRIPTION
This command displays the status of shadow copy.
The displayed information is as follows:
Title | Description |
---|---|
Volume | Displays the volume names that are registered in the shadow copy group. |
Snapshot-ID | Displays the shadow copy IDs if there are shadow copies on the backup volume. |
Snapshot-Set-ID | Displays the shadow copy set IDs if there are shadow copies on the backup volume. |
Original-Volume | Displays the names of transaction volumes (\\?\Volume{GUID}\). |
Original-Machine | Displays the names of the source machines from which shadow copies were created if there are shadow copies on the backup volume. |
Snapshot-Volume | Displays the names of shadow copy volumes (\\?\Volume{GUID}\) if there are shadow copies on the backup volume. |
Snapshot-Machine | Displays the names of the target machines on which shadow copies were created if there are shadow copies on the backup volume. |
Exposed-Path | Displays the drive letters or mount points if all of the following conditions are fulfilled.
|
Creation-Time | Displays the time of creating shadow copies if there are shadow copies on the backup volume. |
Guest-OS | Displays Guest OSes on the volume that have resources. In the case of multiple Guest OSes, the displayed values are delimited by commas. |
OPTIONS
For execution from a backup server, this option specifies the name of the Managed Server for the Hyper-V host for which to display the shadow copy status.
Specifies the name of the component set for which to display the shadow copy status.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Give the command from a backup server to Managed Server (HVHOST01) to display the shadow copy status.
C:\>C:\Win32App\AdvancedCopyManager\bin\swsrpvrq shadow query -h HVHOST01 -cs VMSet2 Volume: C:\ClusterStorage\Volume2 Snapshot-ID: {7A05A8BF-233F-44d2-A52A-42C74497721A} Snapshot-Set-ID: {150D4330-6B98-4d2f-94CB-E4A0462C2594} Original-Volume: \\?\Volume{7FAAF7C3-8A85-4b56-99AF-F97FC449A4FB}\ Original-Machine: hv01.contoso.com Snapshot-Volume: \\?\Volume{C6C7E69A-2461-4324-AFBA-AB91CCE37688}\ Snapshot-Machine: bksvr.contoso.com Exposed-Path: C:\MountPoint\Volume2 Creation-Time: 2011/04/01:02:01 Guest-OS: Guest3 Volume: C:\ClusterStorage\Volume3 Snapshot-ID: Snapshot-Set-ID: Original-Volume: Original-Machine: Snapshot-Volume: Snapshot-Machine: Exposed-Path: Creation-Time: Guest-OS: Guest3 C:\>