Top
ETERNUS SF AdvancedCopy Manager V15.3 Operation Guide
ETERNUS

12.8.7 swsrpvrq shadow restore-hyperv (Hyper-V restore command)

NAME

swsrpvrq shadow restore-hyperv - restores a Hyper-V Guest OS


SYNOPSIS

<program-directory>\bin\swsrpvrq shadow restore-hyperv -cs Component-Set [-hv-guests Guest-OS-List-File] -manual-restore

DESCRIPTION

This command restores Hyper-V Guest OSes per component set.


OPTIONS

-cs Component-Set

Specifies the name of the component set which is to be restored.

-hv-guests Guest-OS-List-File

For restoring only specific Guest OSes in a component set, specify the files (Guest OS list files) in which the relevant Guest OSes are listed.
In the Guest OS list files, describe only one Guest OS per line.

-manual-restore

This option can be specified for restoring a backed up data manually.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES

On the Managed Server (HVHOST01), the restoring a Hyper-V Guest OS is performed.

C:\>C:\Win32App\AdvancedCopyManager\bin\swsrpvrq shadow restore-hyperv -cs VMSet1 -manual-restore
swsrp5204 The processing for PreRestore event has been completed.
swsrp5205 Restore the following files.
C:\ClusterStorage\Volume1\Hyper-V\Guest1\Virtual Machines\2ACF3DF4-CB02-454F-8369-2E5C0CA783B3.xml
C:\ClusterStorage\Volume1\Hyper-V\Guest1\Virtual Machines\2ACF3DF4-CB02-454F-8369-2E5C0CA783B3\*
C:\ClusterStorage\Volume1\Hyper-V\Guest1\Guest1-Disk.vhd
C:\ClusterStorage\Volume1\Hyper-V\Guest1\Guest1.vhd

swsrp5206 Press 'Y' key to continue when restoration is completed. If you are to cancel restoration, press 'Q' key.
swsrp5208 The processing for PostRestore event is performed.
'swsrpvrq shadow restore-hyperv' completed
C:\>