Cmdlets > Start-DtVerify

Start-DtVerify

Starts verification

Syntax

Start-DtVerify [-ServiceHost] <Server> [-JobId] <Guid> [-Synchronize] [-Newer] [-Checksum] [-ProcessOrphans] [-ConnectionId <Guid>] [<CommonParameters>]

 

Start-DtVerify [-ServiceHost] <Server> [-Synchronize] [-Newer] [-Checksum] [-ProcessOrphans] [-ConnectionId <Guid>] -JobInfo <JobInfo> [<CommonParameters>]

 

Detailed Description

This cmdlet starts the Double-Take verification process to check that the replica source data on the target is identical to the actual data on the source

Parameters

Name Type Description Required Pipeline Input
Service
Host
Server

Specify the server object returned from the New-DtServer cmdlet. For this cmdlet, the -ServiceHost should be your target server.

true false
JobId Guid

Specify the job GUID returned from the New-DtJob cmdlet or the Id within the job information returned from the Get-DtJob cmdlet.

true false
Synchronize Switch
Parameter

Mirrors to the target any protected files that are different on the source. Without this option, the verification process will only verify the data and generate a verification log file, but it does not remirror any files that are different on the source and target.

false false
Newer Switch
Parameter

If you are mirroring files to the target during the verification process with the synchronize option, this option will only mirror files that are newer on the source than on the target. If you are using a database application, do not use this option unless you know for certain that you need it. With database applications, it is critical that all files, not just some of the file that might be newer, get mirrored.

false false
Checksum Switch
Parameter

If you are mirroring files to the target during the verification process with the synchronize option, this option will have the verification process perform a block checksum comparison to determine which blocks are different.

false false
Process
Oprhans
Switch
Parameter

If you are mirroring files to the target during the verification process with the synchronize option, this option will delete orphaned files on the target.

false false
Connection
Id
ConnectionId

Specify the connection ID returned from the Get-DtConnectionIds cmdlet.

false false
JobInfo JobInfo

Specify the job information returned from the Get-DtJob cmdlet. The job information can be piped from the Get-DtJob cmdlet and used in this cmdlet.

true true

Outputs

None

Examples

$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password

$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object { $_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}

Start-DtVerify -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id -Synchronize -Newer -Checksum -ProcessOrphans

Disconnect-DtServer -ServiceHost $DtServerObjectBeta

A server object is created for the server beta using the domain\administrator and password credentials. It assigns the server object to the variable called DtServerObjectBeta. The job(s) are retrieved from DtServerObjectBeta, but only the job information where the source machine name is equivalent to the name stored in the variable DtServerObjectAlpha is retrieved. That information is then stored in the variable DtJobForAlpha. Verification is then started for the job. The connections for the server object are then closed.