3.2.4.2 Application Requests Shadow Copy Preparation For a Share

The caller provides the following:

  • ShareName in UNC format.

  • Context: The set of context values as specified in section 2.2.2.2.

  • ShadowCopySetId: The GUID of the shadow copy set.

  • ShadowCopyId: The GUID of the shadow copy.

  • IsLastShareToAdd: A Boolean; when set to TRUE, it indicates that this is the last share to be added to the shadow copy set.

The client MUST derive the server name from the hostname part of the UNC ShareName provided by the caller.

The client MUST establish an RPC connection to the FSRVP service running on the server, as specified in section 2.1.

The client MUST look up ShadowCopySet in GlobalShadowCopySetTable where ShadowCopySet.ServerName matches the server name identified from the caller-supplied ShareName and ShadowCopySet.ShadowCopySetId matches the caller-supplied ShadowCopySetId. If an entry is found, the client processing MUST be continued from section 3.2.4.2.2. If no entry is found, the client processing MUST be continued from section 3.2.4.2.1.