A component set is a group of Hyper-V VSS writer components.
In the case of Hyper-V, Guest OSes and Initial Store are VSS components.
Backup and restoration of Hyper-V Guest OSes are performed component set-wise.
Follow below procedure to create the component set required for backing up and restoring Hyper-V Guest OSes.
Use swsrpvrq componentset create (Component set create command) to create a blank component set.
Example (execution from backup server):
C:\>C:\Win32App\AdvancedCopyManager\bin\swsrpvrq componentset create -h HVHOST -cs VMSet1 'swsrpvrq componentset create' completed
Use swsrpvrq component add (Component add command) to add a Guest OS to the component set. In that case, move the Guest OS to the command execution server.
Example (execution from backup server):
C:\>C:\Win32App\AdvancedCopyManager\bin\swsrpvrq component add -h HVHOST -cs VMSet1 -hv-guest Guest1 'swsrpvrq component add' completed C:\>C:\Win32App\AdvancedCopyManager\bin\swsrpvrq component add -h HVHOST -cs VMSet1 -hv-guest Guest2 'swsrpvrq component add' completed
The contents of a component set can be checked by swsrpvrq componentset info (Component set information display command).
Example (execution from backup server):
C:\>C:\Win32App\AdvancedCopyManager\bin\swsrpvrq componentset info -h HVHOST -cs VMSet1 Component-Set: Name=VMSet1, Count=2 Component: Writer=Microsoft Hyper-V VSS Writer Full-Path=\2ACF3DF4-CB02-454F-8369-2E5C0CA783B3 Friendly-Name=Guest1 Volume: Name=C:\ClusterStorage1\Volume1, Logical-Unit=g1d1 Component: Writer=Microsoft Hyper-V VSS Writer Full-Path=\2ACF3DF4-CB02-454F-8369-2E5C0CA783B4 Friendly-Name=Guest2 Volume: Name=C:\ClusterStorage1\Volume1, Logical-Unit=g1d1
Note
Register Guest OSes that are on the same disk in the same component set. Any unregistered components will not be backed up.
Initial Store cannot be registered in component sets.
For backing up and restoring Initial Store, use the Windows Server backup function.