Power Shell Scripting Guide
Power Shell Scripting Guide
Carbonite Migrate
PowerShell Scripting Guide
Notices
Carbonite Availability and Carbonite Migrate PowerShell Scripting Guide, version 8.5.1, Tuesday, September 27, 2022
If you need technical assistance, you can contact CustomerCare. All basic configurations outlined in the online
documentation will be supported through CustomerCare. Assistance and support for advanced configurations may be
referred to a Pre-Sales Systems Engineer or to Professional Services.
Man pages are installed and available on Carbonite Availability and Carbonite Migrate Linux servers. These
documents are bound by the same Carbonite license agreement as the software installation.
This documentation is subject to the following: (1) Change without notice; (2) Furnished pursuant to a license
agreement; (3) Proprietary to the respective owner; (4) Not to be copied or reproduced unless authorized pursuant to
the license agreement; (5) Provided without any expressed or implied warranties, (6) Does not entitle Licensee, End
User or any other party to the source code or source code documentation of anything within the documentation or
otherwise provided that is proprietary to Carbonite; and (7) All Open Source and Third-Party Components (“OSTPC”)
are provided “AS IS” pursuant to that OSTPC’s license agreement and disclaimers of warranties and liability.
Carbonite and/or its affiliates and subsidiaries in the United States and/or other countries own/hold rights to certain
trademarks, registered trademarks, and logos. Hyper-V and Windows are registered trademarks of Microsoft
Corporation in the United States and/or other countries. Linux is a registered trademark of Linus Torvalds. vSphere is a
registered trademark of VMware. All other trademarks are the property of their respective companies. For a complete
list of trademarks registered to other companies, please visit that company’s website.
© 2022 Carbonite, Inc. All rights reserved.
Contents
Chapter 1 Carbonite Availability and Carbonite Migrate PowerShell overview 11
Carbonite PowerShell requirements 12
Installing the Carbonite PowerShell module 13
Importing the Carbonite PowerShell module 13
Chapter 2 Cmdlets 14
Add-DtEndpointMapping 17
Add-DtPhysicalRule 18
Add-DtUvraPhysicalRule 20
Checkpoint-DtConnection 22
Checkpoint-DtConnectionSourceQueue 24
Close-DtWorkload 26
Confirm-DtJobOptions 27
Disconnect-DtServer 30
Edit-DtJob 31
Get-DefaultSqlCredentials 33
Get-DtAccessLevel 34
Get-DtActivationStatus 35
Get-DtAllFailoverReports 36
Get-DtBandwidthLimit 37
Get-DtConnectionIds 39
Get-DtDiagnostics 40
Get-DtDnsOptions 41
Get-DtEmailNotificationOptions 44
Get-DtEndpointMapping 45
Get-DtEndpointMappingCount 46
Get-DtEventLogEntry 47
Get-DtJob 48
Get-DtJobActionStatus 50
Get-DtLatestFailoverReport 52
Get-DtLogicalItem 53
Get-DtLogMessage 54
Get-DtOnlineActivationRequest 56
Get-DtOption 57
Get-DtPathBlocking 58
Get-DtPhysicalItem 59
Get-DtProductInfo 60
Get-DtQualificationResults 61
Get-DtRecommendedFailbackOptions 63
Get-DtRecommendedFailoverOptions 65
Get-DtRecommendedJobOptions 67
Get-DtRecommendedPathTransform 70
Get-DtRecommendedRestoreOptions 71
Get-DtRepairJobOptionsStatus 73
Get-DtScriptCredentials 75
Get-DtServerInfo 76
Get-DtSnapshot 77
Contents 3
Get-DtSourceQueueSnapshot 79
Get-DtSourceQueueSnapshots 81
Get-DtUvraRecommendedFailoverOptions 83
Get-DtUvraRecommendedRemoveOptions 85
Get-DtVerificationStatus 87
Get-DtWorkload 88
Get-DtWorkloadPhysicalItem 89
Get-DtWorkloadType 90
Install-DoubleTake 91
Install-DtVmwareCertificate 95
Invoke-DtAddShares 96
Invoke-DtQueueTask 98
Invoke-DtRemoveShares 101
Merge-DtConsoleServerData 103
New-DtFilesAndFoldersJob 104
New-DtJob 106
New-DtServer 109
New-DtTaskParameters 111
New-DtUri 112
New-DtUvraServer 114
New-DtWorkload 117
Remove-DtEndpointMapping 119
Remove-DtJob 120
Remove-DtPhysicalRule 122
Remove-DtSnapshot 124
Remove-DtSourceQueueSnapshot 126
Repair-DtJobOptions 128
Request-DtOnlineActivation 131
Request-DtOnlineDeactivation 133
Restart-DtReplicationService 134
Resume-DtJob 135
Resume-DtMirror 137
Resume-DtTarget 139
Save-DtConsoleServerData 141
Save-DtJobDiagnostics 142
Set-DefaultSqlCredentials 144
Set-DtActivationCode 146
Set-DtBandwidthLimit 148
Set-DtEmailNotificationOptions 150
Set-DtJobCredentials 151
Set-DtLogicalItemSelection 153
Set-DtOption 155
Set-DtPathBlocking 157
Set-DtScriptCredentials 158
Set-DtServerCredential 160
Set-DtVmwareCertificatePolicy 161
Start-DtJob 163
Start-DtJobFailback 165
Start-DtJobFailover 167
Contents 4
Start-DtJobRestore 169
Start-DtJobReverse 171
Start-DtMirror 173
Start-DtOrphansProcessing 175
Start-DtReplication 177
Start-DtVerify 179
Stop-DtJob 181
Stop-DtMirror 183
Stop-DtReplication 185
Stop-DtReplicationService 187
Suspend-DtJob 188
Suspend-DtMirror 190
Suspend-DtTarget 192
Test-DtActiveDirectoryCredentials 194
Test-DtEmailNotification 196
Test-DtScript 198
Test-DtScriptCredentials 200
Test-DtVmwareCertificatePolicy 202
Undo-DtJobFailover 204
Uninstall-DoubleTake 206
Update-DtJobStatus 207
Update-DtShares 209
Wait-DtConfirmJobOptions 211
Wait-DtMirrorComplete 213
Chapter 3 Classes 215
ActivationAttribute 219
ActivationCode 220
ActivationInformation 222
ActivationStatus 223
ActivityStatusEntry 224
ActivityToken 225
ApplicationOptions 226
ApplicationQualificationResults 228
BandwidthEntry 229
BandwidthLimit 230
BandwidthOptions 231
BandwidthSchedule 232
BandwidthScheduleEntry 233
BandwidthSpecification 234
ChangedItems 235
CloudJobDetails 236
CloudOptions 237
ClusterFilesAndFoldersQualifcationResults 238
ClusterOptions 239
CompressionLevel 241
ConnectionId 242
ConnectionSchedule 243
ConnectionStartParameters 244
CoreConnectionDetails 246
Contents 5
CoreConnectionOptions 251
CoreMonitorDetails 252
CoreMonitorOptions 253
CoreQualificationResults 254
Credentials 256
CutoverDetails 257
DeleteOptions 258
Disk 259
DiskOptions 260
DnsDomainDetails 262
DnsOptions 263
DnsServerDetail 264
EFIBootInfo 265
EmailNotificationOptions 266
EngineControlStatus 268
EventLogEntry 270
EventLogEntryType 271
ExtendedLowLevelStates 272
FailbackOptions 273
FailoverOptions 274
FailoverReport 275
FailoverScriptConfiguration 277
Feature 279
FilesAndFoldersOptions 280
FullServerFailoverOptions 281
FullServerJobDetails 282
FullServerNicMappings 283
FullServerTestFailoverOptions 284
Guid 285
IpAddressMap 286
JobAction 287
JobInfo 288
JobOptions 291
JobQualificationResults 294
JobStatistics 296
JobStatus 297
LogicalItems 299
LogicalVolume 300
LogMessage 303
LvmOptions 304
MachineInfoClass 305
MirrorParameters 306
MonitorConfiguration 307
MonitoredAddressConfiguration 309
MonitoredAddressStatus 310
MonitoringOptions 311
NetworkInterfaceInfo 312
OperatingSystemInfo 313
OperatingSystemVersion 314
Contents 6
OrphansSchedule 315
Partition 316
PathBlocking 317
PathTransformation 318
PhysicalItem 319
PhysicalRule 321
PhysicalVolume 322
ProductInfo 325
ProductVersion 327
PSCredential 328
RecommendedFailbackOptions 329
RecommendedFailoverOptions 330
RecommendedJobOptions 331
RecommendedRestoreOptions 332
RepairStatus 333
ReplicaVmInfo 334
RestoreOptions 336
RestoreParameters 337
ReverseOptions 338
ScriptPoint 339
Server 340
ServerActivationInformation 342
ServerInfo 343
ServerQualificationResults 346
ServiceInformation 347
ServiceMonitoringOptions 348
SnapshotAdvancedOptions 349
SnapshotEntry 350
SnapshotMonitorOptions 351
SnapshotSchedule 352
SnapshotSize 353
SnapshotStorage 354
SnapshotStorageDetails 355
SourceQueueSnapshotEntry 356
SqlCredentials 357
SqlInstance 358
SqlMigrationClusterGroup 359
SqlMigrationOptions 360
SqlMigrationQualificationResults 362
SystemStateOptions 363
TargetFileServerQualificationResults 365
TargetServicesOptions 366
TargetServicesToStop 367
TargetStateInfo 368
TaskParameters 370
TestFailoverOptions 371
TestFailoverServerCredentials 372
TimeClass 373
UnicastIPAddressInfo 374
Contents 7
UnmanagedConnectionOptions 375
Uri 376
VerificationStatus 378
VerificationStep 379
VerifySchedule 380
VirtualNetworkInterfaceInfo 381
VirtualSwitchInfo 383
VirtualSwitchMapping 384
VmInfo 385
Volume 386
VolumeGroup 388
VolumeOptions 389
VolumeQualificationResults 392
VRAOptions 393
VRAQualificationResults 396
VRAWorkloadCustomizationOptions 397
Workload 398
WorkloadSupportSummary 400
WorkloadType 401
Chapter 4 Enumerations 403
AccessLevel 405
ActionStatus 406
ActiveDirectoryFailoverOptions 407
ActivityCompletionStatus 408
BandwidthEntryType 409
BandwidthScheduleMode 410
BandwidthSpecificationType 411
ClusterResourceState 412
DesktopInteractionMode 413
DiskConfigStrategy 414
EngineJobType 415
FailoverDataAction 417
FailoverIPAddressesOption 418
FailoverItems 419
FailoverMode 420
FailoverProcessingOptions 421
FailoverReplaceActions 422
FailoverStyle 423
FailoverTrigger 424
FailoverType.Monitor 425
FailoverType.Options 426
FileSystemAttributes 427
Health 428
HighAvailabilityState 429
HighLevelState 430
InclusionMode 433
LicenseStatus 434
LicenseType 435
MirrorComparisonCriteria 436
Contents 8
MirrorOperationOptions 437
MirrorState 438
NetworkMethods 439
OperatingSystemArchitecture 440
OperatingSystemProductType 441
PathBlockingMode 442
PingMethods 443
RecordType 444
RecursionMode 445
ReplicationSetUsageType 446
ReplicationState 447
RestoreParametersRestoreOptions 448
RestoreStates 449
RestoreStatus 450
SaturationLevel 451
ScriptExecutionMode 452
ScriptPointType 453
SmtpConnectionSecurity 454
SnapshotAttributes 455
SnapshotCreationReason 456
SnapshotQuality 457
SnapshotState 458
SourceSqlMigrationOptions 459
SqlAuthenticationMode 460
SqlServerState 461
SqlServerType 462
TargetServiceStatus 463
TargetStates 464
TransmissionMode 466
VmwareCertificatePolicy 467
Weekdays 468
Chapter 5 Scripting examples 469
Job creation scripts 470
Creating a files and folders job for Windows 471
Creating a full server job for Windows 473
Creating a full server job for Linux 475
Creating a SQL job 477
Creating a full server to ESX job for Windows 479
Creating a full server to ESX job for Linux 482
Creating a full server to Hyper-V job 486
Creating a files and folders migration job for Windows 488
Creating a full server migration job for Windows 490
Creating an SAP HANA migration job for Linux 492
Creating a SQL migration job 494
Creating a full server to ESX migration job for Windows 497
Creating a full server to Hyper-V migration job 499
Job information scripts 501
Viewing job Event messages 502
Creating a job diagnostics file 504
Contents 9
Job control scripts 505
Validating an existing job 506
Editing a files and folders job for Windows 508
Changing the compression setting for an existing job 510
Stopping and starting a job 512
Pausing and resuming a job 514
Viewing and setting job and server options 516
Other sample scripts 518
Pausing and resuming your target 519
Shutting down the Double-Take service on a server 520
Hiding your password in a PowerShell script 521
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 522
Chapter 7 Server and job settings 538
Windows server and job settings 539
Linux server and job settings 574
Contents 10
Chapter 1 Carbonite
Availability and Carbonite
Migrate PowerShell overview
Carbonite Availability and Carbonite Migrate includes Windows PowerShell cmdlets that you can use to control
most Carbonite features. This guide includes all of the Carbonite cmdlets available and several sample
scripts.However, this guide does not explain how to use Windows PowerShell. You should reference your
Windows PowerShell documentation and the many web sites devoted to PowerShell to learn how to use and
script with Windows PowerShell.
Carbonite legacy Reporting Service and Carbonite Replication Reporter do not support PowerShell. You
cannot configure or manage your Carbonite legacy Reporting Service server or your Carbonite
Replication Reporter server with any Carbonite PowerShell cmdlets.
The following terms and definitions will help you understand Carbonite basics. See the User's Guide for your
Carbonite product for complete details on how that product works.
l Source—The source is the server that has the data you want to protect or migrate. Typically this is a
machine on the production network that serves data to clients.
l Target—The target is the server that maintains the replicated copy of the data that is being protected on the
source. Typically this is a backup server that may be local or in a remote data center. For migration jobs,
this is the final destination for your data.
l Workload—A workload is a logical definition of the data that is being protected or migrated on the source.
A workload can be a simple set of paths, for example, C:\Data or /usr. It may also be a more complex
logical item that maps to multiple paths. For example, protecting a virtual machine means you are
protecting multiple, specific virtual machine files, or protecting Microsoft SQL means you are protecting a
SQL database and its related files.
l Workload manager—The workload manager is a web service that creates and configures the Carbonite
workload.
l Job—A job is a logical unit that includes the source, target, and the workload. The job is what you create
and monitor in order to protect or migrate your data.
l Job manager—The job manager is a web service that creates, monitors, and controls the Carbonite job.
l Connection—The engine connection is the underlying stream that sends the actual replicated data
between the source and target servers. Jobs are higher-level objects that use the lower-level connection to
protect data.
l Architecture—Each Carbonite installation has two services, the Management Service and Engine.
l Management Service—This service is displayed as Double-Take Management Service in the
Windows services list and jsvc on Linux. The service hosts the job manager and provides
monitoring and control for all job types. For WCF clients, the service listens on port 6325. For non-
WCF clients, the service listens on port 6326. This service offers a SOAP-based XML web services
interface.
l Engine—This service is displayed as Double-Take in the Windows service list and DT on Linux.
The service transmits the replicated data between the source and target servers. By default this
service listens on port 6320. You do not interact directly with this service.
l Roles—Any Carbonite installation can be a source, target, or both. The existence of a job between two
servers and which direction data is being transmitted determines the server’s role.
l Security protocol—If you are using Linux, you must have Tls12 enabled in PowerShell in order to
communicate with your Linux servers. This is enabled by default on PowerShell version 5.0 and later. If you
are using PowerShell version 4.x or earlier or if you have disabled Tls12 in PowerShell version 5.x or later,
you will have to enable Tls12 each time you want to use PowerShell with your Linux servers.
To view your current enabled security protocols, enter the following command.
[Net.ServicePointManager]::SecurityProtocol
If you need to enable Tls12, use the following command, which will change the currently enabled security
protocols to only Tls12.
[Net.ServicePointManager]::SecurityProtocol = "Tls12"
You can enable multiple security protocols by providing a comma-separated list. For example, if you want
to enable Tls11 and Tls12, you would use the following command.
[Net.ServicePointManager]::SecurityProtocol = "Tls11, Ttls12"
Chapter 2 Cmdlets 14
l Get-DtRepairJobOptionsStatus on page 73
l Get-DtScriptCredentials on page 75
l Get-DtServerInfo on page 76
l Get-DtSnapshot on page 77
l Get-DtSourceQueueSnapshot on page 79
l Get-DtSourceQueueSnapshots on page 81
l Get-DtUvraRecommendedFailoverOptions on page 83
l Get-DtUvraRecommendedRemoveOptions on page 85
l Get-DtVerificationStatus on page 87
l Get-DtWorkload on page 88
l Get-DtWorkloadPhysicalItem on page 89
l Get-DtWorkloadType on page 90
l Install-DoubleTake on page 91
l Install-DtVmwareCertificate on page 95
l Invoke-DtAddShares on page 96
l Invoke-DtQueueTask on page 98
l Invoke-DtRemoveShares on page 101
l Merge-DtConsoleServerData on page 103
l New-DtFilesAndFoldersJob on page 104
l New-DtJob on page 106
l New-DtServer on page 109
l New-DtTaskParameters on page 111
l New-DtUri on page 112
l New-DtUvraServer on page 114
l New-DtWorkload on page 117
l Remove-DtEndpointMapping on page 119
l Remove-DtJob on page 120
l Remove-DtPhysicalRule on page 122
l Remove-DtSnapshot on page 124
l Remove-DtSourceQueueSnapshot on page 126
l Repair-DtJobOptions on page 128
l Request-DtOnlineActivation on page 131
l Request-DtOnlineDeactivation on page 133
l Restart-DtReplicationService on page 134
l Resume-DtJob on page 135
l Resume-DtMirror on page 137
l Resume-DtTarget on page 139
l Save-DtConsoleServerData on page 141
l Save-DtJobDiagnostics on page 142
l Set-DefaultSqlCredentials on page 144
l Set-DtActivationCode on page 146
Chapter 2 Cmdlets 15
l Set-DtBandwidthLimit on page 148
l Set-DtEmailNotificationOptions on page 150
l Set-DtJobCredentials on page 151
l Set-DtLogicalItemSelection on page 153
l Set-DtOption on page 155
l Set-DtPathBlocking on page 157
l Set-DtScriptCredentials on page 158
l Set-DtServerCredential on page 160
l Set-DtVmwareCertificatePolicy on page 161
l Start-DtJob on page 163
l Start-DtJobFailback on page 165
l Start-DtJobFailover on page 167
l Start-DtJobRestore on page 169
l Start-DtJobReverse on page 171
l Start-DtMirror on page 173
l Start-DtOrphansProcessing on page 175
l Start-DtReplication on page 177
l Start-DtVerify on page 179
l Stop-DtJob on page 181
l Stop-DtMirror on page 183
l Stop-DtReplication on page 185
l Stop-DtReplicationService on page 187
l Suspend-DtJob on page 188
l Suspend-DtMirror on page 190
l Suspend-DtTarget on page 192
l Test-DtActiveDirectoryCredentials on page 194
l Test-DtEmailNotification on page 196
l Test-DtScript on page 198
l Test-DtScriptCredentials on page 200
l Test-DtVmwareCertificatePolicy on page 202
l Undo-DtJobFailover on page 204
l Uninstall-DoubleTake on page 206
l Update-DtJobStatus on page 207
l Update-DtShares on page 209
l Wait-DtConfirmJobOptions on page 211
l Wait-DtMirrorComplete on page 213
Chapter 2 Cmdlets 16
Add-DtEndpointMapping
Adds a mapping for source communication
Syntax
Add-DtEndpointMapping [-ServiceHost] <Server> [-OriginalUrl] <URI> [-MappedUrl] <URI>
[<CommonParameters>]
Detailed Description
This cmdlet adds a mapping for the URL the target needs to use to communicate with the source to the URL the
source is using to create a job. You can add additional mappings for additional source URLs.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your target
server.
OriginalUrl URI Specify the URI the source is using to create a job. true false
MappedUrl URI Specify the URI the target needs to use to communicate true false
with the source.
Outputs
None
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
Add-DtEndpointMapping -ServiceHost $DtServerObjectBeta -OriginalUrl "http://alpha:6325" -MappedUrl
"http://172.10.10.56:9000"
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. A mapping is created from 172.10.10.56 port 9000 to
the source server Alpha and port 6325. The target server Beta will use the mapped URL to communicate with the
source and the source will use the original URL to create the job. The connections for the server object are then
closed.
Chapter 2 Cmdlets 17
Add-DtPhysicalRule
Adds a physical rule to a workload
Syntax
Add-DtPhysicalRule [-ServiceHost] <Server> [-WorkloadId] <Guid> -Path <String> [-Exclude] [-NonRecursive]
[<CommonParameters>]
Detailed Description
This cmdlet adds a physical rule to the specified workload on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page
109. For this cmdlet, the -ServiceHost should be
your source server.
WorkloadId Guid on page Specify the workload GUID returned from the true false
285 New-DtWorkload cmdlet using the workload
type name parameter. See New-DtWorkload on
page 117.
Exclude Switch Exclude the specified path from mirroring and false false
Parameter replication. If you do not specify this option, the
path will be included for mirroring and replication.
NonRecursive Switch Do not apply the rule to the subdirectories of the false false
Parameter specified path. If you do not specify this option,
the subdirectories of the specified path will be
included/excluded.
Path String Specify the path on the source that contains the true false
data that you want to protect
Outputs
ChangedItems on page 235
Chapter 2 Cmdlets 18
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadTypeName
FilesAndFolders
$DtPhysicalPath = New-Object DoubleTake.Common.Contract.PhysicalRule -Property @
{Path="C:\DirName"}
Add-DtPhysicalRule -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGuid -Rule
$DtPhysicalPath
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The script then creates a workload on the server for
a files and folders job, returning a global unique ID for the workload, and assigns that ID to the variable
DtWorkloadGuid. A new object is created from Double-Take.Common.Contract.PhysicalRule to store the
physical path C:\DirName in the variable DtPhysicalPath. Finally, the physical rule is added to the workload on
the server. The connections for the server object are then closed.
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The script then creates a workload on the server for
a files and folders job, returning a global unique ID for the workload, and assigns that ID to the variable
DtWorkloadGuid. A physical rule is then created for the path C:\DirName. The connections for the server object
are then closed.
Chapter 2 Cmdlets 19
Add-DtUvraPhysicalRule
Adds a physical rule to a workload
Syntax
Add-DtUvraPhysicalRule [-ServiceHost] <Server> [-Workload] <Workload> -Path <String> [-Recurse] [-Exclude]
[<CommonParameters>]
Detailed Description
This cmdlet adds a physical rule to the specified full server to ESX appliance workload on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtUvraServer cmdlet. See New-DtUvraServer on
page 114. For this cmdlet, the -ServiceHost should
be your source server.
Workload Workload on Specify the workload object returned from the Get- true false
page 398 DtWorkload cmdlet. See Get-DtWorkload on page
88.
Path String Specify the path on the source that contains the data true false
that you want to protect
Recurse Switch Apply the rule to the subdirectories of the specified false false
Parameter path. If you do not specify this option, the
subdirectories of the specified path will not be
included/excluded.
Exclude Switch Exclude the specified path from mirroring and false false
Parameter replication. If you do not specify this option, the path
will be included for mirroring and replication.
Rule PhysicalRule Use the Windows PowerShell New-Object cmdlet to true false
on page 321 create a physical rule object from
DoubleTake.Common.Contract.PhysicalRule.
Outputs
Workload on page 398
Chapter 2 Cmdlets 20
Examples
$DtServerObjectAlpha= New-DtUvraServer -Name alpha -UserName domain\administrator -Password
password -Port 6325
$DtApplianceObject = New-DtUvraServer -Name beta -UserName root -Password password -Port 6325
$DtApplianceHost = New-DtUvraServer -Name gamma -UserName root -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadTypeName Lvra
$DtWorkload = Get-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGuid
$DtRecommendedJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtApplianceObject -Source
$DtServerObjectAlpha -JobType Lvra -Workload $DtWorkload
Add-DtUvraPhysicalRule -ServiceHost $DtApplianceObject -Workload
$DtRecommendedJobOptions.JobOptions.Workload -Path "/home"
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtApplianceObject
Disconnect-DtServer -ServiceHost $DtApplianceHost
Three server objects are created for the source, the appliance, and the ESX server hosting the appliance,
assigning the server objects to the DtServerObjectAlpha, DtApplianceObject, and DtApplianceHost variables,
respectively. Then proxy and host information is retrieved for those server objects, storing the information in
DtProxyInfo and DtVmHostInfo, respectively. That information is then used to retrieve the recommended job
options. A rule for the path C:\Documents and Settings is added to the recommended job options. The
connections for the server object are then closed.
Chapter 2 Cmdlets 21
Checkpoint-DtConnection
Creates a snapshot
Syntax
Checkpoint-DtConnection [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet creates a snapshot of the source replica data on the target. The snapshot of the source replica data is
taken immediately on the target when the snapshot is requested.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Checkpoint-DtConnection -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha
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
Chapter 2 Cmdlets 22
DtServerObjectAlpha is retrieved. That information is then stored in the variable DtJobForAlpha. Then a snapshot
of the replica data on the target is taken. The connections for the server object are then closed.
Chapter 2 Cmdlets 23
Checkpoint-DtConnectionSourceQueue
Creates a coordinated snapshot
Syntax
Checkpoint-DtConnectionSourceQueue [-ServiceHost] <Server> [-CorrelationId] <Guid> [-JobIds]
<IEnumerable> [<CommonParameters>]
Detailed Description
This cmdlet creates a coordinated snapshot of the source replica data on the target. This type of snapshot is not
taken immediately. It is queued on the source at the time the snapshot is requested. The snapshot request
operation will be transmitted in order with any other pending operations. When the snapshot operation is
processed on the target, the snapshot will then be taken. This feature allows you to take a snapshot at the source
time, rather than the target time. In the case of multiple servers, you can coordinate the snapshot time on the
multiple source servers, rather than the varying times of the replica data on the target.
Keep in mind, since coordinated snapshots will not be taken until all of the operations ahead of the snapshot
request in the source queue have been processed on the target, coordinated snapshots may be in a pending state
for a while. Also the source must be accessible in order for the coordinated snapshot to be taken.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobIds IEnumerable Specify an array of job GUIDs. A job GUID is true false
returned from the New-DtJob cmdlet or the Id
within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and
Get-DtJob on page 48.
Outputs
None
Chapter 2 Cmdlets 24
Examples
$CorId=New-Guid
$Source1Uri = "dtms://112.42.7.63:6325/"
$Source2Uri = "dtms://112.42.7.71:6325/"
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJob1 = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object { $_.SourceHostUri -eq $Source1Uri}
$DtJob2 = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object { $_.SourceHostUri -eq $Source2Uri}
$DtJobsArray = New-Object "System.Collections.Generic.List[Guid]"
$DtJobsArray.Clear()
$DtJobsArray.Add($DtJob1.Id)
$DtJobsArray.Add($DtJob2.Id)
Checkpoint-DtConnectionSourceQueue -ServiceHost $DtServerObjectBeta -CorrelationId $CorId -JobIds
$DtJobsArray.ToArray()
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
Several variables are set including a unique correlation ID for the snapshots that will be taken as well as URI
identifiers for the source servers of existing jobs. 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 jobs are retrieved from DtServerObjectBeta, and the job information is inserted into
unique variables. An array of job IDs is then created. A coordinated snapshot is taken using the specified
correlation ID and the jobs stored in the array. Only those jobs will have coordinated snapshots. The connections
for the server object are then closed.
Chapter 2 Cmdlets 25
Close-DtWorkload
Closes the workload
Syntax
Close-DtWorkload [-ServiceHost] <Server> [-WorkloadId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet closes the workload creation process on the specified server and removes all resources associated
with the workload creation process.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your source
server.
WorkloadId Guid on Specify the workload GUID returned from the New- true false
page 285 DtWorkload cmdlet using the workload type name
parameter. See New-DtWorkload on page 117.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadTypeName
FilesAndFolders
Close-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGuid
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The script then creates a workload on the server for
a files and folders job, returning a global unique ID for the workload, and assigns that ID to the variable
DtWorkloadGuid. The workload is then closed on the server. The connections for the server object are then
closed.
Chapter 2 Cmdlets 26
Confirm-DtJobOptions
Starts job validation
Syntax
Confirm-DtJobOptions [-ServiceHost] <Server> [-JobId] <Guid> [-JobOptions] <JobOptions>
[<CommonParameters>]
Detailed Description
This cmdlet starts the job validation process, confirming the job options returned from the Get-
DtRecommendedJobOptions cmdlet are compatible with the source and target servers you are using. View the
details of the validation by using Get-DtVerificationStatus. See Get-DtRecommendedJobOptions on page 67 and
Get-DtVerificationStatus on page 87. Do not confuse this process with the verification process that confirms if the
data between the source and target are synchronized.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New-DtJob true false
285 cmdlet or the Id within the job information returned
from the Get-DtJob cmdlet. See New-DtJob on page
106 and Get-DtJob on page 48.
JobOptions JobOptions Specify the JobOptions returned from the Get- true false
on page 291 DtRecommendedJobOptions cmdlet. See Get-
DtRecommendedJobOptions on page 67.
Source Server on Specify the server object returned from the New- true false
page 340 DtServer cmdlet. See New-DtServer on page 109.
JobType String This value is the job type name. true false
l Availability for Windows jobs
l FilesAndFolders—Files and folders
l ClusterAwareFilesAndFolders—
Cluster-aware files and folders
Chapter 2 Cmdlets 27
Pipeline
Name Type Description Required
Input
l SQL—SQL
l ClusterAwareSql—Cluster-aware
SQL
l FullServerFailover—Full server
l VRA—Full server to ESX or full server
to Hyper-V
l Availability for Linux jobs
l LinuxFilesAndFolders—Files and
folders
l LinuxFullServerFailover—Full
server
l Lvra—Full server to ESX
l Migrate for Windows jobs
l MoveDataOnlyMigration—Files and
folders migration
l SqlMigration—SQL migration
l ClusterAwareSqlMigration—
Cluster-aware SQL migration
l MoveServerMigration—Full server
migration
l VraMove—Full server to
ESX migration or full server to Hyper-V
migration
l Migrate for Linux jobs
l LinuxMoveDataOnlyMigration—
Files and folders migration
l LinuxMoveServerMigration—Full
server migration
l LinuxSapHanaMigration—SAP
HANA migration
l MoveLvra—Full server to ESX
migration
l Other jobs
l Diagnostics—Throughput Diagnostic
Utility
Other Server on Specify the server object returned from the New- false false
Servers page 340 DtServer cmdlet. See New-DtServer on page 109.
Specify multiple server objects in an array using the
format @($server1, $server2).
Chapter 2 Cmdlets 28
Pipeline
Name Type Description Required
Input
DoubleTake.Jobs.Contract.CreateOptions. Use the
Windows PowerShell New-Object cmdlet to create
this object.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
$DtValidation = Confirm-DtJobOptions -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id -
JobOptions $DtJob.Options
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. The job options
used by the job are confirmed, and the validation result is stored in DtValidation. The connections for the server
object are then closed.
Chapter 2 Cmdlets 29
Disconnect-DtServer
Closes WCF connections
Syntax
Disconnect-DtServer [-ServiceHost] <Server> [<CommonParameters>]
Detailed description
This cmdlet closes all WCF (Windows Communication Foundation) connections that have been opened during
use of the server object.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The connections for the server object are then
closed.
Chapter 2 Cmdlets 30
Edit-DtJob
Edits a job
Syntax
Edit-DtJob [-ServiceHost] <Server> [-JobId] <Guid> [-JobOptions] <JobOptions> [<CommonParameters>]
Detailed Description
This cmdlet allows you to edit an existing job that is stopped or running, using a JobOptions object that has been
modified with your edited job settings.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New-DtJob true false
285 cmdlet or the Id within the job information returned
from the Get-DtJob cmdlet. See New-DtJob on page
106 and Get-DtJob on page 48.
JobOptions JobOptions Specify the JobOptions returned from the Get- true false
on page 291 DtRecommendedJobOptions cmdlet. See Get-
DtRecommendedJobOptions on page 67.
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. See Get-DtJob on page 48. The job
information can be piped from the Get-DtJob cmdlet
and used in this cmdlet.Specify multiple job
information objects in an array using the format @
($JobInfo1, $JobInfo2).
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Chapter 2 Cmdlets 31
$DtJobForAlpha.Options.CoreMonitorOptions.TotalTimeAllowed="00:10:00"
Edit-DtJob -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id -JobOptions
$DtJobForAlpha.Options
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. A job option is
changed. In this case, the total time before failover is triggered is set to 10 minutes. Finally, the job options are
used to edit the specified job. The connections for the server object are then closed.
Chapter 2 Cmdlets 32
Get-DefaultSqlCredentials
Returns SQL Server authentication credentials
Syntax
Get-DefaultSqlCredentials [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet returns the credentials that Carbonite is currently using for SQL Server authentication. You need to
have used Set-DefaultSqlCredentials on page 144 or have an existing SQL job in order for credentials to be
returned.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Outputs
PSCredential on page 328
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DefaultSqlCredentials -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the credentials that Carbonite is currently using
for SQL Server authentication are returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 33
Get-DtAccessLevel
Returns the security access level
Syntax
Get-DtAccessLevel [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet returns the Carbonite security access level for the credentials stored in the specified server object.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Outputs
AccessLevel on page 405
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtAccessLevel -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the Carbonite security access level for that
server is returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 34
Get-DtActivationStatus
Returns license key validation information
Syntax
Get-DtActivationStatus [-ServiceHost] <Server> [[-Code] <String[]>] [[-AdditionalCode] <String[]>]
[<CommonParameters>]
Detailed Description
This cmdlet returns the Carbonite license key validation information for the specified server. If you do not provide
the code parameter, the license key currently in use will be returned. Specifying the key will return what the
activation status would be if the key was applied using Set-DtActivationCode on page 146.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost could be your source or
target server.
Code String Specify the 24-character, alpha-numeric license key false false
which applies the appropriate Carbonite license to your
Carbonite server. Specify multiple keys in an array
using the format @(code1, code2).
Additional String Specify any additional keys. Specify multiple keys in an false false
Code array using the format @(code1, code2).
Outputs
ActivationStatus on page 223
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtActivationStatus -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the validation information for the Carbonite
license key assigned to the server is returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 35
Get-DtAllFailoverReports
Returns all failover reports
Syntax
Get-DtAllFailoverReports [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet returns all of the failover reports for the specified job, sorted from newest to oldest. The report will be
located on a Windows target in the \Service\Reports directory where Carbonite is installed and on a Linux target in
/opt/dbtk/var/lib/failoverreports.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
Outputs
FailoverReport on page 275
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobInfo = Get-DtJob -ServiceHost $DtServerObjectBeta
Get-DtAllFailoverReports -ServiceHost $DtServerObjectBeta -JobId $DtJobInfo.Id
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. All job information for all of the jobs on the server beta
are stored in the variable DtJobInfo. This type of usage is common when the jobs were created in the past or if you
did not store or do not know a job's ID. All failover reports for the job $DtJobInfo.Id are returned. The connections
for the server object are then closed.
Chapter 2 Cmdlets 36
Get-DtBandwidthLimit
Returns bandwidth limiting configuration
Syntax
Get-DtBandwidthLimit [-ServiceHost] <Server> [-JobId] <Guid> [-ConnectionId <Guid>]
[<CommonParameters>]
Detailed Description
This cmdlet returns the bandwidth limiting configuration for the specified job .
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Connection ConnectionId Specify the connection ID returned from the Get- false false
Id on page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
BandwidthLimit on page 230
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Chapter 2 Cmdlets 37
Get-DtBandwidthLimit -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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. The bandwidth
limiting configuration is then returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 38
Get-DtConnectionIds
Returns connection ID
Syntax
Get-DtConnectionIds [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet returns the connection ID associated with the specified job .
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
Outputs
ConnectionId on page 242
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
$DtConIdForAlpha = Get-DtConnectionIds -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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. The connection
ID for the job is then stored in DtConIdForAlpha. The connections for the server object are then closed.
Chapter 2 Cmdlets 39
Get-DtDiagnostics
Collects support diagnostics
Syntax
Get-DtDiagnostics [-ServiceHost] <Server> [-OutputDirectory] <String> [<CommonParameters>]
Detailed Description
This cmdlet collects configuration data for use when reporting problems to technical support. Because the
diagnostics are gathering several pieces of information, potentially across the network to the machine where you
are running the cmdlet, it may take several minutes to complete the information gathering and sending the
resulting zip file to the cmdlet machine.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Output String Specify the full path on the machine where you are true false
Directory running the Get-DtDiagnostics cmdlet, to store the
resulting zip file containing the diagnostics information.
The specified path must already exist.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtDiagnostics -ServiceHost $DtServerObjectAlpha "C:\Diagnostics"
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then diagnostics are collected for the server and
stored in C:\Diagnostics. The connections for the server object are then closed.
Chapter 2 Cmdlets 40
Get-DtDnsOptions
Returns DNS options
Syntax
Get-DtDnsOptions [-ServiceHost] <Server> [-Source] <Server> [-JobType] <String> [-Workload] <Workload> [-
DnsCredentials] <PSCredential> [<CommonParameters>]
Detailed Description
This cmdlet returns DNS options available between the specified source and target servers.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page
109. For this cmdlet, the -ServiceHost should be
your target server.
Source Server on page Specify the server object returned from the New- true false
340 DtServer cmdlet. See New-DtServer on page
109.
JobType String This value is the job type name. true false
l Availability for Windows jobs
l FilesAndFolders—Files and
folders
l ClusterAwareFilesAndFolders
—Cluster-aware files and folders
l SQL—SQL
l ClusterAwareSql—Cluster-aware
SQL
l FullServerFailover—Full server
l VRA—Full server to ESX or full
server to Hyper-V
l Availability for Linux jobs
l LinuxFilesAndFolders—Files
and folders
l LinuxFullServerFailover—Full
server
l Lvra—Full server to ESX
l Migrate for Windows jobs
l MoveDataOnlyMigration—Files
and folders migration
Chapter 2 Cmdlets 41
Pipeline
Name Type Description Required
Input
l SqlMigration—SQL migration
l ClusterAwareSqlMigration—
Cluster-aware SQL migration
l MoveServerMigration—Full
server migration
l VraMove—Full server to
ESX migration or full server to
Hyper-V migration
l Migrate for Linux jobs
l LinuxMoveDataOnlyMigration—
Files and folders migration
l LinuxMoveServerMigration—
Full server migration
l LinuxSapHanaMigration—SAP
HANA migration
l MoveLvra—Full server to ESX
migration
l Other jobs
l Diagnostics—Throughput
Diagnostic Utility
Workload Workload on Specify the workload object returned from the true false
page 398 Get-DtWorkload cmdlet. See Get-DtWorkload
on page 88.
DnsCredentials PSCredential Specify the credential object returned from the true false
on page 328 Windows PowerShell Get-Credential cmdlet.
This password will not be visible because
Windows stores an encrypted password. See
Hiding your password in a PowerShell script on
page 521 for basic details on using this cmdlet.
See your Windows PowerShell documentation
for detailed instructions.
Outputs
DnsOptions on page 263
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha-WorkloadTypeName
FullServerFailover
$DtWorkload = Get-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGuid
Chapter 2 Cmdlets 42
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtCredentialEncrypted = Get-Credential
Get-DtDnsOptions -ServiceHost $DtServerObjectBeta -Source $DtServerObjectAlpha -JobType
FullServerFailover -Workload $DtWorkload -DnsCredentials $DtCredentialEncrypted
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The script then creates a workload on the server for
a full sever job, returning a global unique ID for the workload, and assigns that ID to the variable DtWorkloadGuid.
The workload definition for the workload type and the server is then stored in the DtWorkload variable. 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. Credentials are stored in a variable called $DtCredential.
The script will prompt you to supply the username and password and the credentials will be encrypted. The DNS
options for the two servers are then retrieved. The connections for the server object are then closed.
Chapter 2 Cmdlets 43
Get-DtEmailNotificationOptions
Returns e-mail notification settings
Syntax
Get-DtEmailNotificationOptions [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet returns the current e-mail notification settings for the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Outputs
EmailNotificationOptions on page 266
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtEmailNotificationOptions -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the current e-mail notification settings for that
server are returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 44
Get-DtEndpointMapping
Returns the source communication mapping
Syntax
Get-DtEndpointMapping [-ServiceHost] <Server> [-OriginalUrl] <URI> [<CommonParameters>]
Detailed Description
This cmdlet returns the URL the target is using to communicate with the source for the specified URL.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your target
server.
OriginalUrl URI Specify the URI the source is using to create a job. true false
Outputs
Uri on page 376
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
Get-DtEndpointMapping -ServiceHost $DtServerObjectBeta -OriginalUrl "http://alpha:6325"
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 mapping the target server Beta is using to
communicate with the source server Alpha and port 6325 is returned. The connections for the server object are
then closed.
Chapter 2 Cmdlets 45
Get-DtEndpointMappingCount
Returns the number of source communication mappings for the specified target server
Syntax
Get-DtEndpointMappingCount [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet returns the number of mappings the target has for source communications.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
Outputs
Int32
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
Get-DtEndpointMappingCount -ServiceHost $DtServerObjectBeta
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 number of mappings on the target server Beta is
using to communicate with all source servers is returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 46
Get-DtEventLogEntry
Returns a list of event log entries.
Syntax
Get-DtEventLogEntry [-ServiceHost] <Server> [-LastIndex <Int32>] [-ChunkSize <Int32>]
[<CommonParameters>]
Detailed Description
This cmdlet returns a list of Carbonite event log entries for the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost could be your source or
target server.
LastIndex Int32 Specify an index entry. The next index entry after the false false
number you specify will be the starting point for the log
entries returned. For example, if you specify 144 then
the first log entry retrieved will be index 145.
ChunkSize Int32 Specify the number of entries that will be returned at one false false
time. The default number of entries is 1024.
Outputs
EventLogEntry on page 270
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtEventLogEntry -ServiceHost $DtServerObjectAlpha -ChunkSize 25
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the Carbonite event entries are displayed, in
groups of 25. The connections for the server object are then closed.
Chapter 2 Cmdlets 47
Get-DtJob
Returns job information and status for the specified job on the specified server
Syntax
Get-DtJob [-ServiceHost] <Server> [[-JobId] <Guid>] [<CommonParameters>]
Detailed Description
Returns job information and status for the specified job on the specified server. To change the options of an
existing job, use Edit-DtJob on page 31.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob false false
page 285 cmdlet. See New-DtJob on page 106. Specify multiple
GUID objects in an array using the format @($JobGuid1,
$JobGuid2).
Outputs
JobInfo [ ] on page 288
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadTypeName
FilesAndFolders
$DtWorkload = Get-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGuid
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtServerObjectBeta -Source
$DtServerObjectAlpha -JobType FilesAndFolders -Workload $DtWorkload
$DtFnFJobGuid = New-DtJob -ServiceHost $DtServerObjectBeta -Source $DtServerObjectAlpha -JobType
FilesAndFolders -JobOptions $DtJobOptions.JobOptions
$DtJobInfo = Get-DtJob -ServiceHost $DtServerObjectBeta -JobId $DtFnFJobGuid
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
Chapter 2 Cmdlets 48
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. 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 script then creates a workload on the server for a files and folders job, returning a global
unique ID for the workload, and assigns that ID to the variable DtWorkloadGuid. The workload definition for the
workload type and the server is then stored in the DtWorkload variable. The recommended job options for the
servers and the workload type are then stored in the variable DtJobOptions. A new files and folders job is created
using the servers and the job options. The job ID is stored in the variable DtFnFJobGuid. Finally, the job
information for the job is stored in the variable DtJobInfo. The connections for the server object are then closed.
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. All job information for all of the jobs on the server beta
are stored in the variable DtJobInfo. This type of usage is common when the jobs were created in the past or if you
did not store or do not know a job's ID. The connections for the server object are then closed.
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. This usage is
common for servers that have more than one job, but you only want job information for one specific job. The
connections for the server object are then closed.
Chapter 2 Cmdlets 49
Get-DtJobActionStatus
Returns the status of a job action
Syntax
Get-DtJobActionStatus [-ServiceHost] <Server> [[-JobId] <Guid>] [<CommonParameters>]
Detailed Description
This cmdlet returns the status of a job action that has been queued for job. The first syntax returns the status of all
of the actions queued for the specified job. The second syntax returns the status for the job action object
specified.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New-DtJob false false
285 cmdlet or the Id within the job information returned
from the Get-DtJob cmdlet. See New-DtJob on page
106 and Get-DtJob on page 48.
Outputs
ActivityStatusEntry on page 224
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Get-DtJobActionStatus -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
Disconnect-DtServer -ServiceHost $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. A server object is created for the server beta using the domain\administrator and
Chapter 2 Cmdlets 50
password credentials. It assigns the server object to the variable called DtServerObjectBeta. Finally, the status of
the job action is returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 51
Get-DtLatestFailoverReport
Returns the latest failover report
Syntax
Get-DtLatestFailoverReport [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet returns the latest failover report for the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
Outputs
FailoverReport on page 275
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobInfo = Get-DtJob -ServiceHost $DtServerObjectBeta
Get-DtLatestFailoverReport -ServiceHost $DtServerObjectBeta -JobId $DtJobInfo.Id
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. All job information for all of the jobs on the server beta
are stored in the variable DtJobInfo. This type of usage is common when the jobs were created in the past or if you
did not store or do not know a job's ID. The latest failover report for the job $DtJobInfo.Id is returned. The
connections for the server object are then closed.
Chapter 2 Cmdlets 52
Get-DtLogicalItem
Returns workload logical items
Syntax
Get-DtLogicalItem [-ServiceHost] <Server> [-WorkloadId] <Guid> [-RefItem <LogicalItem>]
[<CommonParameters>]
Detailed Description
This cmdlet returns the logical items associated with the specified workload.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
source server.
WorkloadId Guid on page Specify the workload GUID returned from the New- true false
285 DtWorkload cmdlet using the workload type name
parameter. See New-DtWorkload on page 117.
RefItem LogicalItems Specify an object returned from a previous Get- false false
on page 299 DtLogicalItem call.
Outputs
LogicalItems [ ] on page 299
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha-WorkloadTypeName
FullServerFailover
$DtLogicalItem = Get-DtLogicalItem -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGUID
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The script then creates a workload on the server for
a full sever job, returning a global unique ID for the workload, and assigns that ID to the variable DtWorkloadGuid.
The logical items associated with the workload type and the server are then stored in the variable DtLogicalItem.
The connections for the server object are then closed.
Chapter 2 Cmdlets 53
Get-DtLogMessage
Returns log messages
Syntax
Get-DtLogMessage [-ServiceHost] <Server> [-Source <String>] [-LastSequenceNumber <Int32>] [-
LastTimeStamp <DateTimeOffset>] [-ChunkSize <Int32>] [<CommonParameters>]
Detailed Description
This cmdlet returns messages from the Double-Take service log file and the Double-Take Management Service
log file.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost could be your source or
target server.
Source String Specify source of the log message. If no source is false false
specified, both Double-Take Management Service
messages and Double-Take service messages will be
returned. To have only Double-Take Management
Service messages displayed, specify MS for the string
value. To have only Double-Take service messages
displayed, specify EN for the string value.
Last Int32 Specify a sequence number to be the starting point to false false
Sequenece retrieve the log messages.
Number
LastTime DateTime Specify a date and time stamp to be the starting point false false
Stamp Offset to retrieve the log messages. Specify the date in
mm/dd/yyyy format. Specify the time in hh:mm:ss
format with AM or PM. You can specify a time zone
offset, for example, -04:00. If you do not specify a time
zone offset, the time zone of the machine you are
running from will be used. If you do not specify a time,
12:00:00 AM will be used.
ChunkSize Int32 Specify the number of entries that will be returned at false false
one time. The default number of entries is 1024.
Outputs
LogMessage [ ] on page 303
Chapter 2 Cmdlets 54
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtLogMessage -ServiceHost $DtServerObjectAlpha -source MS -LastTimeStamp "01/15/2020 05:19:00
PM" -ChunkSize 25
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the Double-Take Management Service log
messages after 5:19pm on January 15, 2020 are displayed in groups of 25. The connections for the server object
are then closed.
Chapter 2 Cmdlets 55
Get-DtOnlineActivationRequest
Returns the server information that is required to activate a license
Syntax
Get-DtOnlineActivationRequest [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet returns server information, unique to a specific, single server, that is required to activate a Carbonite
license. The server must already have a license key on the server in order to get the server information.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Outputs
ServerActivationInformation on page 342
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtOnlineActivationRequest -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The server information for the online activation
process is returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 56
Get-DtOption
Returns job or server value
Syntax
Get-DtOption [-ServiceHost] <Server> [[-Name] <String[]>] [<CommonParameters>]
Detailed Description
This cmdlet returns the value of the specific job or server option from the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Name String Specify the name of the job or server option. Specify false false
multiple strings in an array using the format @(string1,
string2). See Server and job settings on page 538 details
on job and server options.
Outputs
Hashtable
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtOption -ServiceHost $DtServerObjectAlpha -Name MirrorChunkSize
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the value of the server option called
MirrorChunkSize is returned from the server. The connections for the server object are then closed.
Chapter 2 Cmdlets 57
Get-DtPathBlocking
Returns the blocked paths
Syntax
Get-DtPathBlocking [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet returns the paths that are blocked on the specified target server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
Outputs
PathBlocking on page 317
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtPathBlocking -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the paths that are blocked on the server are
returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 58
Get-DtPhysicalItem
Returns files system information
Syntax
This cmdlet returns file system information for the specified server. A physical item can be used to specify a
specific file, folder, or volume to return file system information for.
Detailed Description
Get-DtPhysicalItem [-ServiceHost] <Server> [-Ref <PhysicalItem>] [<CommonParameters>]
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost could be your
source or target server.
Ref PhysicalItem Specify an object returned from a previous Get- false false
on page 319 DtPhysicalItem call.
Outputs
PhysicalItem [ ] on page 319
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtVolumes = Get-DtPhysicalItem -ServiceHost $DtServerObjectAlpha
$DtVolume1Root = Get-DtPhysicalItem -ServiceHost $DtServerObjectAlpha -Ref $DtVolumes[0]
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the volumes on the server are stored in the
variable DtVolumes. Finally, the files and folders at the root of the first volume in DtVolumes is stored in the
variable DtVolume1Root. The connections for the server object are then closed.
Chapter 2 Cmdlets 59
Get-DtProductInfo
Returns Carbonite product information
Syntax
Get-DtProductInfo [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet returns Carbonite product information for the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Outputs
ProductInfo on page 325
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtProductInfo -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the Carbonite product information for the server
is returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 60
Get-DtQualificationResults
Returns the qualification results
Syntax
Get-DtQualificationResults [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet returns the qualification results for the specified job type. You may want to use these results for job
options when editing a job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true false
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
JobQualificationResults on page 294
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Get-DtQualificationResults -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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
Chapter 2 Cmdlets 61
DtServerObjectAlpha is retrieved. That information is then stored in the variable DtJobForAlpha. The qualification
results for the job are then returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 62
Get-DtRecommendedFailbackOptions
Returns the recommended failback options
Syntax
Get-DtRecommendedFailbackOptions [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet returns the recommended failback options for the specified job on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true false
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
RecommendedFailbackOptions on page 329
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Get-DtRecommendedFailbackOptions -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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. Then the
Chapter 2 Cmdlets 63
recommended failback options for the specified job and server are returned. The connections for the server object
are then closed.
Chapter 2 Cmdlets 64
Get-DtRecommendedFailoverOptions
Returns the recommended failover options
Syntax
Get-DtRecommendedFailoverOptions [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet returns the recommended failover options for the specified job on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet false false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob false false
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
RecommendedFailoverOptions on page 330
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Get-DtRecommendedFailoverOptions -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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. Then the
Chapter 2 Cmdlets 65
recommended failover options for the specified job and server are returned. The connections for the server object
are then closed.
Chapter 2 Cmdlets 66
Get-DtRecommendedJobOptions
Returns recommended job options
Syntax
Get-DtRecommendedJobOptions [-ServiceHost] <Server> [-Source] <Server> [-JobType] <String> [-Workload]
<Workload> [-OtherServers <Server[]>] [<CommonParameters>]
Detailed Description
This cmdlet returns the recommended job options for the specified job type.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your target
server.
Source Server on Specify the server object returned from the New- true false
page 340 DtServer cmdlet. See New-DtServer on page 109.
JobType String This value is the job type name. true false
l Availability for Windows jobs
l FilesAndFolders—Files and folders
l ClusterAwareFilesAndFolders—
Cluster-aware files and folders
l SQL—SQL
l ClusterAwareSql—Cluster-aware SQL
l FullServerFailover—Full server
l VRA—Full server to ESX or full server to
Hyper-V
l Availability for Linux jobs
l LinuxFilesAndFolders—Files and
folders
l LinuxFullServerFailover—Full server
l Lvra—Full server to ESX
l Migrate for Windows jobs
l MoveDataOnlyMigration—Files and
folders migration
l SqlMigration—SQL migration
l ClusterAwareSqlMigration—Cluster-
aware SQL migration
Chapter 2 Cmdlets 67
Pipeline
Name Type Description Required
Input
l MoveServerMigration—Full server
migration
l VraMove—Full server to ESX migration or
full server to Hyper-V migration
l Migrate for Linux jobs
l LinuxMoveDataOnlyMigration—Files
and folders migration
l LinuxMoveServerMigration—Full server
migration
l LinuxSapHanaMigration—SAP HANA
migration
l MoveLvra—Full server to ESX migration
l Other jobs
l Diagnostics—Throughput Diagnostic
Utility
Workload Workload Specify the workload object returned from the Get- true false
on page DtWorkload cmdlet. See Get-DtWorkload on page 88.
398
Other Server on Specify the server object returned from the New- false false
Servers page 340 DtServer cmdlet. See New-DtServer on page 109.
Specify multiple server objects in an array using the
format @($server1, $server2).
Outputs
RecommendedJobOptions on page 331
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadTypeName
FilesAndFolders
$DtWorkload = Get-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGuid
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtServerObjectBeta -Source
$DtServerObjectAlpha -JobType FilesAndFolders -Workload $DtWorkload
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
Chapter 2 Cmdlets 68
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. 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 script then creates a workload on the server for a files and folders job, returning a global
unique ID for the workload, and assigns that ID to the variable DtWorkloadGuid. The workload definition for the
workload type and the server is then stored in the DtWorkload variable. The recommended job options for the
servers and the workload type are then stored in the variable DtJobOptions. The connections for the server object
are then closed.
Chapter 2 Cmdlets 69
Get-DtRecommendedPathTransform
Returns the recommended mappings
Syntax
This cmdlet returns the recommended mapping between the location of the data on the source and the location of
the replica data on the target for the specific type of workload .
Detailed Description
Get-DtRecommendedPathTransform [-ServiceHost] <Server> [-WorkloadId] <Guid> [-BasePath <String>]
[<CommonParameters>]
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your source
server.
WorkloadId Guid on Specify the workload GUID returned from the New- true false
page 285 DtWorkload cmdlet using the workload type name
parameter. See New-DtWorkload on page 117.
BasePath String Specify the location on the target where the replica of false false
the source data will be stored. By default, the replica
source data will be stored in the same directory
structure on the target, in a one-to-one configuration.
Outputs
PathTransformation [ ] on page 318
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha-WorkloadTypeName
FullServerFailover
Get-DtRecommendedPathTransform -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGuid
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The script then creates a workload on the server for
a full sever job, returning a global unique ID for the workload, and assigns that ID to the variable DtWorkloadGuid.
The recommended mapping of the data on the source and the replica data on the target is then returned. The
connections for the server object are then closed.
Chapter 2 Cmdlets 70
Get-DtRecommendedRestoreOptions
Returns the recommended restoration options
Syntax
Get-DtRecommendedRestoreOptions [-ServiceHost] <Server> [-JobId] <Guid> [-RestoreTarget <Server>] [-
RequestCanClearRestoreRequired] [<CommonParameters>]
Detailed Description
Returns the recommended restoration options for the specified job on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
Restore Server on Specify the server you want to restore to. If you do not false false
Target page 340 specify a server, the original source server will be used.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true false
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
RecommendedRestoreOptions on page 332
Chapter 2 Cmdlets 71
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Get-DtRecommendedRestoreOptions -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id -
RestoreTarget $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. 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. Then the recommended restore options for the specified
job and server are returned. The connections for the server object are then closed.
If you want to clear the restore required flag, save your recommended restore options to a variable and then set
ClearRestoreRequired to true.
$DtRecommendedRestoreOptions = Get-DtRecommendedRestoreOptions -ServiceHost
$DtServerObjectBeta -JobId $DtJobForAlpha.Id -RestoreTarget $DtServerObjectAlpha -
RequestCanClearRestoreRequired
$DtRestoreOptions = $DtRecommendedRestoreOptions.RestoreOptions
$DtRestoeOptions.ClearRestoreRequired = $true;
Chapter 2 Cmdlets 72
Get-DtRepairJobOptionsStatus
Returns the details and status of a repair
Syntax
Get-DtRepairJobOptionsStatus [-ServiceHost] <Server> [-Token] <ActivityToken> [<CommonParameters>]
Detailed Description
This cmdlet returns the details and status of the repair performed by the Repair-DtJobOptions cmdlet. See Repair-
DtJobOptions on page 128.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
Token ActivityToken Specify the repair action object returned from the true false
on page 225 Repair-DtJobOptions cmdlet. See Repair-
DtJobOptions on page 128.
Outputs
RepairStatus on page 333
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
$DtValidation = Confirm-DtJobOptions -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id -
JobOptions $DtJob.Options
$DtStatus = Get-DtVerificationStatus -ServiceHost $DtServerObjectBeta -Token $DtValidation
$DtRepair = Repair-DtJobOptions -ServiceHost $DtTarget -JobId $DtJob.Id -JobOptions $DtJob.Options -
Step $DtStatus.Steps
$DtRepairStatus = Get-DtRepairJobOptionsStatus -ServiceHost $DtServerObjectBeta -Token $DtRepair
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. The job options
Chapter 2 Cmdlets 73
used by the job are confirmed, and the validation result is stored in DtValidation. The details of the validation are
stored in the variable DtStatus. Ideally you should script this with a loop so you can wait until the verification
status is complete before continuing with your script. Those items that can automatically be fixed are corrected. If
the job options were modified in order to fix an issues, the updated job options are now contained in the variable
$DtRepair. The details and status of the repair are stored in the variable DtRepairStatus. The connections for the
server object are then closed.
Chapter 2 Cmdlets 74
Get-DtScriptCredentials
Returns credentials
Syntax
Get-DtScriptCredentials [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet returns the credentials that Carbonite is currently using to run scripts on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtScriptCredentials -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the credentials that Carbonite is using to run
scripts on this server are returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 75
Get-DtServerInfo
Returns server information
Syntax
Get-DtServerInfo [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet returns server configuration information for the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Outputs
ServerInfo on page 343
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtServerInfo -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then server configuration information for the server
is returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 76
Get-DtSnapshot
Returns snapshots
Syntax
Get-DtSnapshot [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet returns the available Carbonite snapshots for the specified job .
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
SnapshotEntry on page 350
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Get-DtSnapshot -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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
Chapter 2 Cmdlets 77
DtServerObjectAlpha is retrieved. That information is then stored in the variable DtJobForAlpha. The snapshots
available for the job are returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 78
Get-DtSourceQueueSnapshot
Gets a coordinated snapshot
Syntax
Get-DtSourceQueueSnapshot [-ServiceHost] <Server> [-CorrelationId] <Guid> [-JobId] <Guid>
[<CommonParameters>]
Detailed Description
This cmdlet gets a coordinated snapshot for one job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
CorrelationID Guid Specify the correlation ID used to create the true false
coordinated snapshot. See Checkpoint-
DtConnectionSourceQueue on page 24.
JobId Guid on Specify the job GUID returned from the New-DtJob true false
page 285 cmdlet or the Id within the job information returned
from the Get-DtJob cmdlet. See New-DtJob on page
106 and Get-DtJob on page 48.
Outputs
SourceQueueSnapshotEntry on page 356
Examples
$CorId=New-Guid
$Source1Uri = "dtms://112.42.7.63:6325/"
$Source2Uri = "dtms://112.42.7.71:6325/"
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJob1 = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object { $_.SourceHostUri -eq $Source1Uri}
$DtJob2 = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object { $_.SourceHostUri -eq $Source2Uri}
$DtJobsArray = New-Object "System.Collections.Generic.List[Guid]"
$DtJobsArray.Clear()
Chapter 2 Cmdlets 79
$DtJobsArray.Add($DtJob1.Id)
$DtJobsArray.Add($DtJob2.Id)
Checkpoint-DtConnectionSourceQueue -ServiceHost $DtServerObjectBeta -CorrelationId $CorId -JobIds
$DtJobsArray.ToArray()
Get-DtSourceQueueSnapshot -ServiceHost $DtServerObjectBeta -CorrelationId $CorId -JobIds $DtJob1.Id
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
Several variables are set including a unique correlation ID for the snapshots that will be taken as well as URI
identifiers for the source servers of existing jobs. 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 jobs are retrieved from DtServerObjectBeta, and the job information is inserted into
unique variables. And array of job IDs is then created. A coordinated snapshot is taken using the specified
correlation ID and the jobs stored in the array. Only those jobs will have coordinated snapshots. Then the
coordinated snapshot for the specified correlation ID and job ID is returned. The connections for the server object
are then closed.
Chapter 2 Cmdlets 80
Get-DtSourceQueueSnapshots
Gets all coordinated snapshots
Syntax
Get-DtSourceQueueSnapshot [-ServiceHost] <Server> [-CorrelationId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet gets all coordinated snapshot for one correlation ID.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
CorrelationID Guid Specify the correlation ID used to create the true false
coordinated snapshot. See Checkpoint-
DtConnectionSourceQueue on page 24.
Outputs
SourceQueueSnapshotEntry on page 356 [ ]
Examples
$CorId=New-Guid
$Source1Uri = "dtms://112.42.7.63:6325/"
$Source2Uri = "dtms://112.42.7.71:6325/"
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJob1 = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object { $_.SourceHostUri -eq $Source1Uri}
$DtJob2 = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object { $_.SourceHostUri -eq $Source2Uri}
$DtJobsArray = New-Object "System.Collections.Generic.List[Guid]"
$DtJobsArray.Clear()
$DtJobsArray.Add($DtJob1.Id)
$DtJobsArray.Add($DtJob2.Id)
Checkpoint-DtConnectionSourceQueue -ServiceHost $DtServerObjectBeta -CorrelationId $CorId -JobIds
$DtJobsArray.ToArray()
Chapter 2 Cmdlets 81
Get-DtSourceQueueSnapshots -ServiceHost $DtServerObjectBeta -CorrelationId $CorId
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
Several variables are set including a unique correlation ID for the snapshots that will be taken as well as URI
identifiers for the source servers of existing jobs. 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 jobs are retrieved from DtServerObjectBeta, and the job information is inserted into
unique variables. And array of job IDs is then created. A coordinated snapshot is taken using the specified
correlation ID and the jobs stored in the array. Only those jobs will have coordinated snapshots. Then the
coordinated snapshots for the specified correlation ID are returned. The connections for the server object are then
closed.
Chapter 2 Cmdlets 82
Get-DtUvraRecommendedFailoverOptions
Returns the recommended failover options
Syntax
Get-DtUvraRecommendedFailoverOptions [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet returns the recommended failover options for the specified full server to ESX appliance job on the
specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtUvraServer cmdlet. See New-DtUvraServer on page
114. For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet false false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob false false
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
FailoverOptions on page 274
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName root -Password password
$DtApplianceObject = New-DtUvraServer -Name beta -UserName root -Password password -Port 6325
$DtJobForAlpha = Get-DtJob -ServiceHost $DtApplianceObject | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Get-DtUvraRecommendedFailoverOptions -ServiceHost $DtApplianceObject -JobId $DtJobForAlpha.Id
Disconnect-DtServer -ServiceHost $DtApplianceObject
Chapter 2 Cmdlets 83
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the root and password credentials. It assigns the server object
to the variable called DtServerObjectAlpha. A server object is created for the appliance beta using port 6325 and
the root and password credentials. It assigns the server object to the variable called DtApplianceObject. The job
(s) are retrieved from DtApplianceObject, 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. Then the recommended failover options for the specified full server to ESX appliance
job and server are returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 84
Get-DtUvraRecommendedRemoveOptions
Returns recommended removal options
Syntax
Get-DtUvraRecommendedRemoveOptions [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet returns the recommended removal options when deleting the specified full server to ESX appliance
job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtUvraServer cmdlet. See New-DtUvraServer on page
114. For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob false false
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
DeleteOptions on page 258
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName root -Password password
$DtApplianceObject = New-DtUvraServer -Name beta -UserName root -Password password -Port 6325
$DtJobForAlpha = Get-DtJob -ServiceHost $DtApplianceObject | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Get-DtUvraRecommendedRemoveOptions -ServiceHost $DtApplianceObject -JobId $DtJobForAlpha.Id
Disconnect-DtServer -ServiceHost $DtApplianceObject
Chapter 2 Cmdlets 85
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the root and password credentials. It assigns the server object
to the variable called DtServerObjectAlpha. A server object is created for the appliance beta using port 6325 and
the root and password credentials. It assigns the server object to the variable called DtApplianceObject. The job
(s) are retrieved from DtApplianceObject, 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. Then the recommended remove options for the specified full server to ESX appliance
job and server are returned. The connections for the server object are then closed.
Chapter 2 Cmdlets 86
Get-DtVerificationStatus
Returns the validation details and status
Syntax
Get-DtVerificationStatus [-ServiceHost] <Server> [-Token] <ActivityToken> [<CommonParameters>]
Detailed Description
This cmdlet returns the details and status of the validation performed by the Confirm-DtJobOptions cmdlet. See
Confirm-DtJobOptions on page 27. Do not confuse this process with the verification process that confirms if the
data between the source and target are synchronized.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
Token ActivityToken Specify the confirm action object returned from the true false
on page 225 Confirm-DtJobOption cmdlet. See Confirm-
DtJobOptions on page 27.
Outputs
VerificationStatus on page 378
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
$DtValidation = Confirm-DtJobOptions -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id -
JobOptions $DtJob.Options
$DtStatus = Get-DtVerificationStatus -ServiceHost $DtServerObjectBeta -Token $DtValidation
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. The job options
used by the job are confirmed, and the validation result is stored in DtValidation. The details of the validation are
stored in the variable DtStatus. Ideally you should script this with a loop so you can wait until the verification
status is complete before continuing with your script. The connections for the server object are then closed.
Chapter 2 Cmdlets 87
Get-DtWorkload
Returns the workload definition
Syntax
Get-DtWorkload [-ServiceHost] <Server> [-WorkloadId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet returns an object that represents the workload definition, including the workload type name, any
physical rules, and any logical rules. This object is used in job cmdlets.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your source
server.
WorkloadId Guid on Specify the workload GUID returned from the New- true false
page 285 DtWorkload cmdlet using the workload type name
parameter. See New-DtWorkload on page 117.
Outputs
Workload on page 398
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha-WorkloadTypeName
FullServerFailover
$DtWorkload = Get-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGuid
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The script then creates a workload on the server for
a full sever job, returning a global unique ID for the workload, and assigns that ID to the variable DtWorkloadGuid.
The workload definition for the workload type and the server is then stored in the DtWorkload variable. The
connections for the server object are then closed.
Chapter 2 Cmdlets 88
Get-DtWorkloadPhysicalItem
Returns physical items
Syntax
Get-DtWorkloadPhysicalItem [-ServiceHost] <Server> [-WorkloadId] <Guid> [-RefItem <PhysicalItem>]
[<CommonParameters>]
Detailed Description
This cmdlet returns the physical items available for the specified workload on the specified server
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
source server.
WorkloadId Guid on page Specify the workload GUID returned from the New- true false
285 DtWorkload cmdlet using the workload type name
parameter. See New-DtWorkload on page 117.
Ref PhysicalItem Specify an object returned from a previous Get- false false
on page 319 DtWorkloadPhysicalItem call.
Outputs
PhysicalItem on page 319
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadTypeName
FilesAndFolders
Get-DtWorkloadPhysicalItem -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGuid
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The script then creates a workload on the server for
a files and folders job, returning a global unique ID for the workload, and assigns that ID to the variable
DtWorkloadGuid. Finally, the physical items available for the workload on the server are returned. The
connections for the server object are then closed.
Chapter 2 Cmdlets 89
Get-DtWorkloadType
Returns the workload types
Syntax
Get-DtWorkloadType [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet returns the types of workloads that are supported on the specified server. The supported workload
types are based on the Carbonite license keys on the server, the applications on the server, the server
configuration (like standalone or cluster), and so on.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your source server.
Outputs
WorkloadType [ ] on page 401
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Get-DtWorkloadType -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then it returns the workload types that are supported
on the server. The connections for the server object are then closed.
Chapter 2 Cmdlets 90
Install-DoubleTake
Installs Carbonite
Syntax
Install-DoubleTake [-RemoteServer] <Server> -ActivationCode <String[]> [-DiskQueueFolder <String>] [-
DiskQueueLimit <Int32>] [-DotNetPackagePath <String>] [-InstallationFolder <String>] [-MaxMemoryUsage
<Int32>] [-MinFreeDiskSpace <Int32>] [-PackageBaseFolder <String>] [-SimultaneousFilePushLimit <Int32>] [-
TempFolder <String>] [-X64PackageFolder <String>] [-X86PackageFolder <String>] [-LinuxPackageFolder
<String>] [-AsJob] [<CommonParameters>]
Detailed Description
This cmdlet installs Carbonite on the specified server. The first syntax allows you to install Carbonite
immediately. The second syntax allows you to schedule the installation.
Parameters
Pipeline
Name Type Description Required
Input
Remote Server on Specify the server object returned from the New- true false
Server page 340 DtServer cmdlet. See New-DtServer on page 109.
Activation String New installation—If you are completing a new true or false
Code installation, this parameter is required. false
l Add a license key—Specify a 24-
character, alpha-numeric license key to
apply that license to the Carbonite server.
l Do not add a license key—Specify the
keyword None to apply no license to the
Carbonite server.
Chapter 2 Cmdlets 91
Pipeline
Name Type Description Required
Input
remove the existing key on the Carbonite
server.
l Retain a license key—Do not use this
parameter and the existing key will be
maintained on the Carbonite server.
DiskQueue String Specify the location where you want to store the false false
Folder Carbonite disk queue on each server. The default is
\Program Files\Carbonite\Replication.
DiskQueue Int32 Specify a fixed amount of disk space, in MB, in the false false
Limit specified DiskQueueFolder that can be used for
Carbonite disk queuing. When the disk space limit
is reached, Carbonite will automatically begin the
auto-disconnect process. By default, an unlimited
amount of disk queuing will be allowed.
DotNet String If your servers do not have Microsoft .NET version false false
Package 4.5.1, specify the location of the setup file (on the
Path local machine) that will be used to install it. This
option is for older versions of Windows. Generally,
newer versions of Windows will have .NET already
installed.
Installation String Specify the location where you want to install false false
Folder Carbonite on the server. The default is \Program
Files\Carbonite\Replication.
Max Int32 Specify the maximum amount of memory, in MB, false false
Memory that can be used for Carbonite processing. The
Usage default will depend on your operating system and
hardware. For complete details on memory usage,
see the User's Guide.
MinFree Int32 This is the minimum amount of disk space in the false false
DiskSpace specified DiskQueueFolder that must be available
at all times. This amount should be less than the
amount of physical disk space minus the disk size
specified for DiskQueueLimit. The default is 50 MB.
Package String Specifies the locations of the setup files (on the false false
Base local machine or a UNC path) that will be used to
Folder install on both 32-bit and 64-bit servers. By default,
these are in the i386\ and \x64 subdirectories where
you installed Carbonite.
Simultaneous Int32 Specify the number of files that can simultaneously false false
FilePush be pushed to the machine you are installing on. The
Limit default is 5.
Chapter 2 Cmdlets 92
Pipeline
Name Type Description Required
Input
Temp String Specify a temporary location (on the server where false false
Folder you are installing Carbonite) where the installation
files will be copied and run. The default is \Temp.
You need approximately 130 MB of space in the
specified location.
X64 String Specify the location of the setup file (on the local false false
Package machine or a UNC path) that will be used to install
Folder on 64-bit Windows servers. By default, this is in the
\x64 subdirectory where you installed Carbonite.
X86 String Specify the location of the setup file (on the local false false
Package machine or a UNC path) that will be used to install
Folder on 32-bit Windows servers. By default, this is in the
\i386 subdirectory where you installed Carbonite.
Linux String Specify the location of the .rpm or .deb installation false false
Package files (on the local machine or a UNC path) that will
Folder be used to install on Linux servers.
AsJob Switch Specify if you want the installation to occur false false
Parameter asynchronously in the background, returning the
PowerShell command immediately. You can get
the status of each installation using the Windows
PowerShell Get-Job command. Without this
parameter, each push installation specified will be
executed synchronously and the current activity of
the current installation will be displayed.
Schedule DateTime Specify a date and time to complete the installation. true false
Specify the date in mm/dd/yyyy format. Specify the
time in hh:mm:ss format with AM or PM. You can
specify a time zone offset, for example, -04:00. If
you do not specify a time zone offset, the time zone
of the machine you are running from will be used. If
you do not specify a time, 12:00:00 AM will be
used.
NoReboot Switch Specify if you do not want the server to reboot after false false
Parameter the installation, even if a reboot is required.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Chapter 2 Cmdlets 93
Install-DoubleTake -RemoteServer $DtServerObjectAlpha -ActivationCode 1234567890abcdefghij1234 -
x64PackageFolder "C:\Program Files\Carbonite\Replication\x64"
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then Carbonite is installed to the server using the
license key 1234567890abcdefghij1234, using the setup.exe installation file stored locally at C:\Program
Files\Carbonite\Replication\x64. The connections for the server object are then closed.
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then Carbonite is installed to the server using the
license key 1234567890abcdefghij1234, using the .rpm or .deb installation files stored locally at C:\Program
Files\Carbonite\Replication\Linux. The connections for the server object are then closed.
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then Carbonite is installed to the server using the
license key 1234567890abcdefghij1234, using the .rpm or .deb installation files stored on a deployed Carbonite
Linux appliance at \\DTAppliance\installers. The connections for the server object are then closed.
Chapter 2 Cmdlets 94
Install-DtVmwareCertificate
Installs VMware security certificate
Syntax
Install-DtVmwareCertificate [-ServiceHost] <Server> [-Certificate] <X509Certificate> [<CommonParameters>]
Detailed Description
This cmdlet installs the specified X.509 security certificate on the specified server
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your target
server.
Outputs
None
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$TestResult = Test-DtVmwareCertificatePolicy -ServiceHost $DtServerObjectBeta -VmwareServer
112.47.15.6
Set-DtVmwareCertificatePolicy -ServiceHost $DtServerObjectBeta -VmwareServer 112.47.15.6 -Policy
AllowAll
Install-DtVmwareCertificate -ServiceHost $DtServerObjectBeta -Certificate $TestResult[1]
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 server $DTServerObjectBeta is tested to see if
the current policy or any valid certificates will allow a connection to the specified VMware server. In this example,
assume the return is false. The VMware certificate policy on the server $DTServerObjectBeta is then set to allow
all certificates to be installed. The certificate from the Test-DtVmwareCertificatePolicy false return is then
installed on the server $DTServerObjectBeta. The connections for the server object are then closed.
Chapter 2 Cmdlets 95
Invoke-DtAddShares
Adds shares to the target
Syntax
Invoke-DtAddShares [-ServiceHost] <Server> [-JobXmlPath] <String> [[-SharePathFilter] <String>]
[<CommonParameters>]
Detailed Description
This cmdlet takes the drive share configuration that was gathered during Carbonite mirroring and replication and
applies it to the target server. This process is independent of the failover process.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your target
server.
JobXml String Specify the path and file name to the Carbonite .xml true false
Path configuration file for the job that contains the protected
shares. By default, this location is \Program
Files\Carbonite\Replication\Service\Data. The file name
will be JobGuid.xml where Guid is the unique identifier
assigned to the job. You can find this ID by using Get-
DtJob on page 48.
SharePath String Creates shares from the specified path and any false false
Filter subdirectories of this path
Outputs
None
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobInfo = Get-DtJob -ServiceHost $DtServerObjectBeta
$JobId = $DtJobInfo.Id
$PathToJobFile = "C:\Program Files\Carbonite\Replication\Service\Data\"
$JobFileExtension = ".xml"
$JobFile = $PathToJobFile + "Job" + $JobId + $JobFileExtension
Chapter 2 Cmdlets 96
Invoke-DtAddShares –ServiceHost $DtServerObjectBeta –JobXmlPath $JobFile
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. All job information for all of the jobs on the server beta
are stored in the variable DtJobInfo. This type of usage is common when the jobs were created in the past or if you
did not store or do not know a job's ID. In this example, assume there is only one job on the server. See Get-DtJob
on page 48 for examples on how to get specific job information when there are multiple jobs on one server. Job id
from the stored job information is stored in the variable JobId. The path to the location of the job file is stored in the
variable PathToJobFile. The extension of the job file is stored in the variable JobFileExtension. The variables are
appended, together with the word Job, to create the variable JobFile. For example, the JobFile variable might end
up being C:\Program Files\Carbonite\Replication\Service\Data\Job87667a0d-4516-4182-ab8f-13f6fd15dd92.xml.
Shares are then added on the server DtServerObjectBeta using the job configuration file stored in JobFile. The
connections for the server object are then closed.
Chapter 2 Cmdlets 97
Invoke-DtQueueTask
Queues tasks
Syntax
Invoke-DtQueueTask [-ServiceHost] <Server> [-JobId] <Guid> [-OnQueue <TaskParameters>] [-OnTransmit
<TaskParameters>] [-OnReceive <TaskParameters>] [-OnExecute <TaskParameters>] [-InteractWithDesktop]
[-Timeout <TimeSpan>] [-ConnectionId <Guid>] [<CommonParameters>]
Detailed Description
This cmdlet queues tasks inline with replication data. Keep the following in mind when using this cmdlet.
l Any combination of one or more execution points can be used with the same Invoke-DtQueueTask cmdlet.
l All script processing messages, including errors, can be viewed in the Carbonite log and the Windows
Event log.
l If your source is in a restore required state (after a failover), any task placed on the queue will be executed
immediately. Use caution when submitting tasks while in this state so that the target does not get
inadvertently updated.
l If a task is submitted after replication is stopped, the task will be executed immediately.
l A task may be discarded if all jobs to a target are manually stopped, if replication is stopped to a target, or if
an auto-disconnect occurs.
l If you disable task command processing while tasks are in queue, those tasks will not be executed.
l The user submitting the task command must be a member of the Double-Take Admin security group on
both the source and target and the Double-Take service must have proper privileges to access the files or
run the commands specified in the task.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page 340 Specify the server object returned from the true false
Host New-DtServer cmdlet. See New-DtServer on
page 109. For this cmdlet, the -ServiceHost
should be your target server.
JobId Guid on page 285 Specify the job GUID returned from the New- true false
DtJob cmdlet or the Id within the job
information returned from the Get-DtJob
cmdlet. See New-DtJob on page 106 and Get-
DtJob on page 48.
OnQueue TaskParameters Execute the specified task on the source false false
Chapter 2 Cmdlets 98
Pipeline
Name Type Description Required
Input
on page 370 machine as soon as the source receives and
queues the task. During heavy replication,
there may be a delay while the task is queued
inline with the replication operations. Define
the task parameters by using New-
DtTaskParameters on page 111.
OnTransmit TaskParameters Execute the specified task on the source false false
on page 370 machine just before the source transmits the
task to the target. Define the task parameters
by using New-DtTaskParameters on page
111.
OnReceive TaskParameters Execute the specified task on the target false false
on page 370 machine as soon as the target receives and
queues the task. Define the task parameters
by using New-DtTaskParameters on page
111.
OnExecute TaskParameters Execute the specified task on the target when false false
on page 370 the target processes the task from the queue.
Since the task is not executed until it is
processed, if the target is paused, the task will
be held in queue. Define the task parameters
by using New-DtTaskParameters on page
111.
Interact SwitchParameter Tasks interact with the desktop and, therefore, false false
With display on screen and run in the foreground. If
Desktop you do not use this option, tasks do not
interact with the desktop and will be run in the
background.
Timeout TimeSpan Specify the length of time, in timespan format, false false
to wait for tasks to complete. For example,
0.01:30:00 would wait for one hour and thirty
minutes. If you set the timespan to zero
(0.00:00:00), there is no timeout delay and the
next operation is immediately processed. If
you do not specify a timeout parameter, the
timeout will default to forever.
Connection ConnectionId on Specify the connection ID returned from the false false
Id page 242 Get-DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on page Specify the job information returned from the true true
288 Get-DtJob cmdlet. The job information can be
piped from the Get-DtJob cmdlet and used in
Chapter 2 Cmdlets 99
Pipeline
Name Type Description Required
Input
this cmdlet. See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
$DtScript = New-DtTaskParameters -ScriptPath "C:\PathDir\ScriptName" -Arguments "arg1 arg2"
$DtPsScript = New-DtTaskParameters -ScriptPath
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Arguments "-File
""C:\PathDir\Script.ps1"" ""-Arg1 argument1_info -Arg2 argument2_info"" -ExecutionPolicy RemoteSigned"
Invoke-DtQueueTask -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id -OnReceive $DtScript -
OnExecute $DtPsScript
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. The script called
ScriptName, located in C:\PathDir, along with two arguments, is stored in the variable DtScript. The script to
launch PowerShell and run the script called Script.ps1, located in C:\PathDir, along with two arguments and the
ExecutionPolicy parameter, is stored in the variable DtPsScript. Finally, the script stored in DtScript is executed
when the target receives and queues the task and the script stored in DtPsScript is executed when the target
processes the task from the queue. The connections for the server object are then closed.
Syntax
Invoke-DtRemoveShares [-ServiceHost] <Server> [-JobXmlPath] <String> [[-SharePathFilter] <String>]
[<CommonParameters>]
Detailed Description
This cmdlet takes the drive share configuration that was gathered during Carbonite mirroring and replication and
removes it from the target server. This process is independent of the failback process.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your target
server.
JobXml String Specify the path and file name to the Carbonite .xml true false
Path configuration file for the job that contains the protected
shares. By default, this location is \Program
Files\Carbonite\Replication\Service\Data. The file name
will be JobGuid.xml where Guid is the unique identifier
assigned to the job. You can find this ID by using Get-
DtJob on page 48.
SharePath String Removes shares from the specified path and any false false
Filter subdirectories of this path
Outputs
None
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobInfo = Get-DtJob -ServiceHost $DtServerObjectBeta
$JobId = DtJobInfo.Id
$PathToJobFile = "C:\Program Files\Carbonite\Replication\Service\Data\"
$JobFileExtension = ".xml"
$JobFile = $PathToJobFile + "Job" + $JobId + JobFileExtension
Invoke-DtRemoveShares –ServiceHost $DtServerObjectBeta –JobXmlPath $JobFile
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. All job information for all of the jobs on the server beta
are stored in the variable DtJobInfo. This type of usage is common when the jobs were created in the past or if you
did not store or do not know a job's ID. In this example, assume there is only one job on the server. See Get-DtJob
on page 48 for examples on how to get specific job information when there are multiple jobs on one server. Job id
from the stored job information is stored in the variable JobId. The path to the location of the job file is stored in the
variable PathToJobFile. The extension of the job file is stored in the variable JobFileExtension. The variables are
appended, together with the word Job, to create the variable JobFile. For example, the JobFile variable might end
up being C:\Program Files\Carbonite\Replication\Service\Data\Job87667a0d-4516-4182-ab8f-13f6fd15dd92.xml.
Shares are then removed on the server DtServerObjectBeta using the job configuration file stored in JobFile. The
connections for the server object are then closed.
Syntax
Merge-DtConsoleServerData [-ImportFilePath] <String> [-Replace] [<CommonParameters>]
Detailed Description
This cmdlet applies the server information from a server data file generated from the Save-DtConsoleServerData
cmdlet. See Save-DtConsoleServerData on page 141. The server information from the file will be applied to the
user profile of the user that is currently logged into the machine. If you have multiple administrators sharing the
same Carbonite Replication Console installation, each administrator will need to be logged in to apply console
server data to their user profile. You must close the Carbonite Replication Console to apply the server data file.
Parameters
Pipeline
Name Type Description Required
Input
Import String Specify the path and file name of the .xml console data true false
FilePath file that was generated from the Save-
DtConsoleServerData cmdlet. See Save-
DtConsoleServerData on page 141.
Replace Switch Remove the servers from the console that are not false false
Parameter present in the import file.
Outputs
None
Examples
Merge-DtConsoleServerData -ImportFilePath "C:\DtAdmin1_ServerData.xml"
The Carbonite Replication Console server data from the file DtAdmin1_ServerData.xml is applied to the user
profile for the user that is currently logged in.
Syntax
New-DtFilesAndFoldersJob [-ServiceHost] <Server> [-Source] <Server> [-Path] <String> [[-TargetPath]
<String>] [-Name <String>] [-JobOptions <JobOptions>] [<CommonParameters>]
Detailed Description
This cmdlet creates a files and folders job on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
Source Server on Specify the server object returned from the New- true false
page 340 DtServer cmdlet. See New-DtServer on page 109.
Path String Specify the path on the source that contains the data true false
that you want to protect
TargetPath String Specify the path on the target where you want to false false
store the replica data from the source. By default, a
one-to-one mapping will be used on the target, which
means the replica source data will be stored in the
same directory structure on the target.
JobOptions JobOptions Specify the JobOptions returned from the Get- false false
on page 291 DtRecommendedJobOptions cmdlet. See Get-
DtRecommendedJobOptions on page 67.
Outputs
Guid on page 285
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadTypeName
FilesAndFolders
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. 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 script then creates a workload on the server for a files and folders job, returning a global
unique ID for the workload, and assigns that ID to the variable DtWorkloadGuid. The workload definition for the
workload type and the server is then stored in the DtWorkload variable. The recommended job options for the
servers and the workload type are then stored in the variable DtJobOptions. A new files and folders job is created
using the servers and the job options. The connections for the server object are then closed.
Syntax
New-DtJob [-ServiceHost] <Server> [-Source] <Server> [-JobType] <String> [-JobOptions] <JobOptions> [[-
OtherServers] <Server[]>] [<CommonParameters>]
Detailed Description
This cmdlet creates the specified job type on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
Source Server on Specify the server object returned from the New- true false
page 340 DtServer cmdlet. See New-DtServer on page 109.
JobType String This value is the job type name. true false
l Availability for Windows jobs
l FilesAndFolders—Files and folders
l ClusterAwareFilesAndFolders—
Cluster-aware files and folders
l SQL—SQL
l ClusterAwareSql—Cluster-aware
SQL
l FullServerFailover—Full server
l VRA—Full server to ESX or full server
to Hyper-V
l Availability for Linux jobs
l LinuxFilesAndFolders—Files and
folders
l LinuxFullServerFailover—Full
server
l Lvra—Full server to ESX
l Migrate for Windows jobs
l MoveDataOnlyMigration—Files and
folders migration
JobOptions JobOptions Specify the JobOptions returned from the Get- false false
on page 291 DtRecommendedJobOptions cmdlet. See Get-
DtRecommendedJobOptions on page 67.
Other Server on Specify the server object returned from the New- false false
Servers page 340 DtServer cmdlet. See New-DtServer on page 109.
Specify multiple server objects in an array using the
format @($server1, $server2).
Outputs
Guid on page 285
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadTypeName
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. 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 script then creates a workload on the server for a files and folders job, returning a global
unique ID for the workload, and assigns that ID to the variable DtWorkloadGuid. The workload definition for the
workload type and the server is then stored in the DtWorkload variable. The recommended job options for the
servers and the workload type are then stored in the variable DtJobOptions. A new files and folders job is created
using the servers and the job options. The job ID is stored in the variable DtFnFJobGuid. The connections for the
server object are then closed.
Syntax
New-DtServer [-Name] <String> [[-UserName] <String>] [[-Password] <String>] [-Role <String>]
[<CommonParameters>]
Detailed Description
This cmdlet creates a server object with specific credentials associated with it. This may be any type of server in
your organization, for example a Carbonite server, a DNS server, an application server, and so on. This object is
used to communicate with the Double-Take Management Service. You should close the connections to this
server object when you are finished using it by using Disconnect-DtServer on page 30.
Parameters
Pipeline
Name Type Description Required
Input
Name String Specify the name or IP address of the server, true false
cluster, or cluster node. If you need to specify a
port, add :xxxx where xxxx is the port number, for
example, alpha:6325. If you are specifying an IPv6
address and need to specify a port, you must
enclose the address in brackets, for example
[2002:ac10:a00:3::123]:6320.
UserName String Specify a user name. If you are using a domain, true false
specify domain\user name.
Password String Specify the password associated with the user you true false
have entered. This password will be visible in plain
text.
Role String Specify one of the following roles for the server false false
object you are creating. These servers are used
when you specify the -OtherServers parameter in
other cmdlets.
l TargetVimServer—This is the ESX server
or vCenter that will host the target appliance
and the replica virtual machine for protection
and failover. If you are using vCenter,
specify your vCenter. Only specify an ESX
host if you are using ESX standalone.
l ReverseVimServer—This is the ESX
Credential PSCredential Specify the credential object returned from the true false
on page 328 Windows PowerShell Get-Credential cmdlet. This
password will not be visible because Windows
stores an encrypted password. See Hiding your
password in a PowerShell script on page 521 for
basic details on using this cmdlet. See your
Windows PowerShell documentation for detailed
instructions.
Outputs
Server on page 340
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The connections for the server object are then
closed.
$DtCredentialEncrypted = Get-Credential
$DtServerObjectAlpha = New-DtServer -Name alpha -Credential $DtCredential
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
Credentials are stored in a variable called $DtCredential. The script will prompt you to supply the username and
password and the credentials will be encrypted. Then the stored credentials are used to create a new server object
for the server alpha. It assigns the server object to the variable called DtServerObject. The connections for the
server object are then closed.
Syntax
New-DtTaskParameters [-ScriptPath] <String> [[-Arguments] <String>] [<CommonParameters>]
Detailed Description
Creates a parameter set to be used with the Invoke-DtQueueTask cmdlet. See Invoke-DtQueueTask on page 98.
Parameters
Pipeline
Name Type Description Required
Input
ScriptPath String Specify the full path and script name true false
Arguments String Specify any arguments that need to be passed to the false false
script.
Outputs
TaskParameters on page 370
Examples
$DtScript = New-DtTaskParameters -ScriptPath "C:\PathDir\ScriptName" -Arguments "arg1 arg2"
The script called ScriptName, located in C:\PathDir, along with two arguments, is stored in the variable DtScript.
The script to launch PowerShell and run the script called Script.ps1, located in C:\PathDir, along with two
arguments and the ExecutionPolicy parameter, is stored in the variable DtPsScript.
Syntax
New-DtUri [-Literal] <String> [<CommonParameters>]
New-DtUri [-NetworkId] <String> [-Credential <PSCredential>] [-Port <Int32>] [-Scheme <String>] [-Query
<String>] [-Fragment <String>] [<CommonParameters>]
Detailed Description
This cmdlet creates a URI (uniform resource identifier) that is used to specify job credentials
Parameters
Pipeline
Name Type Description Required
Input
Literal String Specify the entire URI string. true false
NetworkId String Specify the name or IP address of the server. true false
Credential PSCredential Specify the credential object returned from the false false
on page 328 Windows PowerShell Get-Credential cmdlet. This
password will not be visible because Windows
stores an encrypted password. See Hiding your
password in a PowerShell script on page 521 for
basic details on using this cmdlet. See your
Windows PowerShell documentation for detailed
instructions.
Fragment String Specify any identifying information that provides false false
direction to a secondary resource.
Outputs
Uri
Examples
New-DtUri -Literal "http://server:6320"
Syntax
New-DtUvraServer [-Name] <String> [[-UserName] <String>] [[-Password] <String>] [-Port <Int32>] [-Role
<String>] [<CommonParameters>]
Detailed Description
This cmdlet creates a server object with specific credentials associated with it. This cmdlet is specific to the full
server to ESX appliance job type, The server object may be one of the following types of servers: Carbonite
server, virtual recovery appliance, or VMware host. The object is used to communicate with the Double-Take
Management Service.
Parameters
Pipeline
Name Type Description Required
Input
Name String Specify the name or IP address of the server, true false
cluster, or cluster node. If you need to specify a
port, add :xxxx where xxxx is the port number, for
example, alpha:6325. If you are specifying an IPv6
address and need to specify a port, you must
enclose the address in brackets, for example
[2002:ac10:a00:3::123]:6320.
Username String Specify a user name. If you are using a domain, true false
specify domain\user name.
Password String Specify the password associated with the user you true false
have entered. This password will be visible in plain
text.
Port Int32 Specify the port for the XML web service protocol. false false
By default, that is 443. Use 6325 for Carbonite
servers and appliances, unless you changed the
default Carbonite port. Do not specify a port for
VMware hosts.
Role String Specify one of the following roles for the server false false
object you are creating. These servers are used
when you specify the -OtherServers parameter in
other cmdlets.
l TargetVimServer—This is the ESX server
Credential PSCredential Specify the credential object returned from the true false
on page 328 Windows PowerShell Get-Credential cmdlet. This
password will not be visible because Windows
stores an encrypted password. See Hiding your
password in a PowerShell script on page 521 for
basic details on using this cmdlet. See your
Windows PowerShell documentation for detailed
instructions.
Outputs
Server on page 340
Examples
$DtServerObjectAlpha= New-DtUvraServer -Name alpha -UserName domain\administrator -Password
password -Port 6325
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using port 6325 and the domain\administrator and password
credentials. It assigns the server object to the variable called DtServerObject. The connections for the server
object are then closed.
$DtCredentialEncrypted = Get-Credential
$DtServerObjectAlpha = New-DtUvraServer -Name alpha -Credential $DtCredential -Port 6325
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
Syntax
New-DtWorkload [-ServiceHost] <Server> -WorkloadTypeName <String> [-ImageId <Guid>] [-SnapshotId
<Guid>] [<CommonParameters>]
Detailed Description
This cmdlet creates a Carbonite workload on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your source
server.
Workload String Specify a supported workload type from the Get- true false
TypeName DtWorkloadType cmdlet. See Get-DtWorkloadType on
page 90.
Workload Workload Specify the workload object returned from the Get- true false
on page DtWorkload cmdlet. See Get-DtWorkload on page 88.
398
Snapshot Guid Specify the snapshot GUID returned from the Get- false false
Id DtSnapshot cmdlet. See Get-DtSnapshot on page 77.
Outputs
Guid on page 285
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadTypeName
FilesAndFolders
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
Syntax
Remove-DtEndpointMapping [-ServiceHost] <Server> [-OriginalUrl] <URI> [<CommonParameters>]
Detailed Description
This cmdlet removes the URL the target is using to communicate with the source for the specified URL.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your target
server.
OriginalUrl URI Specify the URI the source is using to create a job. true false
Outputs
None
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
Remove-DtEndpointMapping -ServiceHost $DtServerObjectBeta -OriginalUrl "http://alpha:6325"
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 mapping the target server Beta is using to
communicate with the source server Alpha and port 6325 is removed. The connections for the server object are
then closed.
Syntax
Remove-DtJob [-ServiceHost] <Server> [-JobId] <Guid> [[-DeleteOptions] <DeleteOptions>]
[<CommonParameters>]
Detailed Description
This cmdlet deletes the specified job from the specified server. A running job will be stopped before it is deleted.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
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. The delete
options are stored in DtDeleteOptions, then the specific delete option DiscardTargetQueue is set to true. Finally
the job is removed using the delete options. The connections for the server object are then closed.
Syntax
Remove-DtPhysicalRule [-ServiceHost] <Server> [-WorkloadId] <Guid> [-Rule] <PhysicalRule>
[<CommonParameters>]
Detailed Description
This cmdlet removes a physical rule from the specified workload on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
source server.
WorkloadId Guid on page Specify the workload GUID returned from the true false
285 New-DtWorkload cmdlet using the workload type
name parameter. See New-DtWorkload on page
117.
Rule PhysicalRule Use the Windows PowerShell New-Object cmdlet true false
on page 321 to create a physical rule object from
DoubleTake.Common.Contract.PhysicalRule.
Outputs
ChangedItems on page 235
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadTypeName
FilesAndFolders
$DtPhysicalPath = New-Object DoubleTake.Common.Contract.PhysicalRule -Property @
{Path="C:\DirName"}
Remove-DtPhysicalRule -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGuid -Rule
$DtPhysicalPath
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The script then creates a workload on the server for
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The script then creates a workload on the server for
a files and folders job, returning a global unique ID for the workload, and assigns that ID to the variable
DtWorkloadGuid. The workload information for the workload is then stored in DtWorkloadInfo. The physical rule
within DtWorkloadInfo called C:\DirNameToRemove is then stored in DtRemoveRule. Finally, the physical rule
DtRemoveRule is removed from the workload on the server. The connections for the server object are then
closed.
Syntax
Remove-DtSnapshot [-ServiceHost] <Server> [-JobId] <Guid> [-SnapshotId] <Guid> [-ConnectionId <Guid>]
[<CommonParameters>]
Detailed Description
This cmdlet removes a Carbonite snapshot from the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page
109. For this cmdlet, the -ServiceHost should be
your target server.
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
SnapshotId Guid Specify the snapshot GUID returned from the true false
Get-DtSnapshot cmdlet. See Get-DtSnapshot on
page 77.
Connection ConnectionId on Specify the connection ID returned from the Get- false false
Id page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
Snapshot SnapshotEntry Specify the snapshot entry object returned from true false
on page 350 the Get-DtSnapshot cmdlet. See Get-
DtSnapshot on page 77.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
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. The snapshots
available for the job are stored in DtSnaps and then the first snapshot is stored in FirstSnap. That first snapshot is
then deleted. The connections for the server object are then closed.
Syntax
Remove-DtSourceQueueSnapshot [-ServiceHost] <Server> [-CorrelationId] <Guid> [-JobIds] <IEnumerable>
[<CommonParameters>]
Detailed Description
This cmdlet deletes a coordinated snapshot for the specified jobs. Snapshots having the same correlation ID but
not in the specified jobs will not be deleted.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
CorrelationId Guid Specify the correlation ID used to create the true false
coordinated snapshot. See Checkpoint-
DtConnectionSourceQueue on page 24.
JobIds IEnumerable Specify an array of job GUIDs. A job GUID is true false
returned from the New-DtJob cmdlet or the Id
within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and
Get-DtJob on page 48.
Outputs
None
Examples
$CorId=New-Guid
$Source1Uri = "dtms://112.42.7.63:6325/"
$Source2Uri = "dtms://112.42.7.71:6325/"
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJob1 = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object { $_.SourceHostUri -eq $Source1Uri}
$DtJob2 = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object { $_.SourceHostUri -eq $Source2Uri}
$DtJobsArray = New-Object "System.Collections.Generic.List[Guid]"
Several variables are set including a unique correlation ID for the snapshots that will be taken as well as URI
identifiers for the source servers of existing jobs. 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 jobs are retrieved from DtServerObjectBeta, and the job information is inserted into
unique variables. An array of job IDs is then created. A coordinated snapshot is taken using the specified
correlation ID and the jobs stored in the array. Only those jobs will have coordinated snapshots. A second array of
job IDs is then created, with just one item in the array. The coordinated snapshot for the job in the second array is
then deleted. Other snapshots having the same correlation ID but not in the specified array will not be deleted. The
connections for the server object are then closed.
Syntax
Repair-DtJobOptions [-ServiceHost] <Server> [-JobId] <Guid> [-Step] <VerificationStep[]>
[<CommonParameters>]
Detailed Description
This cmdlet attempts to fix job option errors and warnings. For those errors and warnings that Carbonite cannot
correct automatically, you will need to modify the job options manually, modify the source or target configuration,
or perhaps select a different target. Use the first syntax for existing jobs and the second syntax for new jobs.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page
109. For this cmdlet, the -ServiceHost should be
your target server.
JobId Guid on page 285 Specify the job GUID returned from the New- true false
DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Step VerificationStep Specify the verification steps returned by the true true
on page 379 Get-DtVerificationStatus cmdlet. See Get-
DtVerificationStatus on page 87.
Source Server on page Specify the server object returned from the New- true false
340 DtServer cmdlet. See New-DtServer on page
109.
JobType String This value is the job type name. true false
Other Server on page Specify the server object returned from the New- false false
Servers 340 DtServer cmdlet. See New-DtServer on page
109. Specify multiple server objects in an array
using the format @($server1, $server2).
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
$DtValidation = Confirm-DtJobOptions -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id -
JobOptions $DtJob.Options
$DtStatus = Get-DtVerificationStatus -ServiceHost $DtServerObjectBeta -Token $DtValidation
$DtRepair = Repair-DtJobOptions -ServiceHost $DtTarget -JobId $DtJob.Id -JobOptions $DtJob.Options -
Step $DtStatus.Steps
Edit-DtJob -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id -JobOptions $DtRepair.Options
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. The job options
used by the job are confirmed, and the validation result is stored in DtValidation. The details of the validation are
stored in the variable DtStatus. Ideally you should script this with a loop so you can wait until the verification
status is complete before continuing with your script. Those items that can automatically be fixed are corrected. If
the job options were modified in order to fix an issues, the updated job options are now contained in the variable
$DtRepair. The updated job options are then applied to the job. The connections for the server object are then
closed.
Syntax
Request-DtOnlineActivation -Code <String> -ServerName <String> -ServerInformation <String> [-ServiceHost
<Server>] [-EmailAddress <String>] [<CommonParameters>]
Detailed Description
This cmdlet activates the Carbonite license over the Internet using the server information returned by the Get-
DtOnlineActivationRequest on page 56 cmdlet.
Parameters
Pipeline
Name Type Description Required
Input
Code String Specify the 24-character, alpha-numeric license key true true
which applies the appropriate Carbonite license to your
Carbonite server. Specify multiple keys in an array
using the format @(code1, code2). You can also use
the code that is returned by the Get-
DtOnlineActivationRequest on page 56 cmdlet.
Server String Specify the name of the server or use the server name true true
Name returned by the Get-DtOnlineActivationRequest on
page 56 cmdlet.
Server String Specify the server information returned by the Get- true true
Information DtOnlineActivationRequest on page 56 cmdlet.
Service Server on Specify the server object returned from the New- false false
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your target
server.
Outputs
ActivationInformation on page 222
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$ServerInfo = Get-DtOnlineActivationRequest -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The server information for the online activation
process is returned. It assigns the server information to the variable called ServerInfo. The license is activated
online. The connections for the server object are then closed.
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The server information for the online activation
process is returned. The output from the Get-DtOnlineActivationRequest cmdlet is piped directly to Request-
DtOnlineActivation, which activates the license online, and then that output (from Request-DtOnlineActivation) is
piped directory to Set-DtActivationCode to set the activation key on the server.The connections for the server
object are then closed.
Syntax
Request-DtOnlineDeactivation [-ServiceHost] <Server> [-EmailAddress <String>] [<CommonParameters>]
Detailed Description
This cmdlet deactivates the Carbonite license over the Internet for the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Request-DtOnlineDectivation -ServerName $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The license for that server is deactivated. The
connections for the server object are then closed.
Syntax
Restart-DtReplicationService [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet stops and restarts the Double-Take service on the specified server. This cmdlet does not impact the
Double-Take Management Service.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Restart-DtReplicationService -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the Double-Take service on the server is
stopped and restarted. The connections for the server object are then closed.
Syntax
Resume-DtJob [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet resumes a paused job. All jobs from the same source to the same IP address on the target will be
resumed.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Resume-DtJob -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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
Syntax
Resume-DtMirror [-ServiceHost] <Server> [-JobId] <Guid> [-ConnectionId <Guid>] [<CommonParameters>]
Detailed Description
This cmdlet resumes a paused mirror.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Connection ConnectionId Specify the connection ID returned from the Get- false false
Id on page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Resume-DtMirror -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
Syntax
Resume-DtTarget [-ServiceHost] <Server> -All [<CommonParameters>]
Detailed Description
This cmdlet resumes Carbonite processing on the target.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Connection ConnectionId Specify the connection ID returned from the Get- false false
Id on page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
All Switch Execute the cmdlet on all jobs that are present true false
Parameter
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
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. Carbonite processing on that server is then resumed.
The connections for the server object are then closed.
Syntax
Save-DtConsoleServerData [-FilePath] <String> [<CommonParameters>]
Detailed Description
This cmdlet saves the server information from the Carbonite Replication Console for the user that is currently
logged into the machine. If you have multiple administrators sharing the same Carbonite Replication Console
installation, each administrator will need to be logged in to save their console server data.
Parameters
Pipeline
Name Type Description Required
Input
FilePath String Specify the path and file name with an .xml fie extension to true false
store the server data from the Carbonite Replication
Console.
Outputs
None
Examples
Save-DtConsoleServerData -FilePath "C:\DtAdmin1_ServerData.xml"
The Carbonite Replication Console server data for the user currently logged in will be saved at the root of the C:
drive to the file DtAdmin1_ServerData.xml.
Syntax
Save-DtJobDiagnostics [-ServiceHost] <Server> [-JobId] <Guid[]> [<CommonParameters>]
Detailed Description
Saves a job diagnostics file to the \Service\Data\Diagnostics directory of your Carbonite installation on the
specified server. The file data identifies the servers in the job, the job information, and the job status at the
moment the diagnostics file was created.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
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}
Save-DtJobDiagnostics -Servicehost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
Syntax
Set-DefaultSqlCredentials [-ServiceHost] <Server> [-Credentials] <PSCredential> [-Mode]
<SqlAuthenticationMode> [<CommonParameters>]
Detailed Description
This cmdlet sets credentials to be used for SQL Server authentication. You can use Windows or SQL Server
credentials.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page 340 Specify the server object returned true false
Host from the New-DtServer cmdlet. See
New-DtServer on page 109. For this
cmdlet, the -ServiceHost could be
your source or target server.
Credential PSCredential on page Specify the credential object returned true false
328 from the Windows PowerShell Get-
Credential cmdlet. This password will
not be visible because Windows
stores an encrypted password. See
Hiding your password in a
PowerShell script on page 521 for
basic details on using this cmdlet.
See your Windows PowerShell
documentation for detailed
instructions.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtCredentialEncrypted = Get-Credential
Set-DefaultSqlCredentials -ServiceHost $DtServerObjectAlpha -Credentials $DtCredentialEncrypted -Mode
Sql
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Credentials are stored in a variable called
$DtCredential. The script will prompt you to supply the username and password and the credentials will be
encrypted. Then the stored credentials are used to update the SQL Server authentication credentials on the server
alpha. The connections for the server object are then closed.
Syntax
Set-DtActivationCode [-ServiceHost] <Server> [-Code] <String[]> [-AdditionalCode <String[]>] [-ActivationKey
<String>] [<CommonParameters>]
Detailed Description
This cmdlet sets the Carbonite license key or activation key on the specified server. It also returns the Carbonite
license key validation information from the Get-DtActivationStatus cmdlet. See Get-DtActivationStatus on page
35.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true true
Host page 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost could be your source or
target server.
Code String Specify the 24-character, alpha-numeric license key true true
which applies the appropriate Carbonite license to your
Carbonite server. Specify multiple keys in an array using
the format @(code1, code2).
Additional String Specify any additional keys. Specify multiple keys in an false false
Code array using the format @(code1, code2).
Activation String Specify the 24-character, alpha-numeric activation key false true
Key which activates your Carbonite license.
Outputs
ActivationStatus on page 223
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Set-DtActivationCode -ServiceHost $DtServerObjectAlpha -Code 1234567890abcdefghij1234
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the license key 1234567890abcdefghij1234 is
applied to the server. The server returns the license key information. The connections for the server object are
then closed.
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. The server information for the online activation
process is returned. The output from the Get-DtOnlineActivationRequest cmdlet is piped directly to Request-
DtOnlineActivation, which activates the license online, and then that output (from Request-DtOnlineActivation) is
piped directory to Set-DtActivationCode to set the activation key on the server.The connections for the server
object are then closed.
Syntax
Set-DtBandwidthLimit [-ServiceHost] <Server> [-JobId] <Guid> [-BandwidthLimit] <BandwidthLimit> [-
ConnectionId <Guid>] [<CommonParameters>]
Detailed Description
This cmdlet sets bandwidth limiting for the specified job .
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page
109. For this cmdlet, the -ServiceHost should be
your target server.
JobId Guid on page 285 Specify the job GUID returned from the New- true false
DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Bandwidth BandwidthLimit Specify the bandwidth limit configuration from true false
Limit on page 230 Get-BandwidthLimit. See Get-DtBandwidthLimit
on page 37.
Connection ConnectionId on Specify the connection ID returned from the Get- false false
Id page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on page Specify the job information returned from the true true
288 Get-DtJob cmdlet. The job information can be
piped from the Get-DtJob cmdlet and used in this
cmdlet. See Get-DtJob on page 48.
Outputs
None
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. The bandwidth
limiting configuration is then stored in DtFixedBandwidth. The Mode is then changed to fixed and the Limit is set to
100,000 bytes/second. Finally, the bandwidth settings are applied to the job. The connections for the server object
are then closed.
Syntax
Set-DtEmailNotificationOptions [-ServiceHost] <Server> [-Options] <EmailNotificationOptions>
[<CommonParameters>]
Detailed Description
This cmdlet sets the Carbonite e-mail notification configuration for the specified server
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page 340 Specify the server object returned from true false
Host the New-DtServer cmdlet. See New-
DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or
target server.
Options EmailNotificationOptions Specify the object returned from the Get- true false
on page 266 DtEmailNotificationOptions cmdlet. See
Get-DtEmailNotificationOptions on page
44.
Outputs
EmailNotificationOptions on page 266
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtEmailOptions = Get-DtEmailNotificationOptions -ServiceHost $DtServerObject
$DtEmailOptions.Enabled = $true
$DtEmailOptions.SmtpServer = "mail.company.com"
Set-DtEmailNotificationOptions -ServiceHost $DtServerObjectAlpha -Options $DtEmailOptions
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the default Carbonite e-mail notification options
are stored in the variable DtEmailOptions. Two of the options are then changed. The Enabled option is set to true
which turns on the e-mail notification feature. The SMTP server is also configured for mail.company.com. Finally
those changes for the email notification options are set on the server. The connections for the server object are
then closed.
Syntax
Set-DtJobCredentials [-ServiceHost] <Server> [-JobId] <Guid> [-Source <PSCredential>] [-Target
<PSCredential>] [-OtherServers <Server[]>] [<CommonParameters>]
Detailed Description
Updates the credentials for the source, appliance, and VMware host servers used in the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer or New-DtUvraServer cmdlet. See New-
DtServer on page 109 or New-DtUvraServer on page
114.
JobId Guid on page Specify the job GUID returned from the New-DtJob true false
285 cmdlet or the Id within the job information returned
from the Get-DtJob cmdlet. See New-DtJob on page
106 and Get-DtJob on page 48.
Source PSCredential Specify the credential object returned from the false false
on page 328 Windows PowerShell Get-Credential cmdlet. This
password will not be visible because Windows stores
an encrypted password. See Hiding your password in
a PowerShell script on page 521 for basic details on
using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
Target PSCredential Specify the credential object returned from the fasle false
on page 328 Windows PowerShell Get-Credential cmdlet. This
password will not be visible because Windows stores
an encrypted password. See Hiding your password in
a PowerShell script on page 521 for basic details on
using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
Other Server on page Specify the server object returned from the New- false false
Servers 340 DtServer or New-DtUvraServer cmdlet. See New-
DtServer on page 109 or New-DtUvraServer on page
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped from
the Get-DtJob cmdlet and used in this cmdlet. See
Get-DtJob on page 48.
Outputs
None
Examples
$DtCredentials = Get-Credential domain\administrator
$DtServerObjectAlpha = New-DtServer -Name alpha -Credential $DtCredentials
$DtServerObjectBeta = New-DtServer -Name beta -Credential $DtCredentials
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Set-DtJobCredentials -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id -Source $DtCredentials -
Target $DtCredentials
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
You will be prompted for credentials for the domain\administrator account and they will be stored in DtCredentials.
Then a server object is created for the servers alpha and beta using the stored credentials. The objects are stored
in DtServerObjectAlpha and DtServerObjectBeta, respectively. 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. Finally, the
credentials are updated for the job using the stored credentials. The connections for the server object are then
closed.
Syntax
Set-DtLogicalItemSelection [-ServiceHost] <Server> [-WorkloadId] <Guid> [-LogicalPath] <String> [-Unselect]
[<CommonParameters>]
Detailed Description
This cmdlet adds or removes a logical items for the specified workload for the specified server. Adding or
removing logical items will add or remove physical rules depending on the workload type.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
source server.
WorkloadId Guid on Specify the workload GUID returned from the New- true false
page 285 DtWorkload cmdlet using the workload type name
parameter. See New-DtWorkload on page 117.
Logical String Specify the path of an item returned from Get- true false
Path DtLogicalItem. See Get-DtLogicalItem on page 53.
Unselect Switch Specify this option if you want to remove the logical false false
Parameter item.
Outputs
ChangedItems on page 235
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtWorkloadGuid = New-DtWorkload -ServiceHost $DtServerObjectAlpha -WorkloadTypeName
FilesAndFolders
$DtLogicalItem = Get-DtLogicalItem -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGUID
Set-DtLogicalItemSelection -ServiceHost $DtServerObjectAlpha -WorkloadId $DtWorkloadGuid -LogicalPath
$DtLogicalItem[0].Path
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
Syntax
Set-DtOption [-ServiceHost] <Server> [-Setting] <Hashtable>] [<CommonParameters>]
Detailed Description
This cmdlet sets the value of the Carbonite server or job option for the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost could be your
source or target server.
Setting Hashtable Specify a hash table using the format @ true false
{option1=value1; option2=value2}. See Server and job
settings on page 538 details on job and server
options.
Name String Specify the name of the job or server option. See true false
Server and job settings on page 538 details on job and
server options.
IntValue Int64 Specify an integer value for the server or job option. true false
See Server and job settings on page 538 details on job
and server options.
StringValue String Specify a single string (text) value for the server or job true false
option
MultiString String Specify multiple string (text) values for the server or true false
Value job option in an array using the format @(string1,
string2).
Outputs
None
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the server settings MaxChecksumBlocks and
MirrorChunkSize are set to 64 and 131072, respectively, on the server. The connections for the server object are
then closed.
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then it sets the MirrorChunkSize server setting to
64. The connections for the server object are then closed.
See Viewing and setting job and server options on page 516 for a sample script that gathers and sets several
Carbonite job and server options.
Syntax
Set-DtPathBlocking [-ServiceHost] <Server> [-SourceAddress] <String> [[-Mode] <PathBlockingMode>]
[<CommonParameters>]
Detailed Description
This cmdlet blocks writing to the replica source data located on the target, keeping the data from being changed
outside of Carbonite processing.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
Source String Specify the IP address of the source, including the port, for true false
Address example, 123.123.123.123:6320. If you are specifying an
IPv6 address, enclose the address in brackets, for
example [2002:ac10:a00:3::123]:6320.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Set-DtPathBlocking -ServiceHost $DtServerObjectAlpha -SourceAddress "112.42.74.29:6320" -Mode Blocked
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then it sets the target paths associated with the
replica data from the specified source IP address to blocked. The connections for the server object are then
closed.
Syntax
Set-DtScriptCredentials [-ServiceHost] <Server> [-Credential] <PSCredential> [<CommonParameters>]
Detailed Description
This cmdlet sets the credentials for Carbonite to use when running scripts on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost could be your
source or target server.
Credential PSCredential Specify the credential object returned from the true false
on page 328 Windows PowerShell Get-Credential cmdlet. This
password will not be visible because Windows
stores an encrypted password. See Hiding your
password in a PowerShell script on page 521 for
basic details on using this cmdlet. See your
Windows PowerShell documentation for detailed
instructions.
UserName String Specify a user name. If you are using a domain, true false
specify domain\user name.
Password String Specify the password associated with the user you true false
have entered. This password will be visible in plain
text.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtCredentials = Get-Credential domain\administrator
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then you will be prompted for credentials for the
domain\administrator account and those credentials will be stored in the variable DtCredentials. Finally, the
credentials used for Carbonite scripts on the server will be set to the stored credentials. The connections for the
server object are then closed.
Syntax
Set-DtServerCredential -Input <Server> -Credential <PSCredential> [<CommonParameters>]
Detailed Description
This cmdlet changes the credentials associated with the server object that has already been created using the
New-DtServer cmdlet. See New-DtServer on page 109 for more details on creating a server object.
Parameters
Pipeline
Name Type Description Required
Input
Input String or Server Specify the name or IP address of the server, true false
on page 340 cluster, or cluster node. If you need to specify a
port, add :xxxx where xxxx is the port number, for
example, alpha:6325. If you are specifying an IPv6
address and need to specify a port, you must
enclose the address in brackets, for example
[2002:ac10:a00:3::123]:6320.
Specify the server object returned from the New-
DtServer cmdlet. See New-DtServer on page 109.
Credential PSCredential Specify the credential object returned from the true false
on page 328 Windows PowerShell Get-Credential cmdlet. This
password will not be visible because Windows
stores an encrypted password. See Hiding your
password in a PowerShell script on page 521 for
basic details on using this cmdlet. See your
Windows PowerShell documentation for detailed
instructions.
Outputs
Server on page 340
Examples
$DtCredentialEncrypted = Get-Credential
Set-DtServerCredential -Input alpha -Credential $DtCredential
Credentials are stored in a variable called $DtCredential. The script will prompt you to supply the username and
password and the credentials will be encrypted. Then the stored credentials are used to update the current
credentials on the server alpha.
Syntax
Set-DtVmwareCertificatePolicy [-ServiceHost] <Server> [-VmwareServer] <String> [-Policy]
<VmwareCertificatePolicy> [<CommonParameters>]
Detailed Description
This cmdlet sets the VMware certificate policy on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page 340 Specify the server object true false
Host returned from the New-
DtServer cmdlet. See New-
DtServer on page 109. For this
cmdlet, the -ServiceHost
should be your target server.
Outputs
None
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$TestResult = Test-DtVmwareCertificatePolicy -ServiceHost $DtServerObjectBeta -VmwareServer
112.47.15.6
Set-DtVmwareCertificatePolicy -ServiceHost $DtServerObjectBeta -VmwareServer 112.47.15.6 -Policy
AllowAll
Install-DtVmwareCertificate -ServiceHost $DtServerObjectBeta -Certificate $TestResult[1]
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
Syntax
Start-DtJob [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet starts the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Start-DtJob -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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
Syntax
Start-DtJobFailback [-ServiceHost] <Server> [-JobId] <Guid> [-FailbackOptions] <FailbackOptions>
[<CommonParameters>]
Detailed Description
This cmdlet starts failback for the specified job using the specified failback options.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page 285 Specify the job GUID returned from the New- true false
DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Failback FailbackOptions Specify the failback options returned from the Get- true false
Options on page 273 DtRecommendedFailbackOptions cmdlet. See
Get-DtRecommendedFailbackOptions on page 63.
JobInfo JobInfo on page Specify the job information returned from the Get- true true
288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
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. The failback
options are stored in DtFailbackOptions. Failback is then started using the failback options. The connections for
the server object are then closed.
Syntax
Start-DtJobFailover [-ServiceHost] <Server> [-JobId] <Guid> [-FailoverOptions] <FailoverOptions>
[<CommonParameters>]
Detailed Description
This cmdlet starts failover for the specified job using the specified failover options.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page 285 Specify the job GUID returned from the New-DtJob true false
cmdlet or the Id within the job information returned
from the Get-DtJob cmdlet. See New-DtJob on
page 106 and Get-DtJob on page 48.
Failover FailoverOptions Specify the failover options returned from the Get- true false
Options on page 274 DtRecommendedFailoverOptions cmdlet. See Get-
DtRecommendedFailoverOptions on page 65.
JobInfo JobInfo on page Specify the job information returned from the Get- true true
288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
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. The failover
options are stored in DtFailoverOptions, and then the FailoverMode is set to 1 for a test failover. Failover is then
started using the failover options. The connections for the server object are then closed.
Syntax
Start-DtJobRestore [-ServiceHost] <Server> [-JobId] <Guid> [-RestoreOptions] <RestoreOptions>
[<CommonParameters>]
Detailed Description
This cmdlet starts the restoration process for the specified job using the specified restoration options.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page 285 Specify the job GUID returned from the New-DtJob true false
cmdlet or the Id within the job information returned
from the Get-DtJob cmdlet. See New-DtJob on
page 106 and Get-DtJob on page 48.
Restore RestoreOptions Specify the restoration options returned from the true false
Options on page 336 Get-DtRecommendedRestoreOptions cmdlet. See
Get-DtRecommendedRestoreOptions on page 71.
JobInfo JobInfo on page Specify the job information returned from the Get- true true
288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. 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. The restoration options are stored in DtRestoreOptions,
and then the ProcessOrphans option is set to true. Restoration is then started using the restoration options. The
connections for the server object are then closed.
Syntax
Start-DtJobReverse [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet starts the reverse process for the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Start-DtJobReverse -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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
Syntax
Start-DtMirror [-ServiceHost] <Server> [-JobId] <Guid> [-MirrorParameters] <MirrorParameters> [-ConnectionId
<Guid>] [<CommonParameters>]
Detailed Description
This cmdlet starts mirroring on the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109. For
this cmdlet, the -ServiceHost should be your target
server.
JobId Guid on page 285 Specify the job GUID returned from the New-DtJob true false
cmdlet or the Id within the job information returned from
the Get-DtJob cmdlet. See New-DtJob on page 106
and Get-DtJob on page 48.
Connection ConnectionId on Specify the connection ID returned from the Get- false false
Id page 242 DtConnectionIds cmdlet. See Get-DtConnectionIds on
page 39.
JobInfo JobInfo on page Specify the job information returned from the Get- true true
288 DtJob cmdlet. The job information can be piped from
the Get-DtJob cmdlet and used in this cmdlet. See
Get-DtJob on page 48.
Outputs
ActivityToken on page 225
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. The mirror
options are stored in DtMirrorChecksum. The ComparisonCriteria value is changed to checksum and the Options
are set to Synchronize and CalculateDifferences. Then the mirror is started for the job using the stored mirroring
options. The connections for the server object are then closed.
Syntax
Start-DtOrphansProcessing [-ServiceHost] <Server> [-JobId] <Guid> [-ConnectionId <Guid>]
[<CommonParameters>]
Detailed Description
This cmdlet starts orphan files processing on the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Connection ConnectionId Specify the connection ID returned from the Get- false false
Id on page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
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. Orphan file
processing is then started for the job. The connections for the server object are then closed.
Syntax
Start-DtReplication [-ServiceHost] <Server> [-JobId] <Guid> [-ConnectionId <Guid>] [<CommonParameters>]
Detailed Description
This cmdlet starts replication on the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Connection ConnectionId Specify the connection ID returned from the Get- false false
Id on page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Start-DtReplication -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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. Replication is
then started for the job. The connections for the server object are then closed.
Syntax
Start-DtVerify [-ServiceHost] <Server> [-JobId] <Guid> [-Synchronize] [-Newer] [-Checksum] [-ProcessOrphans]
[-ConnectionId <Guid>] [<CommonParameters>]
Detailed Description
This cmdlet starts the Carbonite verification process to check that the replica source data on the target is identical
to the actual data on the source
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page
109. For this cmdlet, the -ServiceHost should be
your target server.
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Synchronize Switch Mirrors to the target any protected files that are false false
Parameter 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.
Newer Switch If you are mirroring files to the target during the false false
Parameter 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.
Checksum Switch If you are mirroring files to the target during the false false
Parameter
Process Switch If you are mirroring files to the target during the false false
Oprhans Parameter verification process with the synchronize option,
this option will delete orphaned files on the target.
Connection ConnectionId Specify the connection ID returned from the Get- false false
Id on page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this
cmdlet. See Get-DtJob on page 48.
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.
Syntax
Stop-DtJob [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet stops the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Stop-DtJob -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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
Syntax
Stop-DtMirror [-ServiceHost] <Server> [-JobId] <Guid> [-ConnectionId <Guid>] [<CommonParameters>]
Detailed Description
This cmdlet stops mirroring on the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Connection ConnectionId Specify the connection ID returned from the Get- false false
Id on page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Stop-DtMirror -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
Syntax
Stop-DtReplication [-ServiceHost] <Server> [-JobId] <Guid> [-ConnectionId <Guid>] [<CommonParameters>]
Detailed Description
This cmdlet stops replication on the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Connection ConnectionId Specify the connection ID returned from the Get- false false
Id on page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Stop-DtReplication -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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. Replication is
then stopped for the job. The connections for the server object are then closed.
Syntax
Stop-DtReplicationService [-ServiceHost] <Server> [<CommonParameters>]
Detailed Description
This cmdlet stops the Double-Take service on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or target server.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Stop-DtReplicationService -ServiceHost $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the Double-Take service is stopped on the
server. The connections for the server object are then closed.
Syntax
Suspend-DtJob [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet paused a job. All jobs from the same source to the same IP address on the target will be paused.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Suspend-DtJob -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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
Syntax
Suspend-DtMirror [-ServiceHost] <Server> [-JobId] <Guid> [-ConnectionId <Guid>] [<CommonParameters>]
Detailed Description
This cmdlet pauses mirroring.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Connection ConnectionId Specify the connection ID returned from the Get- false false
Id on page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Suspend-DtMirror -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
Disconnect-DtServer -ServiceHost $DtServerObjectBeta
Syntax
Suspend-DtTarget [-ServiceHost] <Server> -All [<CommonParameters>]
Detailed Description
This cmdlet pauses Carbonite processing on the target. Incoming Carbonite data from the source will be queued
on the target. All active jobs to the target will complete the operations already in progress. Any new operations will
be queued on the target until the target is resumed. The data will not be committed until the target is resumed.
Pausing the target only pauses Carbonite processing, not the entire server.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
All Switch Execute the cmdlet on all jobs that are present true false
Parameter
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Connection ConnectionId Specify the connection ID returned from the Get- false false
Id on page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
ActivityToken on page 225
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. Carbonite
processing for the job is then paused. The connections for the server object are then closed.
Syntax
Test-DtActiveDirectoryCredentials [-ServiceHost] <Server> [-Credential] <PSCredential> -ComputerDomain
<String> -ComputerName <String> [<CommonParameters>]
Detailed Description
This cmdlet tests if the specified credentials have privileges to update Active Directory on the specified server's
domain.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost could be your
source or target server.
Credential PSCredential Specify the credential object returned from the false false
on page 328 Windows PowerShell Get-Credential cmdlet. This
password will not be visible because Windows
stores an encrypted password. See Hiding your
password in a PowerShell script on page 521 for
basic details on using this cmdlet. See your
Windows PowerShell documentation for detailed
instructions.
UserName String Specify a user name. If you are using a domain, true false
specify domain\user name.
Password String Specify the password associated with the user you true false
have entered. This password will be visible in plain
text.
Outputs
Boolean
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then you will be prompted for credentials for the
domain\administrator account and those credentials will be stored in the variable DtCredentials. Finally, the stored
credentials will be tested to see if they can update Active Directory on the specified domain and computer. The
connections for the server object are then closed.
Syntax
Test-DtEmailNotification [-ServiceHost] <Server> [-Options] <EmailNotificationOptions> [-To] <String> [-Body]
<String> [<CommonParameters>]
Detailed Description
Tests the e-mail options configured with Set-DtEmailNotificationOptions by attempting to send an e-mail to the
specified recipient. See Set-DtEmailNotificationOptions on page 150
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page 340 Specify the server object returned from true false
Host the New-DtServer cmdlet. See New-
DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source or
target server.
Options EmailNotificationOptions Specify the object returned from the Get- true false
on page 266 DtEmailNotificationOptions cmdlet. See
Get-DtEmailNotificationOptions on page
44.
To String Specify the e-mail address that the test true false
Carbonite e-mail message should be sent
to. Multiple addresses can be separated
by a comma.
Body String Specify the text of the test Carbonite true false
email message.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtEmailOptions = Get-DtEmailNotificationOptions -ServiceHost $DtServerObject
$DtEmailOptions.Enabled = $true
$DtEmailOptions.SmtpServer = "mail.company.com"
Set-DtEmailNotificationOptions -ServiceHost $DtServerObjectAlpha -Options $DtEmailOptions
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the default Carbonite e-mail notification options
are stored in the variable DtEmailOptions. Two of the options are then changed. The Enabled option is set to true
which turns on the e-mail notification feature. The SMTP server is also configured for mail.company.com. Those
changes for the email notification options are set on the server. Finally a test message is sent to the
administrator@mail.company.com addresses with the specified message text using the configured e-mail
notification options. The connections for the server object are then closed.
Syntax
Test-DtScript [-ServiceHost] <Server> [-Path] <String> [[-Arguments] <String>] [[-InteractionMode]
<DesktopInteractionMode>] [<CommonParameters>]
Detailed Description
This cmdlet tests the specified script on the specified server using the credentials from Set-DtScriptCredentials
on page 158. If necessary, manually undo any changes that you do not want after testing the script.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page 340 Specify the server object returned from true false
Host the New-DtServer cmdlet. See New-
DtServer on page 109. For this cmdlet,
the -ServiceHost could be your source
or target server.
Path String Specify the full path and script name true false
Outputs
Int32
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Test-DtScript -ServiceHost $DtServerObjectAlpha -Path "C:\PathDir\ScriptName" -Arguments "arg1 arg2" -
InteractionMode Interact
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then the script called ScriptName (located in
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then PowerShell is launched and the arguments
passed to PowerShell are the PowerShell script myscript.ps1 (located in C:\my scripts) and the arguments ars1
and arg2. The PowerShell execution policy is set to RemoteSigned so the PowerShell script will execute. The
script is set to run silently in the background. The connections for the server object are then closed.
Syntax
Test-DtScriptCredentials [-ServiceHost] <Server> [-Credential <PSCredential>] [<CommonParameters>]
Detailed Description
This cmdlet tests the specified credentials on the specified server to confirm if they have administrative rights
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost could be your
source or target server.
Credential PSCredential Specify the credential object returned from the false false
on page 328 Windows PowerShell Get-Credential cmdlet. This
password will not be visible because Windows
stores an encrypted password. See Hiding your
password in a PowerShell script on page 521 for
basic details on using this cmdlet. See your
Windows PowerShell documentation for detailed
instructions.
UserName String Specify a user name. If you are using a domain, true false
specify domain\user name.
Password String Specify the password associated with the user you true false
have entered. This password will be visible in plain
text.
Outputs
Boolean
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
$DtCredentials = Get-Credential domain\administrator
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then you will be prompted for credentials for the
domain\administrator account and those credentials will be stored in the variable DtCredentials. Finally, the
credentials will be tested to confirm if they have administrative rights on the server. The connections for the server
object are then closed.
Syntax
Test-DtVmwareCertificatePolicy [-ServiceHost] <Server> [-VmwareServer] <String> [<CommonParameters>]
Detailed Description
This cmdlet tests to see if the current policy or any valid certificates will allow a connection the specified VMware
server. A true return indicates a connection can be made. A false return includes an X509Certificate2 object which
can be used in the Install-DtVmwareCertificate on page 95 cmdlet. See X509Certificate2 Class at
https://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.x509certificate2
(v=vs.110).aspx on the Microsoft MSDN web site for details on the object returned with a false test.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New- true false
Host page 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
VmwareServer String Specify the name of the VMware server (ESX host true false
or vCenter) where the target server is located.
Outputs
Boolean
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$TestResult = Test-DtVmwareCertificatePolicy -ServiceHost $DtServerObjectBeta -VmwareServer
112.47.15.6
Set-DtVmwareCertificatePolicy -ServiceHost $DtServerObjectBeta -VmwareServer 112.47.15.6 -Policy
AllowAll
Install-DtVmwareCertificate -ServiceHost $DtServerObjectBeta -Certificate $TestResult[1]
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 server $DTServerObjectBeta is tested to see if
the current policy or any valid certificates will allow a connection to the specified VMware server. In this example,
assume the return is false. The VMware certificate policy on the server $DTServerObjectBeta is then set to allow
Syntax
Undo-DtJobFailover [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet starts the undo failover process for the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Undo-DtJobFailover -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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
Syntax
Uninstall-DoubleTake [-RemoteServer] <Server> [-AsJob] [<CommonParameters>]
Detailed Description
This cmdlet uninstalls Carbonite on the specified server.
Parameters
Pipeline
Name Type Description Required
Input
Remote Server on Specify the server object returned from the New- true false
Server page 340 DtServer cmdlet. See New-DtServer on page 109.
AsJob Switch Specify if you want the uninstallation to occur false false
Parameter asynchronously in the background, returning the
PowerShell command immediately. You can get the
status of each uninstallation using the Windows
PowerShell Get-Job command. Without this parameter,
each uninstallation specified will be executed
synchronously and the current activity of the current
uninstallation will be displayed.
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password
Uninstall-Doubletake -RemoteServer $DtServerObjectAlpha
Disconnect-DtServer -ServiceHost $DtServerObjectAlpha
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns
the server object to the variable called DtServerObjectAlpha. Then Carbonite is uninstalled from the server. The
connections for the server object are then closed.
Syntax
Update-DtShares [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet forces a job status update immediately rather than waiting for the next scheduled poll. The default
polling interval is 3 seconds. For Windows servers, a non-default registry setting can be created to change the
polling interval.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Update-DtJobStatus -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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
Syntax
Update-DtShares [-ServiceHost] <Server> [-JobId] <Guid> [<CommonParameters>]
Detailed Description
This cmdlet updates source share information on the target for the specified job.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on Specify the server object returned from the New-DtServer true false
Host page 340 cmdlet. See New-DtServer on page 109. For this cmdlet,
the -ServiceHost should be your target server.
JobId Guid on Specify the job GUID returned from the New-DtJob cmdlet true false
page 285 or the Id within the job information returned from the Get-
DtJob cmdlet. See New-DtJob on page 106 and Get-DtJob
on page 48.
JobInfo JobInfo on Specify the job information returned from the Get-DtJob true true
page 288 cmdlet. The job information can be piped from the Get-
DtJob cmdlet and used in this cmdlet. See Get-DtJob on
page 48.
Outputs
ActivityToken on page 225
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
Update-DtShares -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id
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
Syntax
Wait-DtConfirmJobOptions [-ServiceHost] <Server> -Token <ActivityToken> [-Any] [-Timeout <Int32>]
[<CommonParameters>]
Detailed Description
This cmdlet waits for the job validation process triggered by Confirm-DtJobOptions on page 27 to complete before
processing any additional cmdlets.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
Token ActivityToken Specify the confirm action object returned from the true false
on page 225 Confirm-DtJobOption cmdlet. See Confirm-
DtJobOptions on page 27.
Any Only wait for the first validation to finish before false false
continuing
Timeout Int32 Specify the length of time, in seconds, to wait for the false false
process to complete. For example, 120 would wait
two minutes and then the next cmdlet would
processed. If you set the timeout to zero (0), there is
no timeout delay and the next cmdlet is immediately
processed. If you do not specify a timeout parameter,
the timeout will default to forever.
Outputs
VerificationStep on page 379
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
$DtJobForAlpha = Get-DtJob -ServiceHost $DtServerObjectBeta | Where-Object {
$_.Statistics.CoreConnectionDetails.SourceMachineName -eq $DtServerObjectAlpha}
$DtValidation = Confirm-DtJobOptions -ServiceHost $DtServerObjectBeta -JobId $DtJobForAlpha.Id -
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. The job options
used by the job are confirmed, and the validation result is stored in DtValidation. The script then waits until the
validation is complete before continuing. The connections for the server object are then closed.
Syntax
Wait-DtMirrorComplete [-ServiceHost] <Server> [-JobId] <Guid> [-PollingInterval <Int32>] [-ConnectionId
<Guid>] [<CommonParameters>]
Detailed Description
This cmdlet waits for the mirroring process to complete before processing any additional cmdlets.
Parameters
Pipeline
Name Type Description Required
Input
Service Server on page Specify the server object returned from the New- true false
Host 340 DtServer cmdlet. See New-DtServer on page 109.
For this cmdlet, the -ServiceHost should be your
target server.
JobId Guid on page Specify the job GUID returned from the New- true false
285 DtJob cmdlet or the Id within the job information
returned from the Get-DtJob cmdlet. See New-
DtJob on page 106 and Get-DtJob on page 48.
Polling Int32 Specify the amount of time, in hh:mm:ss, to wait false false
Interval before checking to see if the mirror has completed.
Connection ConnectionId Specify the connection ID returned from the Get- false false
Id on page 242 DtConnectionIds cmdlet. See Get-
DtConnectionIds on page 39.
JobInfo JobInfo on Specify the job information returned from the Get- true true
page 288 DtJob cmdlet. The job information can be piped
from the Get-DtJob cmdlet and used in this cmdlet.
See Get-DtJob on page 48.
Outputs
MirrorState on page 438
Examples
$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password
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. The mirror
options are stored in DtMirrorChecksum. The ComparisonCriteria value is changed to checksum and the Options
are set to Synchronize and CalculateDifferences. Then the mirror is started for the job using the stored mirroring
options. The script will wait for mirroring to complete before continuing. The script will check ever five minutes to
see if mirroring is complete. The connections for the server object are then closed.
Parameter of
ActivationCode on page 220
Properties
Name Type Description
Name String This value is the name of the license key attribute.
Value Int64 This value is the numeric value associated with the license key
attribute.
Parameter of
ActivationStatus on page 223
Properties
Name Type Description
Attributes ActivationAttribute [ ] on page 219 This value represents the attributes of the license.
IsEvaluation Boolean This value is true if the license key is an evaluation license;
otherwise, it is false.
IsExpired Boolean This value is true if the license is expired; otherwise, it is false.
IsNodeLocked Boolean This value is true if the license key must be activated;
otherwise, it is false.
IsValid Boolean This value is true if the license key is valid; otherwise, it is
false.
LicenseType LicenseType on page 435 This value represents the type of license.
MajorVersion Int32 This value is the major version of the release associated with
this license.
MinorVersion Int32 This value is the minor version of the release associated with
this license.
ProductCode Int32 This value is the product code associated with this license.
SerialNumber Int32 This value is the serial number associated with this license.
Returned by
Request-DtOnlineActivation on page 131
Properties
Name Type Description
ActivationKey String This value is the activation key.
EmailAddress String This value is the email address to register the activation key.
Error String This value is the text for any error messages from the activation
process.
Quantity Int32 This value is the quantity associated with the license.
ServiceHost Server on page 340 This value is a server object returned from the New-DtServer
cmdlet. See New-DtServer on page 109.
ServerInformation String This value is the unique server information used to generate the
activation key for this particular server.
Returned by
Get-DtActivationStatus on page 35, Set-DtActivationCode on page 146
Properties
Name Type Description
AddOnCodes ActivationCode [ ] on page 220 This value represents the current add-on licenses on this
server.This property is no longer used.
Codes ActivationCode [ ] on page 220 This value represents the current licenses on this server.
IsNodeLocked Boolean This value is true if the license key must be activated;
otherwise, it is false.
IsValid Boolean This value is true if the license key is valid; otherwise, it is
false.
Returned by
Get-DtJobActionStatus on page 50
Parameter of
RepairStatus on page 333, VerificationStatus on page 378
Properties
Name Type Description
Duration TimeSpan This value is the duration of the activity.
RequesterUserName String The requester is the user who initiated the activity.
Status ActivityCompletionStatus on page 408 This value represents if or how the activity completed.
TimeStamp DateTimeOffset This value is the time stamp for the activity.
Token ActivityToken on page 225 This value is a unique identifier for the request.
Returned by
Checkpoint-DtConnection on page 22, Confirm-DtJobOptions on page 27, Edit-DtJob on page 31, Invoke-DtQueueTask on page 98, Remove-DtJob on
page 120, Remove-DtSnapshot on page 124, Repair-DtJobOptions on page 128, Resume-DtJob on page 135, Resume-DtMirror on page 137, Resume-
DtTarget on page 139, Start-DtJob on page 163, Start-DtJobFailback on page 165, Start-DtJobFailover on page 167, Start-DtJobRestore on page 169,
Start-DtJobReverse on page 171, Start-DtMirror on page 173, Start-DtOrphansProcessing on page 175, Start-DtReplication on page 177, Start-DtVerify
on page 179, Stop-DtJob on page 181, Stop-DtMirror on page 183, Stop-DtReplication on page 185, Suspend-DtJob on page 188, Suspend-DtMirror on
page 190, Suspend-DtTarget on page 192, Undo-DtJobFailover on page 204, Update-DtJobStatus on page 207, Update-DtShares on page 209
Parameter of
ActivityStatusEntry on page 224, Get-DtVerificationStatus on page 87, Wait-DtConfirmJobOptions on page 211
Properties
Name Type Description
ActivityNameFormatParameters String This value is the activity format parameters.
Parameter of
JobOptions on page 291
Properties
Name Type Description
AagInstances String This value is the instance name corresponding to the
SQL AlwaysOn Availability Group Server. This value should
never contain more than one entry.
SqlMigrationOptions SqlMigrationOptions on page 360 This value includes the options for a SQL migration job.
TestPostFailoverScript String This value is the path and name of the script to run after the
target is brought online during a test failover.
TestPreFailbackScript String This value is the path and name of the script to run before
failing back after a test failover.
Parameter of
JobQualificationResults on page 294
Properties
Name Type Description
SqlMigration SqlMigrationQualificationResults on This value represents the SQL migration qualification
page 362 information.
Parameter of
BandwidthOptions on page 231
Properties
Name Type Description
DaysOfWeek Weekdays on page 468 This values is the days of the week to which the entry applies.
EndTime DateTime This value is the end time of the entry. It should be between
00:00:00 and 23:59:59 (hh:mm:ss). This value is only applicable
if the BandwidthOptions on page 231.BandwidthScheduleMode
on page 410 is Scheduled.
EntryType BandwidthEntryType on page 409 This value represents a daytime or overnight schedule.
IsUnlimited Boolean This value is true if the entry allows unlimited bandwidth;
otherwise, it is false.
Limit Int64 This value is the bandwidth limit in bytes per second.
Name String This value is the name of the entry. It must be unique among all
entries in the bandwidth schedule.
StartTime DateTime This value is the start time of the entry. It should be between
00:00:00 and 23:59:59 (hh:mm:ss).
Returned by
Get-DtBandwidthLimit on page 37
Parameter of
Set-DtBandwidthLimit on page 148
Properties
Name Type Description
Limit Int64 This value is the bandwidth limit in bytes per second.
Mode BandwidthScheduleMode on page 410 This value is the bandwidth limiting mode.
Parameter of
JobOptions on page 291
Properties
Name Type Description
Entries BandwidthEntry [ ] on page This value represents the bandwidth schedule.
229
This value is copied to
CoreConnectionOptions.ConnectionStartParameters.Schedule.Bandwidth.Entries.
Limit Int64 This value is the bandwidth limit in bytes per second.
Specifications BandwidthSpecification [ ] on This value represents a bandwidth specifications as identified by a common name (for
page 234 example T1) and a numeric speed (for example, 193,000 bytes per second).
This value is copied to
CoreConnectionOptions.ConnectionStartParameters.Schedule.Bandwidth.Specification.
Parameter of
ConnectionSchedule on page 243
Properties
Name Type Description
Current BandwidthScheduleEntry [ ] on page This value is the current bandwidth schedule entry being used.
233
Mode BandwidthScheduleMode on page 410 This value is the bandwidth limiting mode.
This value is copied from BandwidthOptions.Mode.
Specifications BandwidthSpecification [ ] on page 234 This value represents a bandwidth specifications as identified
by a common name (for example T1) and a numeric speed (for
example, 193,000 bytes per second).
This value is copied from BandwidthOptions.Specification.
Parameter of
BandwidthSchedule on page 232
Properties
Name Type Description
DaysOfWeek Weekdays on page 468 This values is the days of the week to which the entry applies.
IsUnlimited Boolean This value is true if the entry allows unlimited bandwidth;
otherwise, it is false.
Limit Int64 This value is the bandwidth limit in bytes per second.
Name String This value is the name of the entry. It must be unique among all
entries in the bandwidth schedule.
StartTime DateTime This value is the start time of the entry. It should be between
00:00:00 and 23:59:59 (hh:mm:ss).
Parameter of
BandwidthOptions on page 231, BandwidthSchedule on page 232
Properties
Name Type Description
Key String This value is a common name that represents a bandwidth
specifications, for example T1.
Type BandwidthSpecificationType on page This value represents the bandwidth specification associated
411 with the type of network (LAN or WAN).
Value Int64 This value is the bandwidth limit in bytes per second.
Returned by
Add-DtPhysicalRule on page 18, Remove-DtPhysicalRule on page 122, Set-DtLogicalItemSelection on page 153
Parameter of
Add-DtPhysicalRule on page 18, Add-DtUvraPhysicalRule on page 20, Remove-DtPhysicalRule on page 122
Properties
Name Type Description
LogicalItems LogicalItems [ ] on page 299 This value represents the logical items that changed.
LogicalRules String [ ] This value is the current logical rules of the workload.
PhysicalItems PhysicalItem [ ] on page 319 This value represents the physical items that changed.
PhysicalRules PhysicalRule [ ] on page 321 This value represents the current physical rules of the
workload.
Parameter of
JobStatistics on page 296
Properties
Name Type Description
SnapshotStorageDetails SnapshotStorageDetails on page 355 This value represents the snapshot storage information.
Parameter of
JobOptions on page 291
Properties
Name Type Description
EngineJobType EngineJobType on page 415 This value is the job type according to the replication engine.
(These jobs are not the same as JobInfo on page
288.JobType.)
HardLinkLogPath String This value is the path for the hard link processing log / report.
Parameter of
JobQualificationResults on page 294
Properties
Name Type Description
TargetFileServerQualificationResults TargetFileServerQualificationResults on This value represents target configuration information for
page 365 clustered files and folders jobs.
TargetGroupDiskOffline Boolean This value is true if the disk resource in the target cluster
group is offline; otherwise, it is false.
Parameter of
JobOptions on page 291
Properties
Name Type Description
CreateTargetResource Boolean This value is true if the target cluster resource will be created;
otherwise, it is false.
ManageTargetResources Boolean This value is true if the target cluster resource will be brought
online during cutover; otherwise, it is false.
TargetClusterResourceNamePrefix String This value is the optional name of the target cluster resource
prefix.
TargetClusterStoragePath String This value is the location of the target cluster storage.
TargetIsCluster Boolean This value is true if the target is a cluster; otherwise, it is false.
TargetVirtualServers String This value is the name of the target virtual servers.
Parameter of
ConnectionStartParameters on page 244, CoreQualificationResults on page 254, RestoreParameters on page 337
Properties
Name Type Description
Algorithm Int32 The algorithm and level properties are used together in the
following combinations.
l Disabled—Compression is disabled if the level equals -
1. The algorithm value is ignored when level equals -1.
l Low compression—Compression is enabled at a low
Level Int32 level if level equals 0 and algorithm equals 10.
l Medium compression—Compression is enabled at a
medium level if level equals 1 and algorithm equals 21.
l High compression—Compression is enabled at a high
level if level equals 2 and algorithm equals 31.
Returned by
Get-DtConnectionIds on page 39
Parameter of
Get-DtBandwidthLimit on page 37, Invoke-DtQueueTask on page 98, Remove-DtSnapshot on page 124, Resume-DtMirror on page 137, Resume-
DtTarget on page 139, Set-DtBandwidthLimit on page 148, Start-DtMirror on page 173, Start-DtOrphansProcessing on page 175, Start-DtReplication on
page 177, Start-DtVerify on page 179, Stop-DtMirror on page 183, Stop-DtReplication on page 185, Suspend-DtMirror on page 190, Suspend-DtTarget on
page 192, Wait-DtMirrorComplete on page 213
Properties
Name Type Description
Key String This value is the description of the associated connection ID.
Parameter of
ConnectionStartParameters on page 244
Properties
Name Type Description
Archive None This property is no longer used.
Bandwidth BandwidthSchedule on page 232 This value represents the bandwidth schedule.
Orphans OrphansSchedule on page 315 This value represents if orphan files (files in the target path
location that are not present on the source) will be deleted.
There is currently no schedule (time-related options) for orphan
files. They can only be deleted or left on the target.
Verify VerifySchedule on page 380 This value represents the verification schedule.
Parameter of
CoreConnectionOptions on page 251
Properties
Name Type Description
ArchiveBinLocation String This property is no longer used.
AreClusterDNSUpdatesEnabled Boolean This value is true if the job is a cluster job and DNS will be
updated during failover; otherwise, it is false.
CompressionLevel CompressionLevel on page 241 This value represents the compression to use for data passed
over the connection.
IsMirrorEnabled Boolean This value is true if a mirror is started when the connection is
created; otherwise, it is false.
IsPathBlockingEnabled Boolean This value is true if the destination paths on the target are
blocked for writing, except by Carbonite; otherwise, it is false.
IsReplicationEnabled Boolean This value is true if replication is started when the connection
is created; otherwise, it is false.
MirrorParameters MirrorParameters on page 306 This value represents the mirror parameters used for the
connection. If this value is null, the default mirror parameters
will be used.
Schedule ConnectionSchedule on page 243 This value represents the bandwidth, orphans, and verification
schedule. These schedule settings will be applied to all
ScriptPoints ScriptPoint [ ] on page 339 This value represents the scripts to be run at specific points
during mirroring.
SnapshotSchedule SnapshotSchedule on page 352 This value represents the snapshot schedule for the target.
Parameter of
FullServerJobDetails on page 282, JobStatistics on page 296
Properties
Name Type Description
BandwidthCollar Int32 This value is the current bandwidth limit. It may vary according
to the bandwidth limit schedule.
CurrentTime DateTimeOffset This value is the time the connection detail was retrieved.
DiskQueueBytes Int64 This value is the number of bytes queued on the target.
InitialMirrorComplete Boolean This value is true if the initial mirror has completed; otherwise,
it is false.
LicenseStatus LicenseStatus on page 434 This values indicates the licensing required for the job.
MirrorBytesSkipped Int64 This value is the number of mirror bytes skipped. Bytes are
skipped because the data is not different on the source and
target.
MirrorOpsQueued Int64 This value is the number of mirror operations queued on the
target.
MirrorPermillage Int16 This value is the percentage of the mirror that is complete. A
mirror may be at 99-100% when it is actually still processing .
For example, this may occur if files were added after the
protected data set size was calculated or if there are alternate
data streams in the protected data set.
MirrorState MirrorState on page 438 This value represents the state of mirroring.
MountPointsDetached Boolean This value is true if the mounts points are detached from the
virtual disk and are folders; otherwise, it is false (and the
mount points are attached to the virtual disk).
PeerMemoryLow Boolean This value is true if memory on the target is low; otherwise it is
false.
ReplicationBytesQueued Int64 This value is the number of replication bytes queued on the
target.
ReplicationSetCalcInProgress Boolean This value is true if the size of the protected data set is being
calculated; otherwise, it is false. Mirroring will start while the
size of the protected data set is being determined. While the
calculation is in progress, the remaining byte count is not
valid.
ReplicationState ReplicationState on page 447 This value represents the state of replication.
Restoring Boolean This value is true if the connection is restoring data; otherwise,
it is false.
SourceAccessLevel AccessLevel on page 405 This value is the source security access. This value will be
null if the Carbonite access level cannot be determined. If the
value is not null and SourceAvailable is false, Carbonite can
connect to the source but was not able to determine at least
Carbonite monitor access with the provided credentials.
SourceAvailable Boolean This value is true if the target can communicate with the
source; otherwise, it is false.
SourceClusterResourceState ClusterResourceState on page 412 This value represents the state of the source cluster resource.
SourceEndpoint String This value is the source endpoint that is the route from the
target back to the source.
SourceEngineAvailable Boolean This value is true if the source replication engine is available;
otherwise, it is false.
SourceRecoveryPointLatency Int64 This value is the length of time replication is behind on the
target compared to the source. This is the time period of data
that would be lost if a failure were to occur at the current time.
SourceRecoveryPointTime DateTimeOffset This value is the time that replication is synchronized between
StartTime DateTimeOffset This value is the time the connection was started.
TargetAccessLevel AccessLevel on page 405 This value is the target security access. This value will be null
if the Carbonite access level cannot be determined. If the
value is not null and TargetAvailable is false, Carbonite can
connect to the target but was not able to determine at least
Carbonite monitor access with the provided credentials.
TargetEngineAvailable Boolean This value is true if the target replication engine is available;
otherwise, it is false.
TargetLoaded Boolean This value is true if the Carbonite target module is loaded on
the server; otherwise, it is false.
TargetQueueBytes Int64 This value is the number of bytes in the target queue.
TargetRoute String This value is the endpoint on the target that is the route the
source is using for the connection.This route is in the format
[address]:[port].
TargetState TargetStates on page 464 This value represents the state of the target.
TotalBytesSent Int64 This value is the total number of bytes that have been sent for
the connection.
TotalOpsQueued Int64 This value is the total number of operations queued on the
target.
TransmissionMode TransmissionMode on page 466 This value represents the state of data transmission from the
source to the target.
Parameter of
JobOptions on page 291
Properties
Name Type Description
ConnectionStartParameters ConnectionStartParameters on page This value represents the parameters used to start the
244 connection between the source and target.
PathTransformations PathTransformation [ ] on page 318 This value represents where the source protected data will be
located on the target.
TargetEnginePort Int32 This value is the port where the engine is listening.
Parameter of
JobStatistics on page 296
Properties
Name Type Description
HighAvailabilityState HighAvailabilityState on page 429 This value represents the state of failover monitoring.
MonitoredAddressStatuses MonitoredAddressStatus [ ] on page This value represents the status of a monitored IP address.
310
MonitorName String This value is the name for this failover monitor.
RestoreStates RestoreStates on page 449 This value represents the state of a restoration connection.
Parameter of
FailbackOptions on page 273, JobOptions on page 291
Properties
Name Type Description
MonitorConfiguration MonitorConfiguration on page 307 This value represents the configuration of failover monitoring.
ShouldPerformLanFailover Boolean This value is for display in the console to determine which
failover option should be selected by default.
TotalTimeAllowed TimeSpan This value is the amount of time allowed without a successful
ping before a failover condition is met.
Parameter of
JobQualificationResults on page 294
Properties
Name Type Description
CompressionLevels CompressionLevel [ ] on page 241 This value is the compression level. It will be null if there is a
problem getting the compression level from the source or
target.
DefaultAllToOneBasePath String This value sets the default base path for the all to one path
mapping, which configures the source replica data to be stored
on a single volume on the target. The default is \source_
name\volume_name. If you are protecting multiple volumes on
the source, each volume would be stored on the same volume
on the target. For example, C:\data and D:\files for the source
Alpha would be stored in D:\alpha\C and D:\alpha\D,
respectively.
SourceEnginePort Int32 This value is the port where the engine is listening.
SourceIPAddresses UnicastIPAddressInfo [ ] on page 374 This value represents the available IP addresses on the
source.
SourceNetworkId String This value is the source network ID used to communicate with
the source from the target.
SourceNetworkInterfaces NetworkInterfaceInfo [ ] on page 312 This value represents the available NICs on the source.
SourceProductInfo ProductInfo on page 325 This value represents the Carbonite product info on the source.
SourceServicePort Int32 This value is the port where the Management Service is
SourceVolumes Volume [ ] on page 386 This value represents the available volumes on the source.
TargetEnginePort Int32 This value is the port where the engine is listening.
TargetIPAddresses UnicastIPAddressInfo [ ] on page 374 This value represents the available IP addresses on the target.
These IP addresses are the possible values that can be used
to populate CoreConnectionOptions on page
251.TargetAddress.
TargetNetworkInterfaces NetworkInterfaceInfo [ ] on page 312 This value represents the available NICs on the target.
TargetProductInfo ProductInfo on page 325 This value represents the Carbonite product info on the target.
TargetVolumes Volume [ ] on page 386 This value represents the available volumes on the target.
Parameter of
DnsDomainDetails on page 262, EmailNotificationOptions on page 266, MonitorConfiguration on page 307, Server on page 340, SqlCredentials on page
357, SqlMigrationOptions on page 360
Properties
Name Type Description
Domain String This value is the name of the domain.
Parameter of
FullServerJobDetails on page 282
Properties
Name Type Description
PercentComplete Int32 This value is the percentage of the cutover that is complete.
State Int32 This value is the state of the cutover. If this value is 1, the
cutover is idle. If this value is 1000, the cutover processing is
complete. Negative numbers are error codes.
Returned by
Get-DtUvraRecommendedRemoveOptions on page 85
Properties
Name Type Description
DeleteOnClusterResourceOffline Boolean This value is true if the job is deleted because the target cluster
resource went offline; otherwise, it is false.
DeleteReplica Boolean This value is true if the replica virtual machine should be
deleted when the job is deleted; otherwise, it is false.
DiscardTargetQueue Boolean This value is true if any operations in the target queue should
be deleted when the job is deleted; otherwise, it is false.
Parameter of
ServerInfo on page 343
Properties
Name Type Description
DiskFlags String This value is the disk flag of the disk.
Partitions Partition [ ] on page 316 This value is the partitions on the disk.
Valid Boolean This value is true if the disk is valid; otherwise, it is false.
Parameter of
TestFailoverOptions on page 371, VRAOptions on page 393
Properties
Name Type Description
DesiredSizeInB String This value is the desired size, in bytes, of the new disk.
Partitions Partition [ ] on page 316 This value is the partitions on the disk.
PreexistingDiskPath String This value is the full path and file name of an existing virtual
disk that you want to reuse. If this value is null, a new virtual
disk will be created.
VirtualDiskPath String This value is the path on the host where the disk should be
stored.
Parameter of
DnsOptions on page 263
Properties
Name Type Description
Credentials Credentials on page 256 This value represents the domain credentials.
DnsServers DnsServerDetail [ ] on page 264 This value represents a DNS server that will be updated during
DNS failover.
IpAddressMappings IpAddressMap [ ] on page 286 This value represents the mapping between source IP address
and target IP address when using DNS failover.
ShouldUpdateTtl Boolean This value is true if the time to live value should be updated;
otherwise, it is false.
UpdateRecordType RecordType on page 444 This value is the record types that will be failed over and failed
back.
Returned by
Get-DtDnsOptions on page 41
Parameter of
JobOptions on page 291
Properties
Name Type Description
AdditionalDns String This value identifies any additional source DNS servers to
update.
AlternateTrustee String This value is the source server trustee, which overrides the
default trustees of "NT AUTHORITY\SYSTEM" and the
source computer account (for clustered environments).
Domains DnsDomainDetails [ ] on page 262 This value represents the domains that will be updated during
failover.
Parameter of
DnsDomainDetails on page 262
Properties
Name Type Description
Address String This value is the IP address of the DNS server.
Origin String This value is the origin of the DNS server, which indicates if the
DNS server was discovered from the source server, the target
server, both servers, or manually specified by the user.
SelectedForUpdate Boolean This value is true if the DNS server will be updated during
failover; otherwise, it is false.
Parameter of
ServerInfo on page 343
Properties
Name Type Description
EFIBootDisk String This value is the disk where /boot/efi is located.
EFIBootDiskPartitionNumber Int32 The value is the partition number where /boot/efi is located.
EFIBootEntryLabel String This value is the label name of the EFI boot entry.
SecureEFIBoot Boolean This value is true if the server is secure EFI boot; otherwise, it
is false.
Returned by
Get-DtEmailNotificationOptions on page 44, Set-DtEmailNotificationOptions on page 150
Parameter of
Test-DtEmailNotification on page 196
Properties
Name Type Description
ConnectionSecurity SmtpConnectionSecurity on page 454 This value represents the SMTP server connection security.
From String This value is the e-mail address that will be placed in the
From field of the email message.
IncludeEventDescriptionInSubject Boolean This value is true if the event description is included in the
email subject; otherwise, it is false.
LoginToSmtpServer Boolean This value is true if you must log in to the SMTP server;
otherwise, it is false.
SmtpCredentials Credentials on page 256 This value represents the credentials used to log into the
SMTP server. Do not set this value if you want to user the
SMTP server anonymously.
SubjectPrefix String This value is the text that will be added to the beginning of the
email subject.
Parameter of
JobStatus on page 297
Properties
Name Type Description
CanPauseMirror Boolean This value is true if mirroring can be paused;otherwise, it is
false.
CanProcessOrphans Boolean This value is true if the orphan file removal process can be
started;otherwise, it is false.
CanRefreshStaus Boolean This value is true if the job's status can be refreshed; otherwise,
it is false.
CanTakeSnapshot Boolean This value is true if the target can take a snapshot of the replica
data;otherwise, it is false.
CanVerify Boolean This value is true if verification of the source data to the target
replica data can be started;otherwise, it is false.
Role String This value is the role of the replication engine for the job. Jobs
may use more than one replication engine connection in their
operation. This property provides a way to differentiate between
the replication engine connections for display purposes.
Returned by
Get-DtEventLogEntry on page 47
Properties
Name Type Description
Category String This value is the text associated with the CategoryNumber.
Index Int32 This value is the index of this event in the event log.
InstanceId Int32 The value is a resource identifier that designates the message
text for the event.
MachineName String This value is the name of the server that generated the event.
ReplacementStrings String This value includes any replacement strings associated with
the event.
Source String This value is the name of the application that generated the
event.
TimeGenerated DateTime This value is the local time when the event was generated.
TimeWritten DateTime This value is the local time when the event was written to the
event log.
UserName String This value is the name of the user that generated the event.
Parameter of
EventLogEntry on page 270
Properties
Name Type Description
Error String The event message is an error message.
Parameter of
JobStatus on page 297
Properties
Name Type Description
Health Health on page 428 This value represents the health of the low level state. Possible
uses include displaying an icon for a low level state.
Parameter of
RecommendedFailbackOptions on page 329, Start-DtJobFailback on page 165
Properties
Name Type Description
NewMonitorOptions CoreMonitorOptions on page 253 This value represents the options for configuring failover
monitoring after a job has been restored to a new source
server.
Returned by
Get-DtUvraRecommendedFailoverOptions on page 83
Parameter of
RecommendedFailoverOptions on page 330, Start-DtJobFailover on page 167
Properties
Name Type Description
FailoverDataAction FailoverDataAction on page 417 This value represents the action to take on the queued target
data before failover.
FailoverMode FailoverMode on page 420 This value represents the live, test, or snapshot style of
failover.
FailoverType FailoverType.Options on page 426 This value represents the automatic or manual style of
failover.
PerformTestFailover Boolean This option is no longer used. Use FailoverMode on page 420
instead.
SkipSourceResourceShutdown Boolean This value is true if the cluster resource is not shut down on
the source during live failover; otherwise, it is false.
SkipSourceServicesShutdown Boolean This value is true if the cluster services is not shut down on
the source during live failover; otherwise, it is false.
SnapshotId Guid This value is the snapshot ID that should be applied to the
target during snapshot failover.
Returned by
Get-DtAllFailoverReports on page 36, Get-DtLatestFailoverReport on page 52
Properties
Name Type Description
failoverSuccess Boolean This value is true if the failover was successful; otherwise, it is
false.
failoverType FailoverStyle on page 423 This value represents a live or test failover.
isReverse Boolean This value is true if this is the reverse of a job; otherwise, it is
false.
snapshotLabel String This value is the label of the snapshot being used. If you are
performing a live failover, this value will be null.
targetedMachineInfo MachineInfoClass on page 305 This value represents the target server's operating system and
version.
times TimeClass on page 373 This value represents the time at various points during failover.
Parameter of
MonitorConfiguration on page 307
Properties
Name Type Description
PostFailbackScript String This value is the full path and file name of the script located on
the target and to be run on the target after failback.
PostFailoverScript String This value is the full path and file name of the script located on
the target and to be run on the target after failover.
PreFailbackScript String This value is the full path and file name of the script located on
the target and to be run on the target before failback.
PreFailbackWait Boolean This value is true if Carbonite will wait for PreFailbackScript to
complete before continuing with the failback operation;
otherwise, it is false.
PreFailoverScript String This value is the full path and file name of the script located on
the target and to be run on the target before failover.
SourcePostFailbackScript String This value is the full path and file name of the script located on
the source and to be run on the source after failback.
Parameter of
JobInfo on page 288
Properties
Name Type Description
Endpoint Uri This value is the endpoint that identifies the location of the
service.
Tag String This value is the tag that identifies the role of the service.
Parameter of
JobOptions on page 291
Properties
Name Type Description
AllToOneMapping Boolean This value is true if files and folders jobs are mapped in an all to
one configuration; otherwise it is false and the mapping is one
to one.
Parameter of
JobOptions on page 291
Properties
Name Type Description
AdditionalStagingFolders String This value is the folders that should be staged on the target.
They will be applied to their actual installation location during
failover.
CreateBackupConnection Boolean This value is true if reverse protection should be configured for
this job; otherwise, it is false.
RemoveOrphans Boolean This value is true if orphan files should be removed for the
reverse connection; otherwise, it is false.
ReverseRoute String This value is the source IP address to be used for the reverse
connection.
ReverseRouteEnginePort Int32 This value is the port where the engine is listening.
ShutdownSourceServer Boolean This value is true if the source server should be shut down
during cutover; otherwise, it is false.
SourceChecksumAll Boolean This value is true if a checksum should be used for all files
when comparing them; otherwise, it is false.
Parameter of
JobStatistics on page 296
Properties
Name Type Description
BackupConnectionDetails CoreConnectionDetails on page 246 This value represents the details of the Carbonite Availability
reverse connection.
CutoverDetails CutoverDetails on page 257 This value represents the Carbonite Migrate cutover detail.
ProtectionConnectionDetails CoreConnectionDetails on page 246 This value represents the details of the protection
connection.
SystemVolumeRevertConnectionDetails CoreConnectionDetails on page 246 This value represents the details of the system volume revert
connection.
Parameter of
FullServerTestFailoverOptions on page 284, SystemStateOptions on page 363
Properties
Name Type Description
SourceNic String This value is the NIC on the source server.
TargetNicList String [ ] This value is the list of NICs on the target server.
TestFailoverTargetNic String This value is the NIC on the test failover server.
TestFailoverTargetNicList String [ ] This value is the list of NICs on the test failover server.
Parameter of
JobOptions on page 291
Properties
Name Type Description
DeleteSnapshots Boolean This value is true if snapshots will be deleted after the test
failover; otherwise, it is false.
TestFailoverServerCredential TestFailoverServerCredentials on page This value represents the server to use for test failover for full
372 server jobs.
NicMappings FullServerNicMappings [ ] on page 283 This value represents the NIC mappings for the test failover
for the full server job.
FailoverName String This value is the name applied to the test failover server. If
the job settings are failing over the server name, the source
name will be used on the test server. If not, the target name
will be retained on the test server.
TestFailoverServerAddress String This value is the IP address used for the test failover
connection.
TestFailoverServerEnginePort Int32 This value is the port used on the test failover server.
TestFailoverServerReservedAddress String This value is the reserved IP address on the test server
Returned by
New-DtFilesAndFoldersJob on page 104, New-DtJob on page 106, New-DtWorkload on page 117
Parameter of
Add-DtPhysicalRule on page 18, Checkpoint-DtConnection on page 22, Close-DtWorkload on page 26, Confirm-DtJobOptions on page 27, Edit-DtJob on
page 31, Get-DtBandwidthLimit on page 37, Get-DtConnectionIds on page 39, Get-DtJob on page 48, Get-DtJobActionStatus on page 50, Get-
DtLogicalItem on page 53, Get-DtQualificationResults on page 61, Get-DtRecommendedFailbackOptions on page 63, Get-
DtRecommendedFailoverOptions on page 65, Get-DtRecommendedPathTransform on page 70, Get-DtRecommendedRestoreOptions on page 71, Get-
DtSnapshot on page 77, Get-DtUvraRecommendedFailoverOptions on page 83, Get-DtUvraRecommendedRemoveOptions on page 85, Get-DtWorkload
on page 88, Get-DtWorkloadPhysicalItem on page 89, Invoke-DtQueueTask on page 98, Remove-DtJob on page 120, Remove-DtPhysicalRule on page
122, Remove-DtSnapshot on page 124, Repair-DtJobOptions on page 128, Resume-DtJob on page 135, Resume-DtMirror on page 137, Resume-
DtTarget on page 139, Save-DtJobDiagnostics on page 142, Set-DtBandwidthLimit on page 148, Set-DtJobCredentials on page 151, Set-
DtLogicalItemSelection on page 153, Start-DtJob on page 163, Start-DtJobFailback on page 165, Start-DtJobFailover on page 167, Start-DtJobRestore
on page 169, Start-DtJobReverse on page 171, Start-DtMirror on page 173, Start-DtOrphansProcessing on page 175, Start-DtReplication on page 177,
Start-DtVerify on page 179, Stop-DtJob on page 181, Stop-DtMirror on page 183, Stop-DtReplication on page 185, Suspend-DtJob on page 188, Suspend-
DtMirror on page 190, Suspend-DtTarget on page 192, Undo-DtJobFailover on page 204, Update-DtShares on page 209, Wait-DtMirrorComplete on page
213
Properties
Name Type Description
Guid String This value is a unique ID.
Parameter of
DnsDomainDetails on page 262
Properties
Name Type Description
ShouldUpdateTtl Boolean This value is true if the time to live value should be updated;
otherwise, it is false.
Parameter of
JobStatus on page 297
Properties
Name Type Description
Duration TimeSpan This value is the duration of the action.
ErrorCode Int32 This value is the error code associated with the action.
MessageId String This value is the message ID for the action. This value can be
used to look up a message associated with this action.
RequestingUserName String This value is the name of the user that requested the action.
Status ActionStatus on page 406 This value represents the status of the action.
Timestamp DateTimeOffset This value is the time when the action occurred.
TitleFormatParameters String This value is the title format parameters for the action.
TitleId String This value is the title ID for the action. This value can be used
to look up a title associated with this action.
Returned by
Get-DtJob on page 48
Parameter of
Checkpoint-DtConnection on page 22, Confirm-DtJobOptions on page 27, Edit-DtJob on page 31, Get-DtBandwidthLimit on page 37, Get-DtJob on page
48, Get-DtQualificationResults on page 61, Get-DtRecommendedFailbackOptions on page 63, Get-DtRecommendedFailoverOptions on page 65, Get-
DtRecommendedRestoreOptions on page 71, Get-DtSnapshot on page 77, Get-DtUvraRecommendedFailoverOptions on page 83, Get-
DtUvraRecommendedRemoveOptions on page 85, Invoke-DtQueueTask on page 98, Remove-DtJob on page 120, Remove-DtSnapshot on page 124,
Resume-DtJob on page 135, Resume-DtMirror on page 137, Resume-DtTarget on page 139, Save-DtJobDiagnostics on page 142, Set-DtBandwidthLimit
on page 148, Set-DtJobCredentials on page 151, Start-DtJob on page 163, Start-DtJobFailback on page 165, Start-DtJobFailover on page 167, Start-
DtJobRestore on page 169, Start-DtJobReverse on page 171, Start-DtMirror on page 173, Start-DtOrphansProcessing on page 175, Start-DtReplication
on page 177, Start-DtVerify on page 179, Stop-DtJob on page 181, Stop-DtMirror on page 183, Stop-DtReplication on page 185, Suspend-DtJob on page
188, Suspend-DtMirror on page 190, Suspend-DtTarget on page 192, Undo-DtJobFailover on page 204, Update-DtShares on page 209, Wait-
DtMirrorComplete on page 213
Properties
Name Type Description
CreatorUserName String This value is the name of the user who created the job.
Features Feature [ ] on page 279 This value represents a service endpoint that provides additional
features for a job.
LoadedFromDisk Boolean This value is true if the job was loaded from persistence;
otherwise, it is false.
Options JobOptions on page 291 This value represents the current options for the job.
OtherHostUris IDictionary This value is the URIs for other servers involved in the job.
SourceHostUriDefault URI This value determins if the source URI has been modified. Do not
modify this value.
Statistics JobStatistics on page 296 This value represents the current statistics of the job.
Status JobStatus on page 297 This value represents the current state of the job.
Parameter of
Confirm-DtJobOptions on page 27, Edit-DtJob on page 31, JobInfo on page 288, New-DtFilesAndFoldersJob on page 104, New-DtJob on page 106,
RecommendedJobOptions on page 331, RepairStatus on page 333
Properties
Name Type Description
ApplicationOptions ApplicationOptions on page 226 This value represents the options for SQL jobs.
BandwidthOptions BandwidthOptions on page 231 This value represents bandwidth limiting configuration.
CloudOptions CloudOptions on page 237 The values represents cloud job options.
CoreConnectionOptions CoreConnectionOptions on page 251 This value represents the options for the job connection.
CoreMonitorOptions CoreMonitorOptions on page 253 This value represents the options for configuring failover
monitoring by using the service monitoring method.
DnsOptions DnsOptions on page 263 This value represents the options for jobs using DNS
failover.
FilesAndFoldersOptions FilesAndFoldersOptions on page 280 This value represents the options for files and folders jobs.
FullServerFailoverOptions FullServerFailoverOptions on page 281 This value represents the options for full server jobs.
FullServerTestFailoverOptions FullServerTestFailoverOptions on page This values represents the test failover options for full server
ManagementServiceTargetPort Int32 This value is the port where the engine is listening.
MonitoringOptions MonitoringOptions on page 311 This value represents the options for configuring failover
monitoring by using the service monitoring method.
SnapshotAdvancedOptions SnapshotAdvancedOptions on page 349 This value represents the advanced options for Linux
snapshots.
SnapshotMonitorOptions SnapshotMonitorOptions on page 351 This value represents the monitoring of snapshot usage
percentage for Linux full server jobs.
SourceNetworkIdForManagementService String This property is the IP address or host name that will be
used for Double-Take Management Service communication
from the target to the source.
SystemStateOptions SystemStateOptions on page 363 This value represents the system state options for full server
jobs.
TargetServicesOptions TargetServicesOptions on page 366 This value represents which target services will be stopped
and started during failover and failback.
UnmanagedConnectionOptions UnmanagedConnectionOptions on page This value represents the options for unmanaged
375 connections which are connections that are not associated
with a known job. These connections were created in a
client outside of the job manager.
Workload Workload on page 398 This value represents the workload being protected by the
job.
The JobOptions class includes all possible configurations for all possible job types, which makes it large and potentially confusing. See Carbonite
Replication Console Set Options page to JobOptions class mapping on page 522 to help identify which JobOptions classes correspond to job options in
the Carbonite Replication Console.
Returned by
Get-DtQualificationResults on page 61
Parameter of
RecommendedJobOptions on page 331
Properties
Name Type Description
Applications ApplicationQualificationResults on page 228 This value represents the SQL migration qualification
information.
CoreQualificationResults CoreQualificationResults on page 254 This value represents the replication engine
connection configuration.
VRAQualificationResults VRAQualificationResults on page 396 This value represents configuration information for
guest-level virtual jobs.
Parameter of
JobInfo on page 288
Properties
Name Type Description
CoreConnectionDetails CoreConnectionDetails on page 246 This value represents the details of the connection.
CloudJobDetails CloudJobDetails on page 236 This values represents the details of a cloud job.
CoreMonitorDetails CoreMonitorDetails on page 252 This value represents the details of failover monitoring.
FullServerJobDetails FullServerJobDetails on page 282 This value represents the details of a full server job.
Parameter of
JobInfo on page 288
Properties
Name Type Description
Actions JobAction [ ] on page 287 This value represents an action recently reported by a job.
CanDelete Boolean This value is true if you can delete the job; otherwise, it is
false.
CanEdit Boolean This value is true if the job can be edited; otherwise, it is false.
CanFailback Boolean This value is true if the job can be failed back; otherwise, it is
false.
CanFailover Boolean This value is true if the job can be failed over; otherwise, it is
false.
CanPause Boolean This value is true if the job can be can be paused; otherwise, it
is false.
CanRestore Boolean This value is true if the job can be restored; otherwise, it is
false.
CanReverse Boolean This value is true if the job can be reversed; otherwise, it is
false.
CanStart Boolean This value is true if the job can be started; otherwise, it is
false.
CanStop Boolean This value is true if the job can be stopped; otherwise, it is
false.
EngineControlStatuses EngineControlStatus on page 268 This value represents the status of the replication engine.
ExtendedLowLevelState ExtendedLowLevelStates on page 272 This value represents additional information about the low
level job state.
Health Health on page 428 This value represents the high level health of the job.
HighLevelState HighLevelState on page 430 This value represents high level job states. High level states
typically map to phases of the job's overall lifecycle, like
mirroring or failing over. Jobs will pass through various high
level states during their lifetime, and the types of high level
states are usually shared between jobs, regardless of job
type.
IsInError Boolean This value is true if the job is in an error state; otherwise, it is
false.
LowLevelState String This value is a low level job state. Low level states typically
map to individual steps the job is performing at any given time,
like attaching virtual disks or updating DNS. Low level states
provide detailed information about a job's current state or
action and will vary between different job types.
PermillageComplete Int32 This value is the percentage of the current activity for that job
that is complete. To display a percentage string for an arbitrary
activity, jobs can provide a value for this property, and that
value will be formatted and displayed in the client. To remove
the display of the percentage, set this property to zero.
Returned by
Get-DtLogicalItem on page 53
Parameter of
ChangedItems on page 235, Get-DtLogicalItem on page 53
Properties
Name Type Description
IsContainer Boolean This value is true if the item is a container of other items; otherwise,
it is false.
IsReadOnly Boolean This value is true if the item is read-only (meaning the Saturation
cannot be changed); otherwise, it is false.
Metadata String This value is any additional metadata that may be displayed for a
particular type of item. This metadata is not in any particular format,
but you must be able to determine the format and decipher the
metadata based on the type.
Name String This value is the name of the item. Typically, this name is used for
display in the user interface.
Saturation SaturationLevel on page 451 This value represents the saturation level of the item. Typically, this
value is used to display a visual state in the user interface.
SaturationDefault SaturationLevel on page 451 This value is the default saturation level of the item. Typically, this
value is used to display a visual state in the user interface.
Parameter of
VolumeGroup on page 388
Properties
Name Type Description
Attributes FileSystemAttributes on page 427 This value represents the file system attributes.
AvailableFreeSpace Int64 This value is the amount of free space on the volume.
CreationTime DateTime This value is the time when the volume was created.
DesiredSize Int64 This value is the desired size of the new volume.
DriveFormat String This value is the file system format of the volume.
IsContainer Boolean This value is true if the volume is a container of other volumes;
otherwise, it is false.
IsSupported Boolean This value is true if the volume type is supported; otherwise, it
is false.
IsSystemDrive Boolean This value is true if the volume is the system volume;
otherwise, it is false.
LastAccessTime DateTime This value is the time when the volume was last accessed.
LastWriteTime DateTime This value is the time when the volume was last written to.
Metadata String This value is any additional metadata that may be displayed for
a particular type of item. This metadata is not in any particular
format, but you must be able to determine the format and
decipher the metadata based on the type.
Name String This value is the name of the volume. Typically, this name is
used for display in the user interface.
PreexistingDiskPath String This value is the full path and file name of an existing virtual
disk that you want to reuse. If this value is null, a new virtual
disk will be created.
Saturation SaturationLevel on page 451 This value represents the saturation level of the volume.
Typically, this value is used to display a visual state in the user
interface.
VirtualDiskPath String This value is the path on the host where the volume should be
stored.
Returned by
Get-DtLogMessage on page 54
Properties
Name Type Description
Hash Int32 This value is the message hash which is used to differentiate
messages written with the same Timestamp.
ProcessId Int32 This value is the process ID of the process that generated the
message.
Sequence Int32 This value is the sequence number of this message in the log
file.
ThreadId Int32 This value is the thread ID of the thread that generated the
message.
Timestamp DateTime This value is the local time when the message was generated.
TimeStampOffset DateTimeOffset This value is the relative UTC time when the message was
generated.
Parameter of
ServerInfo on page 343, TestFailoverOptions on page 371, VRAOptions on page 393
Properties
Name Type Description
VolumeGroup VolumeGroup [ ] on page 388 This value represents the volume group properties.
Parameter of
FailoverReport on page 275
Properties
Name Type Description
os String This value is the server's operating system.
Parameter of
ConnectionStartParameters on page 244, Start-DtMirror on page 173
Properties
Name Type Description
ComparisonCriteria MirrorComparisonCriteria on page 436 This value represents how to compare the source protected
data and the replica on the target.
Options MirrorOperationOptions on page 437 This value represents what mirror operation will be performed.
OverrideJobOrphansProcessing Boolean This value is true if the job's orphan file setting is to be
overridden; otherwise, it is false.
Parameter of
CoreMonitorOptions on page 253
Properties
Name Type Description
ActiveDirectoryCredentials Credentials on page 256 This value represents the Active Directory credentials.
ActiveDirectoryOptions ActiveDirectoryFailoverOptions on page This value represents the Active Directory options.
407
CustomFailover Boolean This value is true if Carbonite is using a custom failover setting
for SQL migration; otherwise, it is false.
DataAction FailoverDataAction on page 417 This value represents the action to take on the queued target
data before failover.
FailoverIPAddressOption FailoverIPAddressesOption on page This value represents which IP addresses should be applied to
418 the target server during failover.
FailoverType FailoverType.Monitor on page 425 This value represents if an entire server is being failed over.
ItemsToFailover FailoverItems on page 419 This value represents what will be failed over to the target.
MaxScriptFailures Int32 This value is the number of times a monitoring script can fail
when using MonitoredAddressConfiguration on page
ProcessingOptions FailoverProcessingOptions on page 421 This value represents how the failover is processed.
ReplaceActions FailoverReplaceActions on page 422 This value represents what identity items are to be replaced on
the target during failover.
ScriptMonitorName String This value is the full path and name of a monitoring script when
using MonitoredAddressConfiguration on page
309.PingMethods on page 443.Script.
Scripts FailoverScriptConfiguration on page 277 This value represents the scripts that should be run at different
stages of failover and failback.
SSMLogPath String This value is the path of the system state (full server
processor) log.
SSMManualReboot Boolean This value is true if the server has to be manually rebooted to
apply the system state after failover; otherwise, it is false.
SSMSourceNicGuids String This value is the global unique IDs associated with the source
NICs.
SSMStagingPath String This value is the path of the staged folders on the target.
SSMTargetNicGuids String This value is the global unique IDs associated with the target
NICs.
Trigger FailoverTrigger on page 424 This value represents when a failover operation is triggered
with respect to the monitored IP addresses.
Parameter of
MonitorConfiguration on page 307
Properties
Name Type Description
Address String This value is the monitored IP address.
EnginePort Int32 This value is the port where the engine is listening.
MacAddress String This value is the MAC address of the NIC for the monitored IP
address.
MaxPingAttempts Int16 This value is the maximum number of ping attempts that will be
attempted before considering the IP address to be failed.
NicName String This value is the name of the NIC. On a Windows server, this is
typically a global unique ID.
PingInterval TimeSpan This value is the interval for how often the monitored IP address
is pinged.
PingMethods PingMethods on page 443 This value represents how the IP address is pinged.
ServicePort Int32 This value is the port where the Management Service is
listening.
Parameter of
CoreMonitorDetails on page 252
Properties
Name Type Description
Address String This value is the monitored IP address.
RemainingTime TimeSpan This value is the amount of time remaining before the IP address
is considered failed.
Parameter of
JobOptions on page 291
Properties
Name Type Description
ServiceMonitoringEnabled Boolean This value is true if the service monitoring method for failover
monitoring is enabled; otherwise it is false.
ServiceMonitoringOptions ServiceMonitoringOptions on page 348 This value represents the options used for the service
monitoring method for failover monitoring.
Parameter of
CoreQualificationResults on page 254, ServerInfo on page 343
Properties
Name Type Description
Description String This value is the description of the NIC.
DnsDomain String This value is the DNS domain assigned to the NIC.
DnsServers String This value is the DNS server assigned to the NIC.
Guid String This value is the unique ID for the NIC. It is equivalent to the
SettingID property of the Win32_NetworkAdapterConfiguration
WMI class as well as the NetworkInterface.Id property in the
Base Class Library (BCL).
IPAddresses UnicastIPAddressInfo [ ] on page 374 This value represents the IP addresses assigned to the NIC.
MacAddresses String This value represents the MAC address of the NIC.
PnpInstanceId String This value is the plug and play instance ID of the NIC.
Parameter of
ServerInfo on page 343
Properties
Name Type Description
Architecture OperatingSystemArchitecture on page This value represents the operating system architecture.
440
CSDVersion Int32 This value is the version of the operating system service pack
as a number.
HasBCDTemplate Boolean This value is true if the BCD template file exists; otherwise it is
false.
ProductType OperatingSystemProductType on page This value represents the type of operating system.
441
ServicePack String This value is the version of the operating system service pack
as a string.
Version OperatingSystemVersion on page 314 This value is the version of the operating system as a number.
VersionString String This value is the version of the operating system as a string.
Parameter of
OperatingSystemInfo on page 313
Properties
Name Type Description
Build Int32 This value is the build number of the operating system.
Major Int32 This value is the major version of the operating system.
Minor Int32 This value is the minor version of the operating system.
Revision Int32 This value is the revision number of the operating system.
Parameter of
ConnectionSchedule on page 243
Properties
Name Type Description
IsEnabled Boolean This value is true if orphan files (files in the target path location
that are not present on the source) will be deleted; otherwise, it
is false. There is currently no schedule (time-related options) for
orphan files. They can only be on or off.
Parameter of
Disk on page 259
Properties
Name Type Description
FileSystem String This value is the file system for the partition.
PartitionEndInB Int64 This value is the point in bytes where the partition ends.
PartitionStartInB Int64 This value is the point in bytes where the partition begins.
PartitionType String This value represents the partition type like primary, extended,
or logical.
Valid Boolean This value is true if the partition is valid; otherwise, it is false.
Returned by
Get-DtPathBlocking on page 58
Properties
Name Type Description
BlockingMode PathBlockingMode on page 442 This value represents if the path is blocked.
SourceAddress String This value is the source IP address that corresponds to the
connection that has the blocked paths.
Returned by
Get-DtRecommendedPathTransform on page 70
Parameter of
CoreConnectionOptions on page 251, ReplicaVmInfo on page 334, RestoreParameters on page 337, SqlMigrationClusterGroup on page 359, VmInfo on
page 385
Properties
Name Type Description
SourcePath String This value is the path on the source.
Returned by
Get-DtPhysicalItem on page 59, Get-DtWorkloadPhysicalItem on page 89
Parameter of
ChangedItems on page 235, Get-DtPhysicalItem on page 59, Get-DtWorkloadPhysicalItem on page 89
Properties
Name Type Description
Attributes FileSystemAttributes on page 427 This value represents the file system attributes.
CreationTime DateTime This value is the time when the item was created.
IsContainer Boolean This value is true if the item is a container of other items;
otherwise, it is false.
IsReadOnly Boolean This value is true if the item is read-only (meaning the
Saturation cannot be changed); otherwise, it is false.
LastAccessTime DateTime This value is the time when the item was last accessed.
LastWriteTime DateTime This value is the time when the item was last written to.
Metadata String This value is any additional metadata that may be displayed for
a particular type of item. This metadata is not in any particular
format, but you must be able to determine the format and
decipher the metadata based on the type.
Name String This value is the name of the item. Typically, this name is used
for display in the user interface.
Saturation SaturationLevel on page 451 This value represents the saturation level of the item.
Typically, this value is used to display a visual state in the user
interface.
Parameter of
ChangedItems on page 235, Workload on page 398
Properties
Name Type Description
Inclusion InclusionMode on page 433 This value represents if the rule will be included in or excluded
from replication.
IsReadOnly Boolean This value is true if the rule is read-only; otherwise, it is false.
Metadata String This value is any additional metadata for the rule. This property
can be used by specialized workload implementations to
provide additional hints to the job-creation process.
Recursion RecursionMode on page 445 This value represents if the rule will be applied to this path only
or to all children of the path as well.
Parameter of
VolumeGroup on page 388
Properties
Name Type Description
Attributes FileSystemAttributes on page 427 This value represents the file system attributes.
AvailableFreeSpace Int64 This value is the amount of free space on the volume.
CreationTime DateTime This value is the time when the volume was created.
DesiredSize Int64 This value is the desired size of the new volume.
DriveFormat String This value is the file system format of the volume.
Guid Guid This value is the UUID assigned to an existing virtual disk.
IsContainer Boolean This value is true if the volume is a container of other volumes;
IsSupported Boolean This value is true if the volume type is supported; otherwise, it
is false.
IsSystemDrive Boolean This value is true if the volume is the system volume;
otherwise, it is false.
Label String This value is the time when the volume was last accessed.
LastAccessTime DateTime This value is the time when the volume was last accessed.
LastWriteTime DateTime This value is the time when the volume was last written to.
Metadata String This value is any additional metadata that may be displayed for
a particular type of item. This metadata is not in any particular
format, but you must be able to determine the format and
decipher the metadata based on the type.
Name String This value is the name of the volume. Typically, this name is
used for display in the user interface.
PreexistingDiskPath String This value is the full path and file name of an existing virtual
disk that you want to reuse. If this value is null, a new virtual
disk will be created.
Saturation SaturationLevel on page 451 This value represents the saturation level of the volume.
Typically, this value is used to display a visual state in the user
interface.
VirtualDiskPath String This value is the path on the host where the volume should be
stored.
Returned by
Get-DtProductInfo on page 60
Parameter of
CoreQualificationResults on page 254
Properties
Name Type Description
ActivationStatus ActivationStatus on page 223 This value represents the activation of the server.
EnginePort Int32 This value is the port where the engine is listening.
ManagementServiceVersion ProductVersion on page 327 This value is the version of the Management Service on the
server.
Name String This value is the name of the product on the server.
ReservedAddress String This value is the reserved IP address for the server.
Version ProductVersion on page 327 This value is the version of the product on the server.
Parameter of
ProductInfo on page 325, TargetStateInfo on page 368
Properties
Name Type Description
Build Int32 This value is the build (or sequence number) of the product.
Hotfix Int32 This value is the hotfix (or limited release) of the product.
ServicePack Int32 This value is the service pack version of the product.
Parameter of
Get-DefaultSqlCredentials on page 33, New-DtServer on page 109, New-DtUri on page 112, New-DtUvraServer on page 114, Set-DtJobCredentials on
page 151, Set-DtScriptCredentials on page 158, Set-DtServerCredential on page 160, Test-DtActiveDirectoryCredentials on page 194, Test-
DtScriptCredentials on page 200,
Properties
Name Type Description
UserName String This value is the user name.
Returned by
Get-DtRecommendedFailbackOptions on page 63
Properties
Name Type Description
FailbackOptions FailbackOptions on page 273 This value represents the failback configuration.
IsSourceNew Boolean This value is true if the data from the target was or is being
restored to a new source server; otherwise, it is false.
RestoreStatus RestoreStatus on page 450 This value represents the status of the restoration process.
Returned by
Get-DtRecommendedFailoverOptions on page 65
Properties
Name Type Description
FailoverOptions FailoverOptions on page 274 This value represents the failover configuration.
IsSkipSourceResourceShutdownSupported Boolean This value is true if skipping the source cluster resource
shutdown is supported; otherwise, it is false.
IsSkipSourceServicesShutdownSupported Boolean This value is true if skipping the source services shutdown is
supported; otherwise, it is false.
IsTestFailoverSupported Boolean This value is true if test failover is supported for the job type;
otherwise, it is false.
Snapshots SnapshotEntry [ ] on page 350 This value represents the available snapshots on the target.
WarningTextTestFailover Boolean This value is true if optional warning text to display if test
failover is selected; otherwise, it is false.
WarnUserOfInconsistentProtectionData Boolean This value is true if the data on the target may be in an
inconsistent state; otherwise, it is false.
Returned by
Get-DtRecommendedJobOptions on page 67
Properties
Name Type Description
JobOptions JobOptions on page 291 This value represents the current options for the job.
JobQualificationResults JobQualificationResults on page 294 This value represents the job qualification results which are
other possible job options, in addition to those that are strictly
recommended. For example,
JobOptions.CoreConnectionOptions on page
251.TargetAddress may be the recommended address, but
JobQualificationResults.CoreQualificationResults on page
254.TargetIPAddresses may include other IP addresses on the
server.
Returned by
Get-DtRecommendedRestoreOptions on page 71
Properties
Name Type Description
CanClearRestoreRequired Boolean This value is true if the restore required flag can be cleared;
otherwise, it is false.
IsNat Boolean This value is true if the IP address is a public NAT address;
otherwise, it is false.
RestoreOptions RestoreOptions on page 336 This value represents the restoration options.
SameSourceOnly Boolean This value is true is the job can only be restored to the same
source server; otherwise, it is false.
Returned by
Get-DtRepairJobOptionsStatus on page 73
Properties
Name Type Description
Task ActivityStatusEntry on page 224 This value represents the status of the task being repaired.
JobOptions JobOptions on page 291 This value represents the repaired job options. This value will
be null until the repair has been completed.
Parameter of
VRAOptions on page 393
Properties
Name Type Description
Address String This value is the virtual machine guest name or IP address.
BiosGuid String This value is the virtual machine BIOS unique ID.
BootVolumeSignature Int8 [ ] This value is the virtual machine boot volume signature which
is required for agentless Hyper-V WAN failover.
CoresPerProcessor Int32 This value is the number of cores per processor. A value of 0 is
used for an unknown or unspecified number.
GuestOS String This value is the virtual machine guest operating system.
Path String This value is the virtual machine configuration file location.
PathTransformations PathTransformation [ ] on page 318 This value represents where the protected source virtual
machine will be located on the target.
PrestageFolder String This value is the full path to a location that contains an existing
ReplicaVmFirmware String This value is for Linux virtual machines and indicates if the
firmware is BIOS or EFI.
ReplicaVmVersion String This value is for the version of the virtual machine hardware or
the Linux firmware.
RunOnceAtStartup String This value is a command to run when the replica virtual
machine is first powered on.
SnapshotFileNames String [ ] This value is the virtual machine snapshot file names.
SystemDirectory String This value is the virtual machine system directory which is
required for agentless Hyper-V WAN failover.
VirtualHardDiskPath String [ ] This value is the virtual machine hard disk location.
Parameter of
RecommendedRestoreOptions on page 332
Properties
Name Type Description
ClearRestoreRequired Boolean This value is true if the restore required flag can be cleared
without restoring; otherwise, it is false.
EnginePort Int32 This value is the port where the engine is listening.
RestoreParameters RestoreParameters on page 337 This value represents the restoration configuration.
Parameter of
RestoreOptions on page 336
Properties
Name Type Description
ArchiveBinLocation String This property is no longer used.
CompressionLevel CompressionLevel on page 241 This value represents how data will be compressed when it is
transmitted from the source to the target.
MirrorComparisonCritera MirrorComparisonCriteria on page 436 This value represents how to compare the source protected
data and the replica on the target.
OriginalSourceName String This value is the name of the original source server from the
original protection job.
OriginalTargetRoute String This value is the route for the original target server from the
original protection job.
PathTransformations PathTransformation on page 318 This value represents where the source protected data will be
located on the target.
ProcessOrphans Boolean This value is true if the orphan files (files in the target path
location that are not present on the source) are to be deleted;
otherwise, it is false.
ReplicationSetName String This value is the name of the protected data set.
RestoreOptions RestoreParametersRestoreOptions on This value represents addtional options used for the
page 448 restoration process.
Parameter of
VRAOptions on page 393
Properties
Name Type Description
ReverseVMwareServer URI This value is the URI of the ESX server hosting the reverse
appliance.
TestFailover TestFailoverOptions on page 371 This values represents the reverse test failover options for full
server to ESX jobs.
VmName String This value is the display name of the reverse virtual machine.
VmPath String This value is the path on the host where the reverse virtual
machine should be stored.
Volumes VolumeOptions on page 389 This value represents a volume to reverse and any changes to
its base configuration.
Parameter of
ConnectionStartParameters on page 244
Properties
Name Type Description
Arguments String This value is a comma-separated list of valid arguments
required to execute the script.
ExecutionMode ScriptExecutionMode on page 452 This value represents if Carbonite will wait while executing the
script.
InteractionMode DesktopInteractionMode on page 413 This value represents if the script processing will dispaly on
screen.
Path String This value is the full path and file name of the script.
Type ScriptPointType on page 453 This value represents the type of script to execute.
Returned by
New-DtServer on page 109, New-DtUvraServer on page 114, Set-DtServerCredential on page 160
Parameter of
Add-DtPhysicalRule on page 18, Add-DtUvraPhysicalRule on page 20, Checkpoint-DtConnection on page 22, Close-DtWorkload on page 26, Confirm-
DtJobOptions on page 27, Disconnect-DtServer on page 30, Edit-DtJob on page 31, Get-DtAccessLevel on page 34, Get-DtActivationStatus on page 35,
Get-DtBandwidthLimit on page 37, Get-DtConnectionIds on page 39, Get-DtDiagnostics on page 40, Get-DtEmailNotificationOptions on page 44, Get-
DtEventLogEntry on page 47, Get-DtJob on page 48, Get-DtJobActionStatus on page 50, Get-DtLogicalItem on page 53, Get-DtLogMessage on page 54,
Get-DtOption on page 57, Get-DtPathBlocking on page 58, Get-DtPhysicalItem on page 59, Get-DtProductInfo on page 60, Get-DtQualificationResults
on page 61, Get-DtRecommendedFailbackOptions on page 63, Get-DtRecommendedFailoverOptions on page 65, Get-DtRecommendedJobOptions on
page 67, Get-DtRecommendedPathTransform on page 70, Get-DtRecommendedRestoreOptions on page 71, Get-DtScriptCredentials on page 75, Get-
DtServerInfo on page 76, Get-DtSnapshot on page 77, Get-DtUvraRecommendedFailoverOptions on page 83, Get-
DtUvraRecommendedRemoveOptions on page 85, Get-DtVerificationStatus on page 87, Get-DtWorkload on page 88, Get-DtWorkloadPhysicalItem on
page 89, Get-DtWorkloadType on page 90, Invoke-DtQueueTask on page 98, New-DtFilesAndFoldersJob on page 104, New-DtJob on page 106, New-
DtTaskParameters on page 111, New-DtWorkload on page 117, Remove-DtJob on page 120, Remove-DtPhysicalRule on page 122, Remove-
DtSnapshot on page 124, Repair-DtJobOptions on page 128, Restart-DtReplicationService on page 134, Resume-DtJob on page 135, Resume-DtMirror
on page 137, Resume-DtTarget on page 139, Save-DtJobDiagnostics on page 142, Set-DtActivationCode on page 146, Set-DtBandwidthLimit on page
148, Set-DtEmailNotificationOptions on page 150, Set-DtJobCredentials on page 151, Set-DtLogicalItemSelection on page 153, Set-DtOption on page
155, Set-DtPathBlocking on page 157, Set-DtScriptCredentials on page 158, Start-DtJob on page 163, Start-DtJobFailback on page 165, Start-
DtJobFailover on page 167, Start-DtJobRestore on page 169, Start-DtJobReverse on page 171, Start-DtMirror on page 173, Start-DtOrphansProcessing
on page 175, Start-DtReplication on page 177, Start-DtVerify on page 179, Stop-DtJob on page 181, Stop-DtMirror on page 183, Stop-DtReplication on
page 185, Stop-DtReplicationService on page 187, Suspend-DtJob on page 188, Suspend-DtMirror on page 190, Suspend-DtTarget on page 192, Test-
DtActiveDirectoryCredentials on page 194, Test-DtEmailNotification on page 196, Test-DtScript on page 198, Test-DtScriptCredentials on page 200,
Undo-DtJobFailover on page 204, Update-DtShares on page 209, Wait-DtMirrorComplete on page 213
Properties
Name Type Description
Credentials Credentials on page 256 This value represents the credentials used to access the
server.
Port Int32 This value is the port number used to access the server.
Role String This value is an optional role defined for the server.
Returned by
Get-DtOnlineActivationRequest on page 56
Properties
Name Type Description
Code String This value is the license key.
ServerInformation String This value is the unique server information which will be used to
generate the activation key for this particular server.
ServiceHost Server on page 340 This value is a server object returned from the New-DtServer
cmdlet. See New-DtServer on page 109.
Returned by
Get-DtServerInfo on page 76
Properties
Name Type Description
BiosGuid Guid This value is the BIOS unique ID.
CoresPerProcessor Int32 This value is the number of cores per processor. A value of 0 is
used for an unknown or unspecified number.
Disks Disk [ ] on page 259 This value is the disks on the server.
Domain String This value is the domain the server is a member of.
EFIBoot Boolean This value is true if the boot volume is EFI; otherwise, it is
false and the boot volume is BIOS.
EFIBootInfo EFIBootInfo on page 265 This value represents the EFI boot information.
HalInternalName String This value is the internal name of the hardware abstraction
layer (HAL).
HasIntegrationTools Boolean This value is true if the server has integration tools installed;
otherwise, it is false.
HostedByAzure Boolean This value is true if the server is hosted by Microsoft Azure;
otherwise, it is false.
HostedByGcp Boolean This value is true if the server is hosted by Google Cloud
Platform (GCP); otherwise, it is false.
IsClustered Boolean This value is true if the server is part of a cluster; otherwise, it
is false.
IsHostedByHyperV Boolean This value is true if the server is hosted by Hyper-V; otherwise,
it is false.
IsHostedByVMware Boolean This value is true if the server is hosted by VMware; otherwise,
it is false.
IsHostedByXen Boolean This value is true if the server is hosted by Xen; otherwise, it is
false.
IsHyperVHost Boolean This value is true if the server is a Hyper-V host; otherwise, it
is false.
IsSBS Boolean This value is true if the server is running Microsoft Windows
Small Business Server; otherwise, it is false.
IsSSE Boolean This value is true if the server is running Microsoft Windows
Storage Server; otherwise, it is false.
IsVirtual Boolean This value is true if the server is a virtual machine; otherwise, it
is false.
ManagementPort Int32 This value is the port where the Management Service is
listening.
NetworkMethod NetworkMethods on page 439 This value identifies what network Linux servers are using
NetworkInterfaces NetworkInterfaceInfo [ ] on page 312 This value represents the NICs on the server.
NodeLockedServerInfo String This value is the server information needed for an activation
key.
OperatingSystem OperatingSystemInfo on page 313 This value is the operating system on the server.
Volumes Volume [ ] on page 386 This value represents the volumes on the server.
Parameter of
VRAQualificationResults on page 396
Properties
Name Type Description
CoresPerProcessor Int32 This value is the number of cores per processor. A value of 0 is
used for an unknown or unspecified number.
Version String This value is the version of the target host hypervisor.
VirtualSwitches VirtualSwitchInfo [ ] on page 383 This value represents the virtual switch information
Parameter of
ServiceMonitoringOptions on page 348, TargetServicesOptions on page 366
Properties
Name Type Description
DisplayName String This value is the service display name.
Selected Boolean This value is true if the service is selected for service
monitoring; otherwise, it is false.
Parameter of
MonitoringOptions on page 311
Properties
Name Type Description
RepeatCount Int32 This value is the number of times to repeat the call to retrieve
the service status.
Services ServiceInformation [ ] on page 347 This value represents the services that should be monitored.
StartService Boolean This value is true if the monitored service should be started if it
is stopped; otherwise, it is false.
Parameter of
JobOptions on page 291
Properties
Name Type Description
SnapshotSizes SnapshotSize [ ] on page 353 This value represents snapshot sizes in a percentage of the
original volume.
Returned by
Get-DtSnapshot on page 77
Parameter of
RecommendedFailoverOptions on page 330, TargetStateInfo on page 368
Properties
Name Type Description
Attributes SnapshotAttributes on page 455 This value represents a snapshot created by the Windows
Volume Snapshot Service.
Comment String This value is any description associated with the snapshot.
ConName String This value is the connection name for the snapshot.
Reason SnapshotCreationReason on page 456 This value represents why the snapshot was taken.
States TargetStates on page 464 This value represents the state of the target associated with
the snapshot.
Timestamp DateTimeOffset This value is the time when the snapshot was taken.
Parameter of
JobOptions on page 291
Properties
Name Type Description
SnapshotMonitorEnabled Boolean This value is true if snapshot monitoring is enabled; otherwise,
it is false.
SnapshotMonitorInterval TimeSpan This value is the frequency that Carbonite checks the snapshot
usage percentage.
SnapshotMonitoThreshold Int64 This value is the threshold to warn when snapshot usage
percentage will be exceeded.
Parameter of
ConnectionStartParameters on page 244
Properties
Name Type Description
Interval TimeSpan This value is the interval for taking snapshots.
IsEnabled Boolean This value is true if the snapshot schedule is set; otherwise, it
is false.
MaxNumberOfSnapshots Int32 This value is the maximum number of snapshots that will be
retained.
StartTime DateTime This value is the when the snapshot schedule should start.
Parameter of
SnapshotAdvancedOptions on page 349
Properties
Name Type Description
VolumeName String This values represents the name of the original volume.
Parameter of
SnapshotStorageDetails on page 355
Properties
Name Type Description
AllocatedSpace Int64 This value is the allocated space on the differential volume.
MaxSpace Int64 This value is the maximum amount of space available for
snapshots.
UsedSpace Int64 This value is the used space on the differential volume.
Parameter of
CloudJobDetails on page 236
Properties
Name Type Description
VolumeSnapshotStorageList SnapshotStorage on page 354 This value represents the snapshot space consumed on a
volume.
Returned by
Get-DtSourceQueueSnapshot on page 79, Get-DtSourceQueueSnapshots on page 81
Properties
Name Type Description
CorrelationId Guid This value is the correlation ID for the snapshot.
Quality SnapshotQuality on page 457 This value represents the quality of the snapshot.
Reason SnapshotCreationReason on page 456 This value represents why the snapshot was taken.
State SnapshotState on page 458 This value is the state of the snapshot.
TargetStates TargetStates on page 464 This value represents the state of the target associated with
the snapshot.
TimeStampCompleted DateTimeOffset This value is when the coordinated snapshot was completed.
TimeStampRequested DateTimeOffset This value is when the coordinated snapshot was requested.
Parameter of
SqlMigrationOptions on page 360
Properties
Name Type Description
Credentials Credentials on page 256 This value represents the server credentials.
Mode SqlAuthenticationMode on page 460 Specify the type of credentials to use for SQL Server
authentication.
Parameter of
SqlMigrationClusterGroup on page 359, SqlMigrationOptions on page 360, SqlMigrationQualificationResults on page 362
Properties
Name Type Description
Address String If you are using AAG, this value is the AAG listener name or the
IP address when failed over. If you are not using AAG, this
value is the server name.
Port Int32 This value is the port to access the SQl server.
ServerName String If you are using AAG, this value is the AAG listener name. If
you are not using AAG, this value is the server name.
State SqlServerState on page 461 This value is the state of the SQL server.
Type SqlServerType on page 462 This value is the type of SQL server.
WorkloadName String If you are using AAG, this value is the AAG name. If you are
not using AAG, this value is the instance name.
Parameter of
SqlMigrationQualificationResults on page 362
Properties
Name Type Description
Addresses UnicastIPAddressInfo [ ] on page 374 This value represents the IP addresses assigned to the NIC.
Instance SqlInstance on page 358 This value represents the instance that corresponds to the FCI
or AlwaysOn replica.
Name String This value represents the name of the SQL instance.
PathTransformations PathTransformation on page 318 This value represents where the source protected data will be
located on the target.
Parameter of
ApplicationOptions on page 226
Properties
Name Type Description
AdCredentials Credentials on page 256 This value represents Active Directory credentials.
DatabasesOnly Boolean This value is true if only the databases will be migrated;
otherwise, it is false.
DbaToolsCredentials Credentials on page 256 This values represents credentials for migrating the SQL
configuration.
MigrateDatabaseOptions Boolean This value is true if the database options will be migrated;
otherwise, it is false.
OverrideBackupAlwaysOnDatabasesPath String This value is the location of the MDB files that will be backed
up to for AlwaysOn databases. An empty string will skip the
backup.
SourceOptions SourceSqlMigrationOptions on page This value indicates how the databases on the source and the
459 source itself will be handled.
SourceSqlCredentialsAndMode SqlCredentials on page 357 This values represents the source SQL server credentials
and the authentication mode.
TargetSqlCredentialsAndMode SqlCredentials on page 357 This values represents the target SQL server credentials and
the authentication mode.
Parameter of
ApplicationQualificationResults on page 228
Properties
Name Type Description
TargetInstances SqlInstance on page 358 This value identifies the available SQL instances on the target
server.
SqlMigrationClusterGroups SqlMigrationClusterGroup on page 359 This value represents configuration information for available
FCIs and AlwaysOn replicas on the target server.
Parameter of
JobOptions on page 291
Properties
Name Type Description
AlternateVolumeMapping String This value is the mapping of source volumes to target volumes
for alternate volume staging, for example, C:;N:.
ApplyPorts Boolean This value indicates if the source ports should be copied to the
target.
ClearMonitor Boolean This value is true if the failover monitor should be removed at
cutover; otherwise, it is false.
IsWanFailover Boolean This value is true if the job uses WAN failover; otherwise,it is
false.
KeepTargetActivationCode Boolean This value is true if the target license key should be kept after
failover; otherwise, it is false (and the source's license key will
be applied to the target after failover).
NicMappings FullServerNicMappings [ ] on page 283 This value represents the NIC mappings for a full server job.
ServicesToStopOptions TargetServicesToStop [ ] on page 367 This value represents the services on the target to stop during
protection.
StagingFolder String This value is the folder on the target where operating system
files from the source will be staged.
TargetReservedAddress String This value is the reserved IP address on the target server
Parameter of
ClusterFilesAndFoldersQualifcationResults on page 238
Properties
Name Type Description
ClusterResourceGroupIPAddresses UnicastIPAddressInfo [ ] on page 374 This value represents a unicast IP address.
ClusterResourceGroupName String This value is the name of the cluster group that contains the
resource.
CurrentOwnerNodeName String This value is the name of the resource's current owning node.
DiskSize Int64 This value is total disk size, in bytes, of the volume.
FreeSpace Int64 This value is the free space, in bytes, available on the volume.
RecommendedGroup Boolean This value is true if there is a file server group on the target
cluster that matches the protected file server group from the
source; otherwise, it is false. When this value is true, an IP
address from the group will be used as the route for
CoreConnectionOptions on page 251.TargetAddress.
Parameter of
JobOptions on page 291
Properties
Name Type Description
FailoverServices ServiceInformation [ ] on page 347 This value represents services that will be stopped on the
source and started on the target during failover and started on
the source and stopped on the target during failback.
StartAndStopServices Boolean This value is true if the services will be stopped and started;
otherwise, it is false (and the services will be left running).
Parameter of
SystemStateOptions on page 363
Properties
Name Type Description
Failover Boolean This value is true if the service should be started after failover;
otherwise, it is false. In addition to starting this service after
failover, this value is whether the service will be stopped
during failback.
KeepRunningNonCritical Boolean This value is true if the non-critical service should be kept
running; otherwise, it is false.
State TargetServiceStatus on page 463 This value represents the state of a service.
Parameter of
UnmanagedConnectionOptions on page 375
Properties
Name Type Description
ConnectionId Guid This value is the unique ID assigned to the connection.
ConnectTime DateTimeOffset This value is the time when the connection was created.
EngineConnectionId Int32 This value is the unique ID assigned to the replication engine
connection.
EngineJobType EngineJobType on page 415 This value is the job type according to the replication engine.
(These jobs are not the same as JobInfo on page
288.JobType.)
HasSnapshotSchedule Boolean This value is true if the connection has a snapshot schedule;
otherwise, it is false.
LastUpdateTime DateTimeOffset This value is the last time the target connection information
was updated.
NextScheduledSnapshot DateTimeOffset This value is the time of the next scheduled snapshot. This
property is only valid when HasSnapshotSchedule is true.
Paths String [ ] This value is the paths of the replica data on the target.
QueueBytes Int64 This value is the number of bytes in the target queue.
ReplicationSetName String This value is the name of the protected data set.
ReplicationSetUsageType ReplicationSetUsageType on page 446 This value defines the possible usage types for the protected
data set.
Snapshots SnapshotEntry [ ] on page 350 This value represents the current list of snapshots for the
connection.
SourceEndpointFromSource String This value is the default address for the source server as
provided by the source server.
SourceVersion ProductVersion on page 327 This value is the Carbonite product version on the source.
TargetStates TargetStates on page 464 This values is the state of the target.
Returned by
New-DtTaskParameters on page 111
Parameter of
Invoke-DtQueueTask on page 98
Properties
Name Type Description
Arguments String This value is a comma-separated list of valid arguments
required to execute the script.
Script String This value is the full path and file name of the script.
Parameter of
VRAOptions on page 393
Properties
Name Type Description
DeleteSnapshots Boolean This value is true if snapshots will be deleted after the test
failover; otherwise, it is false.
DeleteVirtualDisks Boolean This value is true if the virtual disks will be deleted after the test
failover; otherwise, it is false.
DiskOptions DiskOptions [ ] on page 260 This value is the disk options available on a Linux server. Use
this property for the match source disk configuration strategy. If
you want a per volume disk configuration strategy use
VolumeOptions on page 389.
LvmOptions LvmOptions on page 304 This value represents logical volume manager (LVM) options
for a Linux server.
ReplicaDisplayName String This value is the replica display name of the test failover
server. This value is only for full server to ESX for Linux jobs
and allows you to specify an alternate server for test failover.
Volumes VolumeOptions [ ] on page 389 This value represents the test volume and any changes to its
base configuration. For Linux, use this property for the per
volume disk configuration strategy. If you want a matching
source disk configuration strategy use DiskOptions on page
260.
Parameter of
FullServerTestFailoverOptions on page 284
Properties
Name Type Description
TestFailoverServerHardwareId String This value is the hardware ID of the test server for full server
jobs.
TestFailoverServerHostUri URI This value is the URI of the test server for full server jobs.
Parameter of
FailoverReport on page 275
Properties
Name Type Description
completed DateTime This value is the time when failover completed.
startProcessing DateTime This value is the time when failover processing started.
startReboot DateTime This value is the time when the failover reboot started. For files
and folders jobs, this value will be null.
Parameter of
CoreQualificationResults on page 254, NetworkInterfaceInfo on page 312, SqlMigrationClusterGroup on page 359, TargetFileServerQualificationResults
on page 365, VirtualNetworkInterfaceInfo on page 381
Properties
Name Type Description
IPAddress String This value is the IP address as a string.
IsNAT Boolean This value is true if the IP address is a public NAT address;
otherwise, it is false.
Parameter of
JobOptions on page 291
Properties
Name Type Description
TargetStateInfo TargetStateInfo on page 368 This value represents information on the state of the target.
Returned by
Get-DtEndpointMapping on page 45, New-DtUri on page 112
Properties
Name Type Description
AbsolutePath String This value is the absolute path of the URI.
Authority String This value is the DNS host name or IP address and the port
number.
DnsSafeHost String This value is a host name that, after being unescaped if
necessary, is safe to use for DNS resolution.
HostNameType String This value is the type of the host name specified in the URI.
IsAbsoluteUri Boolean This value is true if the URI is an absolute URI; otherwise, it is
false.
IsDefaultPort Boolean This value is true if the port is the default value; otherwise, it is
false.
IsFile Boolean This value is true if the URI is a file URI; otherwise, it is false.
IsLoopback Boolean This value is true if the URI is referencing the local host;
otherwise, it is false.
IsUnc Boolean This value is true if the URI is using a UNC path; otherwise, it is
false.
OriginalString String This value is the original URI string that was entered.
PathAndQuery String This value is the AbsolutePath and Query properties separated
by the ? symbol.
Query String This value is the query information included in the specified
URI.
Scheme String This value is the scheme name for the URI. .
Segments String This value is an array containing the path segments that make
up the specified URI.
UserEscaped Boolean This value is true if the URI string was completely escaped
before being the URI instance was created.
UserInfo String This value is the user name, password, or other user-specific
information associated with the URI.
Returned by
Get-DtVerificationStatus on page 87
Properties
Name Type Description
Steps VerificationStep [ ] on page 379 This value represents a step in the job validation process. Do
not confuse this process with the verification process that
confirms if the data between the source and target are
synchronized.
Task ActivityStatusEntry on page 224 This value represents the status of the validation task.
Returned by
Wait-DtConfirmJobOptions on page 211
Parameter of
Repair-DtJobOptions on page 128, VerificationStatus on page 378
Properties
Name Type Description
CanFix Boolean This value is true if Carbonite can automatically fix the
validation item; otherwise, it is false.
Index Int32 This value is an index value used to impose an order to the
validation items.
MessageKey String This value is a message key for the validation item. This value
can be used to look up the message text.
Progress Int32 This value is the completion progress of the validation item.
Status ActivityCompletionStatus on page 408 This value represents the status of the validation item.
TitleFormatParameters String [ ] This value is the title format parameters for the action.
TitleKey String This value is a title key for the validation item. This value can
be used to look up the title text.
Parameter of
ConnectionSchedule on page 243
Properties
Name Type Description
Criteria MirrorComparisonCriteria on page 436 This value represents how to compare the source protected
data and the replica on the target.
IsEnabled Boolean This value is true if the verification schedule is set; otherwise,
it is false.
Options MirrorOperationOptions on page 437 This value represents what mirror operation will be performed.
StartTime DateTime This value is the when the verification schedule should start.
Parameter of
VRAOptions on page 393
Properties
Name Type Description
Description String This value is the description of the NIC.
DnsDomain String This value is the DNS domain assigned to the NIC.
DnsServers String This value is the DNS server assigned to the NIC.
Guid String This value is the unique ID for the NIC. It is equivalent to the
SettingID property of the Win32_NetworkAdapterConfiguration
WMI class as well as the NetworkInterface.Id property in the
Base Class Library (BCL).
IPAddresses UnicastIPAddressInfo [ ] on page 374 This value represents the IP addresses assigned to the NIC.
MacAddresses String This value represents the MAC address of the NIC.
PnpInstanceId String This value is the plug and play instance ID of the NIC.
VirtualNictype String This value is one of the following virtual NIC types.
VLAN_ID Int32 This value is the ID of the VLAN on the replica after live failover.
The value can be any integer between 1 and 4095, or a value of
0 indicates the server does not support setting the VLAN ID, or
a value of -1 indicates the VLAN ID should not be set. No other
values are supported.
VLAN_ID_TestFailover Int32 This value is the ID of the VLAN on the replica after test
failover. The value can be any integer between 1 and 4095, or a
value of 0 indicates the server does not support setting the
VLAN ID, or a value of -1 indicates the VLAN ID should not be
set. No other values are supported.
Parameter of
ServerQualificationResults on page 346, VirtualSwitchMapping on page 384
Properties
Name Type Description
Label String This value is the virtual switch label.
Parameter of
VRAOptions on page 393
Properties
Name Type Description
SourceVirtualSwitch VirtualSwitchInfo on page 383 This value represents the virtual switch on the source.
TargetVirtualSwitch VirtualSwitchInfo on page 383 This value represents the virtual switch on the target.
Parameter of
VRAOptions on page 393
Properties
Name Type Description
Address String This value is the virtual machine guest name or IP address.
BiosGuid Guid This value is the virtual machine BIOS unique ID.
BootVolumeSignature Int8 [ ] This value is the virtual machine boot volume signature which
is required for agentless Hyper-V WAN failover.
EsxHost String This value is the ESX server hosting the virtual machine.
GuestOS String This value is the virtual machine guest operating system.
Path String This value is the virtual machine configuration file location.
PathTransformations PathTransformation [ ] on page 318 This value represents where the protected source virtual
machine will be located on the target.
SnapshotFileNames String [ ] This value is the virtual machine snapshot file names.
SystemDirectory String This value is the virtual machine system directory which is
required for agentless Hyper-V WAN failover.
VirtualHardDiskPath String [ ] This value is the virtual machine hard disk location.
Parameter of
CoreQualificationResults on page 254, ServerInfo on page 343
Properties
Name Type Description
Attributes FileSystemAttributes on page 427 This value represents the file system attributes.
AvailableFreeSpace Int64 This value is the amount of free space on the volume.
CreationTime DateTime This value is the time when the item was created.
DriveFormat String This value is the file system format of the volume.
IsContainer Boolean This value is true if the volume is a container of other volumes;
otherwise, it is false.
IsSupported Boolean This value is true if the volume type is supported; otherwise, it
is false.
IsSystemDrive Boolean This value is true if the volume is the system volume;
otherwise, it is false.
LastAccessTime DateTime This value is the time when the volume was last accessed.
LastWriteTime DateTime This value is the time when the volume was last written to.
Name String This value is the name of the volume. Typically, this name is
used for display in the user interface.
Saturation SaturationLevel on page 451 This value represents the saturation level of the volume.
Typically, this value is used to display a visual state in the user
interface.
Parameter of
LvmOptions on page 304
Properties
Name Type Description
LogicalVolume LogicalVolume [ ] on page 300 This value represents the logical volumes in the volume group.
MaxPhysicalVolumeSize Int64 This value is the maximum size, in bytes, of the virtual disks
used to create the volume group. The default value is equal to
the maximum size that can be attached to the datastore you
selected. That will depend on your ESX version, your file
system version, and the block size of your datastore.
Name String This value is the name of the volume group on the source.
PhysicalVolume PhysicalVolume [ ] on page 322 This value represents the physical volumes in the volume
group.
PreexistingDisksPath String [ ] This value is the full path and file name of an existing virtual
disk that you want to reuse. If this value is null, a new virtual
disk will be created.
SourceVolumeGroupSize Int64 This value is the size of the volume group on the source.
Parameter of
ReverseOptions on page 338, TestFailoverOptions on page 371, VRAOptions on page 393
Properties
Name Type Description
Attributes FileSystemAttributes on page 427 This value represents the file system attributes.
AvailableFreeSpace Int32 This value is the amount of free space on the volume.
CreationTime DateTime This value is the time when the volume was created.
DesiredSize Int64 This value is the desired size of the new volume.
DriveFormat String This value is the file system format of the volume.
Guid Guid This value is the UUID assigned to an existing virtual disk.
IsContainer Boolean This value is true if the volume is a container of other volumes;
IsSupported Boolean This value is true if the volume type is supported; otherwise, it
is false.
IsSystemDrive Boolean This value is true if the volume is the system volume;
otherwise, it is false.
LastAccessTime DateTime This value is the time when the volume was last accessed.
LastWriteTime DateTime This value is the time when the volume was last written to.
Metadata String This value is any additional metadata that may be displayed for
a particular type of item. This metadata is not in any particular
format, but you must be able to determine the format and
decipher the metadata based on the type.
Name String This value is the name of the volume. Typically, this name is
used for display in the user interface.
PreexistingDiskPath String This value is the full path and file name of an existing virtual
disk that you want to reuse. If this value is null, a new virtual
disk will be created.
Saturation SaturationLevel on page 451 This value represents the saturation level of the volume.
Typically, this value is used to display a visual state in the user
interface.
VirtualDiskPath String This value is the path on the host where the volume should be
stored.
Parameter of
ServerQualificationResults on page 346
Properties
Name Type Description
ClusterResourceGroupName String This value is the name of the group that contains the resource.
CurrentOwnerNodeName String This value is the name of the resource's current owning node.
DiskSize Int64 This value is the total size, in bytes, of the volume.
FreeSpace Int64 This value is the available free space, in bytes, on the volume.
IsSystemVolume Boolean This value is true if the volume is the system volume;
otherwise, it is false.
IsVolumeCSV Boolean This value is true if the volume is a cluster shared volume;
otherwise, it is false.
MaxFileSize Int64 This value is the maximum file size, in mebabytes, of the
virtual hard disk file.
ProvisionedSpace Int64 This value is the amount of provisioned space, in bytes, on the
volume.
Parameter of
JobOptions on page 291
Properties
Name Type Description
Hypervisor String This value should be one of the following strings.
l VMWARE.ESX
l VCloud.ESX
l Windows.HyperV
l Amazon.XEN
l Citrix.XEN
IsSourceHostCluster Boolean This value is true if the source host is clustered; otherwise, it
is false.
DiskOptions DiskOptions [ ] on page 260 This value is the disk options available on a Linux server.
Use this property for the match source disk configuration
strategy. If you want a per volume disk configuration strategy
use VolumeOptions on page 389.
DiskConfigStrategy DiskConfigStrategy on page 414 This value represents the disk configuration strategy used on
the target server.
ForwardJobId Guid This value represents the job ID of a forward full server to
ESX protection job, used during the reverse operation.
LvmOptions LvmOptions on page 304 This value represents logical volume manager (LVM) options
for a Linux server.
ReplicaESXHostName String This value is the name of the ESX host where the replica will
be located.
ReplicaNetworkInterfaceInfo VirtualNetworkInterfaceInfo [ ] on page This value represents the desired NIC configuration on the
381 replica virtual machine.
ReplicaVmInfo ReplicaVmInfo on page 334 This value represents the desired configuration of the replica
virtual machine.
ReverseRoute String This value is the source IP address to be used for the reverse
connection.
ReverseOptions ReverseOptions on page 338 This value represents the options used for the reverse
process.
SourceApplianceInfo VmInfo on page 385 This value represents the appliance used during reverse.
SourceESXHostName String This value is the name of the ESX host where the source is
located.
SourceNetworkInterfaceInfo VirtualNetworkInterfaceInfo [ ] on page This value represents the available NICs on the source.
381
SourceProductLicense String This value is the license key used for automatic installations
during the V to ESX and V to Hyper-V job creation process.
TestFailover TestFailoverOptions on page 371 This values represents the test failover options for full server
to ESX and full server to Hyper-V jobs.
VirtualSwitchMapping VirtualSwitchMapping [ ] on page 384 This value represents the virtual switch mappings on the
source and target for live failover.
VirtualSwitchMappingTestFailover VirtualSwitchMapping [ ] on page 384 This value represents the virtual switch mappings on the
source and target for test failover.
Volumes VolumeOptions [ ] on page 389 This value represents a volume to protect and any changes
to its base configuration. For Linux, use this property for the
per volume disk configuration strategy. If you want a
matching source disk configuration strategy use
DiskOptions on page 260.
Parameter of
JobQualificationResults on page 294
Properties
Name Type Description
PreexistingDisksFileName String This value is the full path and file name of an existing virtual
disk that you want to reuse. If this value is null, a new virtual
disk will be created.
ReversetHost ServerQualificationResults on page 346 This value represents the reverse server information.
SourceServerCoresPerProcessorCount Int32 This value is the number of cores per processor. A value of 0
is used for an unknown or unspecified number.
SourceServerMemorySize Int64 This value is the amount of memory, in bytes, on the source.
TargetHost ServerQualificationResults on page 346 This value represents the target server information.
Parameter of
VRAOptions on page 393
Properties
Name Type Description
NoReplication Boolean Do not use this property. Carbonite uses it internally.
PowerupReplicaAfterFailover Boolean This value is true if the replica should be powered on after
failover; otherwise, it is false.
ShouldShutdownSource Boolean This value is true if the source should be shut down during
failover; otherwise, it is false.
Returned by
Add-DtUvraPhysicalRule on page 20, Get-DtWorkload on page 88
Parameter of
Add-DtUvraPhysicalRule on page 20, Get-DtRecommendedJobOptions on page 67, JobOptions on page 291, New-DtWorkload on page 117
Properties
Name Type Description
LogicalRules String [ ] This value is the logical replication rules that define the workload.
PhysicalRules PhysicalRule [ ] on page 321 This value represents the physical replication rules that define
the workload.
Parameter of
WorkloadType on page 401
Properties
Name Type Description
Reason String This value can be a string resource ID used for obtaining the
reason text in the client or the reason text itself. If the reason
text needs to be formatted with parameters, use
ReasonFormatParameters.
Returned by
Get-DtWorkloadType on page 90
Properties
Name Type Description
IsLicensed Boolean This value is true if this type of workload is licensed for the
server; otherwise, it is false.
IsPresent Boolean This value is true if this type of workload is present on the server;
otherwise, it is false.
SupportSummary WorkloadSupportSummary on page This value is a summary of the licensing for the workload type.
400 The summary can be null if there is no reason to report any
details about the license calculation. Otherwise, it should be non-
null and populated with details about the license calculation that
the client can use for reporting purposes.
Returned by
Get-DtAccessLevel on page 34
Parameter of
CoreConnectionDetails on page 246
Properties
Name Enumeration Description
Unknown -1 The access level is unknown.
Parameter of
JobAction on page 287
Properties
Name Enumeration Description
Pending 0 The action has not yet started.
Parameter of
MonitorConfiguration on page 307
Properties
Name Enumeration Description
None 0 There are no Active Directory options applied.
FailoverHostName 1 The host name of the source server should be moved to the
Active Directory server object of the target when a failover
occurs.
FailbackHostName 2 The host name of the target server should be reinstated in the
Active Directory server object of the target when failback
occurs.
Parameter of
ActivityStatusEntry on page 224, VerificationStep on page 379
Properties
Name Enumeration Description
Pending 0 The activity is pending.
Parameter of
BandwidthEntry on page 229
Properties
Name Enumeration Description
Daytime 0 This value is an entry where the BandwidthEntry on page
229.StartTime and .EndTime are on the same day.
Parameter of
BandwidthLimit on page 230, BandwidthOptions on page 231, BandwidthSchedule on page 232
Properties
Name Enumeration Description
NotLimited 0 Bandwidth is not limited.
Parameter of
BandwidthSpecification on page 234
Properties
Name Enumeration Description
LAN 0 This value is the bandwidth associated with local area
networks.
Parameter of
CoreConnectionDetails on page 246
Properties
Name Enumeration Description
Uninitialized 0 A cluster resource is not used.
Parameter of
ScriptPoint on page 339, Test-DtScript on page 198
Properties
Name Enumeration Description
None 0 The script will execute silently in the background.
Parameter of
VRAOptions on page 393
Properties
Name Enumeration Description
CreateDiskPerVolume 0 The target disk configuration is per source volume.
Parameter of
CloudOptions on page 237, TargetStateInfo on page 368
Properties
Name Enumeration Description
NormalJob 0 This value is a files and folders connection.
VraMigrationJob 128 This value is a full server to ESX or Hyper-V Carbonite Migrate
connection.
DataOnlyOption 256 This value is for a connection that is replicating data only.
Win32MirrorOption 2048 This value is a connection that will override the server default
and use the Win32 mirroring driver.
NonClientAccessibleSnapshot 32768 This value indicates that snapshots created for this connection
should not have the VSS_CTX_CLIENT_ACCESSIBLE
context.
FFO 65536 This value is a full server connection for Windows. This is not
the real value for engine job type, but is for
CreateConnectionAction to create a connection.
LVRA_JOB 131072 This value is a full server to ESX coonection for Linux. It is
usually a connection to the local server (the source is same as
the target) where the target drive is an iSCSI hosted by a Linux
appliance. This is not the real value for engine job type, but is
for CreateConnectionAction to create connection.
Parameter of
FailoverOptions on page 274, MonitorConfiguration on page 307
Properties
Name Enumeration Description
Apply 0 This value will apply the data in the target queue before starting
failover.
Flush 1 This value will discard the data in the target queue and start
failover immediately.
Revert 2 If the target data is in a bad state, this value will revert to the
last good snapshot, if snapshots are available. If the target data
is in a good state or no snapshots are available, this value will
apply the data in the target queue and then failover.
Parameter of
MonitorConfiguration on page 307
Properties
Name Enumeration Description
Monitored 0 Failover only the IP addresses that are being monitored.
Parameter of
MonitorConfiguration on page 307
Properties
Name Enumeration Description
None 0 Nothing will be failed over.
Name 2 The NetBIOS name of the source server will be applied to the
target during failover.
You can combine IPAddresses and Name by using enumeration 3, IPAddresses and Shares by using enumeration 5, Name and Shares by using
enumeration 6, and IPAddresses, Name, and Shares by using enumeration 7.
Parameter of
FailoverOptions on page 274
Properties
Name Enumeration Description
Live 0 Failover is using live, current data and the target is started with
network connectivity.
Test 1 Failover is using live current data, but is a test. The target is
started without network connectivity.
SetRestoreRequiredOnly 3 Failover is not performed, but the restore required fiag is set.
Parameter of
MonitorConfiguration on page 307
Properties
Name Enumeration Description
None 0 This value resets the flags so no failover processing options
will be used.
UseShareFile 2 When failing over file shares, the persisted share file on the
target should be used to create the shares on the target.
Without this value, the target will attempt to obtain the shares
from the source during failover, however, if the source is
unavailable, no shares will be created on the target.
Parameter of
MonitorConfiguration on page 307
Properties
Name Enumeration Description
None 0 This value resets the flags so no failover replace actions will be
used.
Parameter of
FailoverReport on page 275
Properties
Name Enumeration Description
Live 0 Failover is using live, current data
Parameter of
MonitorConfiguration on page 307
Properties
Name Enumeration Description
OneAddressFails 0 A failover condition is met when one monitored IP address fails.
Parameter of
MonitorConfiguration on page 307
Properties
Name Enumeration Description
Normal 0 The parameters in MonitorConfiguration on page 307 are used to
process failover.
FullServer 1 The entire server is being failed over and internal Carbonite
processing will determine what is failed over.
Parameter of
FailoverOptions on page 274
Properties
Name Enumeration Description
Manual 0 Failover must be initiated by the user.
Parameter of
LogicalVolume on page 300, PhysicalItem on page 319, PhysicalVolume on page 322, Volume on page 386, VolumeOptions on page 389
Properties
Name Enumeration Description
ReadOnly 1 The file system item is read-only.
Parameter of
ExtendedLowLevelStates on page 272, JobStatus on page 297
Properties
Name Enumeration Description
Unknown 0 The health of the job is unknown or not yet determined.
Warning 2 The job is taking corrective action. Data may not be protected.
You should closely monitor a job in a warning state.
Error 3 The job has encountered an error that requires user attention.
Data is not protected.
Parameter of
CoreMonitorDetails on page 252
Properties
Name Enumeration Description
Illegal -1 There is a problem determining the monitoring status.
FailbackRequired 64 The source is failed over to the target. A failback needs to occur
to restore the target to its original identity.
Parameter of
JobStatus on page 297
Properties
Name Enumeration Description
Unknown 0 The job's state is unknown or not yet determined.
RestoreRequired 18 The job needs to restore data from the target to a new or the
original source.
Parameter of
PhysicalRule on page 321
Properties
Name Enumeration Description
Include 0 The data path is included in replication.
Parameter of
CoreConnectionDetails on page 246
Properties
Name Enumeration Description
OK 0 This values indicates the job is licensed correctly.
TargetRequired 1 This value indicates the job requires a license on the target
server.
SourceRequired 2 This value indicates the job requires a license on the source
server.
Parameter of
ActivationCode on page 220
Properties
Name Enumeration Description
NotApplicable 0 The license type is not applicable.
Parameter of
MirrorParameters on page 306, RestoreParameters on page 337, VerifySchedule on page 380
Properties
Name Enumeration Description
None 0 Carbonite will not perform any comparison between the files on
the source and target.
Newer 1 Carbonite will compare file attributes between the files on the
source and target.
Checksum 2 Carbonite will compare file attributes and file data between files
on the source and target.
Parameter of
MirrorParameters on page 306, VerifySchedule on page 380
Properties
Name Enumeration Description
None 0 Carbonite will not mirror any files.
Synchronize 1 Carbonite will mirror the files from the source to the target. If you
use this property by itself, all files will be mirror. If you use this
property with CalculateDifferences (enumeration 5), only the
differences will be mirrored.
Report 2 Carbonite will only report the differences found between the
source protected data set and the replica on the target. You
must use this option with CalculateDifferences (enumeration 6)
in order for the differences to be reported.
CalculateSize 8 The mirroring operation will calculate the size of the source
protected data set. You can combine this enumeration with
Synchronize, Report, CalculateDifferences, and
ProcessOrphans.
ProcessOrphans 16 The mirroring operation will process orphan files (files in the
target path location that are not present on the source). You can
combine this enumeration with Synchronize, Report,
CalculateDifferences, and CalculateSize.
Returned by
Wait-DtMirrorComplete on page 213
Parameter of
CoreConnectionDetails on page 246
Properties
Name Enumeration Description
Calculating 0 The size of the replication set is being calculated.
RemoveOrphans 4 Orphan files (files in the target path location that are not present
on the source) are being deleted.
RepsetVerify 5 The source protected data set is being verified against the
target replica data.
Restore 6 Replica data from the target is being restored to the source.
Waiting 8 Mirroring is complete, but data is still being written to the target.
Parameter of
ServerInfo on page 343
Properties
Name Enumeration Description
Traditional 0 A traditional network, like ifcfg-etho0, is being used.
Parameter of
OperatingSystemInfo on page 313
Properties
Name Enumeration Description
x86 0 The operating system uses the 32-bit architecture.
Parameter of
OperatingSystemInfo on page 313
Properties
Name Enumeration Description
None 0 The operating system product type is not defined.
Parameter of
PathBlocking on page 317
Properties
Name Enumeration Description
Blocked 0 The path is blocked for writing, except by Carbonite.
Parameter of
MonitoredAddressConfiguration on page 309
Properties
Name Enumeration Description
None 0 The IP address will not be monitored for failure and cannot be
failed over.
Manual 4 The IP address will not be monitored for failure but is still eligible
for failover.
Parameter of
DnsDomainDetails on page 262
Properties
Name Enumeration Description
All 0 All record types are failed over and failed back.
HostOnly 1 Only host records (A and AAAA) are failed over and failed back.
Parameter of
PhysicalRule on page 321
Properties
Name Enumeration Description
Recursive 0 The physical rule will be applied to this path and all of its
children paths.
Parameter of
TargetStateInfo on page 368
Properties
Name Enumeration Description
Invalid -1 This value is an unknown data set type.
Parameter of
CoreConnectionDetails on page 246
Properties
Name Enumeration Description
NotReplicating 0 Replication is stopped.
Parameter of
RestoreParameters on page 337
Properties
Name Enumeration Description
None 0 No additional restroration options will be used.
RestoreWorkloadToSource 2 Restore the workload information from the target to the source.
OverwriteExistingFiles 4 Overwrite all existing files on the source during the restoration.
You can combine UseTargetWorkload and RestoreWorkloadToSource by using enumeration 3, UseTargetWorkload and OverwriteExistingFiles by using
enumeration 5, RestoreWorkloadToSource and OverwriteExistingFiles by using enumeration 6, and UseTargetWorkload, RestoreWorkloadToSource,
and OverwriteExistingFiles by using enumeration 7.
Parameter of
CoreMonitorDetails on page 252
Properties
Name Enumeration Description
None 0 There is no restoration connection.
Parameter of
RecommendedFailbackOptions on page 329
Properties
Name Enumeration Description
NotStarted 0 The restoration operation has not started.
Parameter of
LogicalItems on page 299, LogicalVolume on page 300, PhysicalItem on page 319, PhysicalVolume on page 322, Volume on page 386
Properties
Name Enumeration Description
Unknown 0 The saturation level is unknown.
Full 3 The item and all of its children (if a container) will be replicated.
Error 4 An error occurred while calculating the saturation for the item.
Parameter of
ScriptPoint on page 339
Properties
Name Enumeration Description
Synchronous 0 Carbonite will wait while the script is executed.
Parameter of
ScriptPoint on page 339
Properties
Name Enumeration Description
MirrorStart 0 The script is executed when the target receives the first mirror
operation. In the case of a difference mirror, this may be a long
time after the mirror is started because the script does not start
until the first different data is received on the target. If the data
is synchronized and a difference mirror finds nothing to mirror,
the script will not be executed.
Parameter of
EmailNotificationOptions on page 266
Properties
Name Enumeration Description
Plain 0 The security is plain.
Parameter of
SnapshotEntry on page 350
Properties
Name Enumeration Description
None 0 This value represents no snapshots available.
Parameter of
SnapshotEntry on page 350, SourceQueueSnapshotEntry on page 356
Properties
Name Enumeration Description
Manual 0 A user manually took this snapshot.
SQLClusterAutomatic 6 The test failover process took this snapshot for a clustered
SQL job.
Parameter of
SourceQueueSnapshotEntry on page 356
Properties
Name Enumeration Description
Good 0 This value represents a good snapshot.
Parameter of
SourceQueueSnapshotEntry on page 356
Properties
Name Enumeration Description
Completed 0 This value represents a completed snapshot.
Parameter of
SqlMigrationOptions on page 360
Properties
Name Enumeration Description
None 0 This value indicates no changes will be made on the source.
Shutdown 4 This value indicates the source server will be shut down after
cutover completes.
You can combine OfflineDatabaseBeforeCutover and OnlineDatabasesAfterCutover by using enumeration 3, OfflineDatabaseBeforeCutover and
Shutdown by using enumeration 5, OnlineDatabasesAfterCutover and Shutdown by using enumeration 6, and OfflineDatabaseBeforeCutover,
OnlineDatabasesAfterCutover, and Shutdown by using enumeration 7.
Parameter of
Set-DefaultSqlCredentials on page 144, SqlCredentials on page 357
Properties
Name Enumeration Description
Windows 0 This value indicates Windows credentials will be used for SQL
Server authentication.
Sql 1 This value indicates SQL credentials will be used for SQL
Server authentication.
Parameter of
SqlInstance on page 358
Properties
Name Enumeration Description
Unknown 0 This value indicates the state of the SQL server is unknown.
Parameter of
SqlInstance on page 358
Properties
Name Enumeration Description
Standalone 0 This value indicates the SQL server is a standalone server.
Parameter of
TargetServicesToStop on page 367
Properties
Name Enumeration Description
Stopped 0 The service is stopped.
Parameter of
CoreConnectionDetails on page 246, SnapshotEntry on page 350, SourceQueueSnapshotEntry on page 356, TargetStateInfo on page 368
Properties
Name Enumeration Description
Good 0 The target is in a good state.
RestoreRequired 64 The data on the source and target may not be synchronized
because of a failover condition. This state will remain until a
restore or remirror is completed.
SnapshotReverted 256 The data on the source and target may not be synchronized
because a snapshot was applied on the target. This state will
remain until a restore or remirror is completed.
MarkedForDeletion 32768 The connection is marked for deletion when the source comes
back online.
JobNotReadyOnTarget 65536 The target server may not be ready to resume transmission, for
example due to disks being offline.
TargetPathBlocked 2147483648 Writing to the replica path location on the target is blocked.
Parameter of
CoreConnectionDetails on page 246
Properties
Name Enumeration Description
Error 0 Transmission is in an error state.
Parameter of
Set-DtVmwareCertificatePolicy on page 161
Properties
Name Enumeration Description
AllowAll 0 Allow all certificates to be installed.
Parameter of
BandwidthEntry on page 229, BandwidthScheduleEntry on page 233
Properties
Name Enumeration Description
None 0 No days of the week are specified.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l $DtProtectionPath1 =
l $DtProtectionRule1 =
l $DtProtectionPath2 =
l $DtProtectionRule2 =
l $DtJobOptions =
l $DtJobGuidForFilesAndFolders =
l # $DtJobGuidForFilesAndFolders =
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "FilesAndFolders"
$DtJobType = "FilesAndFolders"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Get the default job options that will be used to create the job
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtTarget -Source $DtSource -JobType $DtJobType
-Workload $DtWorkload
# If you do not want to specify job options and instead use the default options,
# remove the PathTransformations lines above and use the New-DtFilesAndFoldersJob
# cmdlet, similar to the following line.
# $DtJobGuidForFilesAndFolders = New-DtFilesAndFoldersJob -ServiceHost $DtTarget -Source $DtSource -Path
$DtSourcePath -JobOptions $DtJobOptions.JobOptions
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l # Set-DtLogicalItemSelection
l $DtJobOptions =
l $DtJobGuidForFullServer =
l $TestServer =
l $DtJobOptions.JobOptions.FullServerTestFailoverOptions.TestFailoverServerCredential
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "FullServerFailover"
$DtJobType = "FullServerFailover"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Get the workload definition including the workload and logical items
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# Get the default options that will be used to create the job
# Specify the reserved addresses set earlier to be used in the job options to be used for reverse
$DtJobOptions.JobOptions.SystemStateOptions.SourceReservedAddress = $DtSourceReservedIP
$DtJobOptions.JobOptions.SystemStateOptions.TargetReservedAddress = $DtTargetReservedIP
# If you want to disable reverse, you would not need the two lines above.
# Instead, use the following line to disable reverse.
# $DtJobOptions.JobOptions.FullServerFailoverOptions.CreateBackupConnection = $false
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l # Set-DtLogicalItemSelection
l $DtJobOptions =
l $DtJobGuidForLFFO =
l $TestServer =
l $DtJobOptions.JobOptions.FullServerTestFailoverOptions.TestFailoverServerCredential
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Reserved IP addresses
$DtSourceReservedIP = "10.10.10.29"
$DtTargetReservedIP = "10.10.10.30"
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "LinuxFullServerFailover"
$DtJobType = "LinuxFullServerFailover"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Get the workload definition including the workload and logical items
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# Specify the reserved addresses set earlier to be used in the job options to be used for reverse
$DtJobOptions.JobOptions.SystemStateOptions.SourceReservedAddress = $DtSourceReservedIP
$DtJobOptions.JobOptions.SystemStateOptions.TargetReservedAddress = $DtTargetReservedIP
# If you want to disable reverse, you would not need the two lines above.
# Instead, use the following line to disable reverse.
# $DtJobOptions.JobOptions.FullServerFailoverOptions.CreateBackupConnection = $false
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l $DtProtectionItems =
l # $RootItem =
l # | ForEach-Object
l # $DtProtectionItems
l $DtJobOptions =
l $DtJobGuidForSQL =
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "SQL"
$DtJobType = "SQL"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Add what you want to protect to the workload. These lines will, by default, select all instances
$DtLogicalItem = Get-DtLogicalItem -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
$DtProtectionItems = Set-DtLogicalItemSelection -ServiceHost $DtSource -WorkloadId $DtWorkloadGuid -
LogicalPath $DtLogicalItem.Path
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# If you do not want to protect all of the instances, as the default does, comment out the
# three lines above and uncomment and use the following group of lines.
# $RootItems = Get-DtLogicalItem -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# $RootItems | Format-List
# $RootItem = (Get-DtLogicalItem -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID | Where-Object
{$_.Path -eq "SQL:\"})[ 0 ]
# The following lines unselect all of the instances that were selected by default
# Get-DtLogicalItem -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID -RefItem $RootItem `
# | ForEach-Object {Set-DtLogicalItemSelection -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID -
LogicalPath $_.Path -Unselect}
# Select the instance that you want to protect by replacing instance_name with the name of the
# Get the default job options that will be used to create the job
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtTarget -Source $DtSource -JobType $DtJobType
-Workload $DtWorkload
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l $DtReverseAppliance=
l $VimTarget =
l # Set-DtLogicalItemSelection
l $DtJobOptions =
l The comments in the Configure test failover section
l $DTJobOptions.JobOptions.VRAOptions.SourceApplianceInfo
l $DtJobGuidForEVRA =
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "VRA"
$DtJobType = "VRA"
# VM display name
# This name must be unique within your environment and different
# Type of disk. Use Dynamic for ESX thin disks, Fixed for ESX thick disks
# and Flat Disk for ESX flat disks
$DiskType = "Dynamic"
# Reverse options
$ReverseDisplayName = "ReverseName"
# If you are configuring a reverse job, create reverse ESX host object
$DtReverseHost = New-DtServer -Name $DtReverseHostName -UserName $DtReverseHostUserName -Password
$DtReverseHostPassword -Role ReverseVimServer
# All roles
$OtherServers = @($VimTarget,$DtReverseHost,$DtReverseAppliance)
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Get the workload definition including the workload and logical items
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# Get the default job options that will be used to create the job
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtTarget -Source $DtSource -OtherServers
$OtherServers -JobType $DtJobType -Workload $DtWorkload
# Set the location where you want the VM config files to be located
$DtJobOptions.JobOptions.VRAOptions.ReplicaVMInfo.Path = $DatastoreLocation
# Set the location where you want the VM disk files to be located
foreach($disk in $DtJobOptions.JobOptions.VRAOptions.Volumes)
{
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
Disconnect-DtServer -ServiceHost $VimTarget
Disconnect-DtServer -ServiceHost $DtReverseAppliance
Disconnect-DtServer -ServiceHost $DtReverseHost
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l $VimTarget =
l # Set-DtLogicalItemSelection
l $DtJobOptions =
l $ExistingDisk +=
l $ExistingDisk +=
l $ExistingDisk +=
l $DtJobGuidForLVRA =
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Sample script to create a simple full server to ESX job for Linux
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "Lvra"
$DtJobType = "Lvra"
# VM display name
# This name must be unique within your environment and different
# from the existing directory location name if you are reusing an existing disk
$DisplayName = "Name"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Get the workload definition including the workload and logical items
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# Get the default job options that will be used to create the job
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtTarget -Source $DtSource -OtherServers
$OtherServers -JobType $DtJobType -Workload $DtWorkload
# Set the location where you want the VM config files to be located
$DtJobOptions.JobOptions.VRAOptions.ReplicaVMInfo.Path = $DatastoreLocation
# Uncomment and use the following block only if you want to reuse an existing
# disk with a per volume disk configuration strategy
# Specify the existing disk to use
<#
$ExistingDisks = @()
$ExistingDisksDatastoreLocation = $ReplicaVmDatastoreLocation
$ExistingDisks += @{ mountPoint = $MountName; dsLoc = $ExistingDisksDatastoreLocation; vmdkPath =
$MountLocation }
$ExistingDisks += @{ vgName = $LvmName1; dsLoc = $ExistingDisksDatastoreLocation; vmdkPath =
$LvmLocation1 }
$ExistingDisks += @{ vgName = $LvmName2; dsLoc = $ExistingDisksDatastoreLocation; vmdkPath =
$LvmLocation2 }
$modifiedVolumeGroups = @{}
foreach($existingDisk in $ExistingDisks)
{
if ($existingDisk.ContainsKey("mountPoint"))
{
$mntpt = $existingDisk["mountPoint"]
if ($mntpt)
{
foreach($mountedPartition in $DtJobOptions.JobOptions.VRAOptions.Volumes)
{
if ($mntpt -eq $mountedPartition.Name)
{
$mountedPartition.VirtualDiskPath = $existingDisk["dsLoc"]
$mountedPartition.PreexistingDiskPath = $existingDisk["vmdkPath"]
break
}
}
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l # Set-DtLogicalItemSelection
l $DtJobOptions =
l The commented lines for connecting the replicate to the network
l $DtJobGuidForHVRA =
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "VRA"
$DtJobType = "VRA"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Get the workload definition including the workload and logical items
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# Get the default job options that will be used to create the job
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtTarget -Source $DtSource -JobType $DtJobType
-Workload $DtWorkload
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l $DtMigrationPath1 =
l $DtMigrationRule1 =
l $DtMigrationPath2 =
l $DtMigrationRule2 =
l $DtJobOptions =
l $DtJobGuidForDataMigration =
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Type of workload you will be migrating and type of job you will be creating
$DtWorkloadType = "MoveDataOnlyMigration"
$DtJobType = "MoveDataOnlyMigration"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l # Set-DtLogicalItemSelection
l $DtJobOptions =
l $DtJobGuidForFullServerMigration =
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "MoveServerMigration"
$DtJobType = "MoveServerMigration"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Get the workload definition including the workload and logical items
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# Get the default options that will be used to create the job
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtTarget -Source $DtSource -JobType $DtJobType
-Workload $DtWorkload
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l # Set-DtLogicalItemSelection
l $DtJobOptions =
l $DtJobGuidForLFFO =
l $TestServer =
When re-creating a script like this one for your environment, make sure you enter the commands on just one line.
# Sample script to create a simple SAP HANA migration for Linux job
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "SapHanaMigration"
$DtJobType = "SapHanaMigration"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Get the workload definition including the workload and logical items
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# Get the default options that will be used to create the job
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtTarget -Source $DtSource -JobType $DtJobType
-Workload $DtWorkload
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l $DtProtectionItems =
l # $RootItem =
l # | ForEach-Object
l # $DtProtectionItems
l $DtJobOptions =
l The following lines that start with $DtJobOptions.JobOptions.ApplicationOptions.
l SqlMigrationOptions.DbaToolsCredentials.UserName =
l SqlMigrationOptions.DbaToolsCredentials.Password =
l SqlMigrationOptions.SourceSqlCredentials.UserName =
l SqlMigrationOptions.SourceSqlCredentials.Password =
l SqlMigrationOptions.TargetSqlCredentials.UserName =
l SqlMigrationOptions.TargetSqlCredentials.Password =
l SqlMigrationOptions.TargetInstance.InstanceName =
l $DtJobGuidForSQL =
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "SqlMigration"
$DtJobType = "SqlMigration"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Add what you want to protect to the workload. These lines will, by default, select all databases
$DtLogicalItem = Get-DtLogicalItem -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
$DtProtectionItems = Set-DtLogicalItemSelection -ServiceHost $DtSource -WorkloadId $DtWorkloadGuid -
LogicalPath $DtLogicalItem.Path
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# If you do not want to protect all of the databases, as the default does, comment out the
# three lines above and uncomment and use the following group of lines.
# $RootItems = Get-DtLogicalItem -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# $RootItems | Format-List
# $RootItem = (Get-DtLogicalItem -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID | Where-Object
{$_.Path -eq "SQL:\"})[ 0 ]
# The following lines unselect all of the databases that were selected by default
# Get-DtLogicalItem -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID -RefItem $RootItem `
# | ForEach-Object {Set-DtLogicalItemSelection -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID -
LogicalPath $_.Path -Unselect}
# Select the database that you want to protect by replacing database_name with the name of the database
# For example, SQL:\database_name would be SQL:\PROD for a database called PROD
# $DtProtectionItems = Set-DtLogicalItemSelection -ServiceHost $DtSource -WorkloadId $DtWorkloadGuid -
LogicalPath "SQL:\Default Instance\Databases\User Databases\database_name"
# $DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# Get the default job options that will be used to create the job
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtTarget -Source $DtSource -JobType $DtJobType
-Workload $DtWorkload
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
The following lines are wrapped to the line below so that you can see all of the text on the page.
l $VimTarget =
l # Set-DtLogicalItemSelection
l $DtJobOptions =
l $DtJobGuidForVraMove =
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "VraMove"
$DtJobType = "VraMove"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Get the default job options that will be used to create the job
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtTarget -Source $DtSource -JobType $DtJobType
-Workload $DtWorkload -OtherServers $OtherServers
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
Disconnect-DtServer -ServiceHost $VimTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The following lines are wrapped to the line below so that you can see all of the text on the page.
l # Set-DtLogicalItemSelection
l $DtJobOptions =
l $DtJobGuidForVraMove =
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Type of workload you will be protecting and type of job you will be creating
$DtWorkloadType = "VraMove"
$DtJobType = "VraMove"
# Create a workload
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -WorkloadTypeName $DtWorkloadType
# Get the workload definition including the workload and logical items
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGUID
# Get the default job options that will be used to create the job
$DtJobOptions = Get-DtRecommendedJobOptions -ServiceHost $DtTarget -Source $DtSource -JobType $DtJobType
-Workload $DtWorkload
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
Each Get-EventLog cmdlet is just one line. It may be wrapped to the line below so that you can see all of
the text on the page. When re-creating a script like this for your environment, make sure you enter those
commands on just one line.
# Set the date for how far back you want to view
$Date = get-date 01/15/20220
# Display all Double-Take service and Double-Take Management Service Event messages
# since the date you specified
Get-EventLog -LogName Application -Source @("Double-Take", "Double-Take Management Service") -After $Date
# Display the last five Double-Take service or Double-Take Management Service Event
# messages, listing all properties of the Events
Get-EventLog -LogName Application -Source @("Double-Take", "Double-Take Management Service") -Newest 5 |
format-list -property *
# Set the date for how far back you want to view
$Date = get-date 01/15/20220
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
# Get the jobs on the target and pass through to create a diagnostics file
Get-DtJob -ServiceHost $DtTarget | Save-DtJobDiagnostics -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The $DtJob line is wrapped to the line below so that you can see all of the text on the page. When re-
creating a script like this for your environment, make sure you enter that command on just one line.
# Source server
$DtSourceName = "alpha"
The following lines are wrapped to the line below so that you can see all of the text on the page.
l $DtJob =
l $DtNewRule =
l $DtExcludeTxtRule =
When re-creating a script like this for your environment, make sure you enter those commands on just
one line.
# Create a workload object on the source to edit the current workload rules
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -Workload $DtJob.Options.Workload
# Specify files to exclude from protection, in this example .txt files in the new protection rule
$DtExcludeTxtRule = Add-DtPhysicalRule -ServiceHost $DtSource -WorkloadId $DtWorkloadGuid -Path
$DtJobFileToExclude -Exclude
# Update the workload rules in the job options with the new modifications
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGuid
$DtJob.Options.Workload=$DtWorkload
# Update the path mapping of the replicated data on the target based on the current recommendations
$DtTargetPath = Get-DtRecommendedPathTransform -ServiceHost $DtSource -WorkloadId $DtWorkloadGuid
$DtJob.Options.CoreConnectionOptions.PathTransformations = $DtTargetPath
# If you do not want to use the one-to-one path mapping in the default recommended options,
# you can configure the job to use specific locations, similar to the following lines.
# $DtJob.Options.CoreConnectionOptions.PathTransformations[0].SourcePath = "C:\"
# $DtJob.Options.CoreConnectionOptions.PathTransformations[0].TargetPath = "C:\ReplicatedData\"
# Apply new job options with the updated workload rules, forcing a remirror.
Edit-DtJob -ServiceHost $DtTarget -JobId $DtJob.Id -JobOptions $DtJob.Options
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
The $DtJob line is wrapped to the line below so that you can see all of the text on the page. When re-
creating a script like this for your environment, make sure you enter that command on just one line.
# Sample script to change the compression settings for an existing Carbonite job
# Create a workload object on the source to edit the current workload rules
$DtWorkloadGUID = New-DtWorkload -ServiceHost $DtSource -Workload $DtJob.Options.Workload
# Update the workload rules in the job options with the new modifications
$DtWorkload = Get-DtWorkload -ServiceHost $DtSource -WorkloadId $DtWorkloadGuid
$DtJob.Options.Workload=$DtWorkload
# If the completion status is Error, print out the steps reporting an Error
if ($DtConfirmStatus.Steps.Status -eq 3)
{
Write-Error "The following job validation errors were detected:"
$DtConfirmStatus.Steps | ForEach-Object
{
if ($_.Status -eq 3)
{
Write-Error "$($_.Id) : $($_.TitleKey) : $($_.MessageKey)"
}
# Apply new job options with the updated workload rules, forcing a remirror.
Edit-DtJob -ServiceHost $DtTarget -JobId $DtJob.Id -JobOptions $DtJob.Options
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
If you have multiple jobs on your target, you can use the Windows Where-Object cmdlet to identify a specific job
by its source URI, source server name, or by job name. For example, you might use one of the following.
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
If you have multiple jobs on your target, you can use the Windows Where-Object cmdlet to identify a specific job
by its source URI, source server name, or job name. For example, you might use one of the following.
# Sample script to gather and set Carbonite job and server options
# You may want to run these cmdlets from the PowerShell command prompt
# so that you can see the values returned for each of the get cmdlets
# and then determine appropriate desired values for each option
# Store the desired value for each job and server setting
$DtMaxChecksumBlocksDesiredValue = @{MaxChecksumBlocks=64}
$DtMirrorChunkSizeDesiredValue = @{MirrorChunkSize=131072}
$DtCalculateByVolumeDesiredValue = @{CalculateByVolume=1}
$DtAutoRemirrorDesiredValue = @{AutoRemirror=1}
# Close the connections for the server objects. You may want to consider using a finally block.
Disconnect-DtServer -ServiceHost $DtSource
Disconnect-DtServer -ServiceHost $DtTarget
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
If you want to hide your user credentials in your script, use the Windows PowerShell Get-Credential cmdlet. The
password will not be visible because Windows stores an encrypted password. See Hiding your password in a
PowerShell script on page 521 for basic details on using this cmdlet. See your Windows PowerShell
documentation for detailed instructions.
# Source server
$DtSourceName = "alpha"
# Target server
$DtTargetName = "beta"
Bandwidth
Set Options Field Equivalent JobOptions Class
Do not limit bandwidth JobOptions.BandwidthOptions.Mode
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 522
Set Options Field Equivalent JobOptions Class
JobOptions.BandwidthOptions.Specification.Value
Compression
Set Options Field Equivalent JobOptions Class
Enable compression JobOptions.CoreConnectionOptions.ConnectionStartParameters.
CompressionLevel.Algorithm
JobOptions.CoreConnectionOptions.ConnectionStartParameters.
CompressionLevel.Level
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 523
Failover Identity
Set Options Field Equivalent JobOptions Class
Apply source network configuration to the target JobOptions.CoreMonitorOptions.ShouldPerformLanFailover (for files and folders
jobs)
JobOptions.SystemStateOptions.IsWanFailover (for full server jobs)
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 524
Set Options Field Equivalent JobOptions Class
Set both pairs of values to the same value. Both locations of ShouldUpdateTtl and
both locations of TtlValue should be the same value. If they are different, the
DNS update will fail.
Failover Monitor
Set Options Field Equivalent JobOptions Class
Total time to failure JobOptions.CoreMonitorOptions.TotalTimeAllowed
JobOptions.CoreMonitorOptions.UseTotalTimeAllowed
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 525
Failover Options
Set Options Field Equivalent JobOptions Class
Wait for user to initiate failover JobOptions.CoreMonitorOptions.MonitorConfiguration.ProcessingOptions.
UserInterventionRequired
Scripts JobOptions.CoreMonitorOptions.MonitorConfiguration.Scripts
Failover Services
Set Options Field Equivalent JobOptions Class
Services to stop on source and start on target during JobOptions.SystemStateOptions.ServicesToStopOptions
failover and start on source and stop on target during
failback
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 526
General
Set Options Field Equivalent JobOptions Class
Job name JobOptions.Name
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 527
Set Options Field Equivalent JobOptions Class
Calculate size of protected data upon connection JobOptions.CoreConnectionOptions.ConnectionStartParameters.
MirrorParameters.MirrorOperationOptions
Network Route
Set Options Field Equivalent JobOptions Class
Send data to this target IP address JobOptions.CoreConnectionOptions.TargetAddress
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 528
Path Mapping
Set Options Field Equivalent JobOptions Class
Mappings JobOptions.CoreConnectionOptions.PathTransformations
Sockets JobOptions.VRAOptions.ReplicaVmInfo.CPUs
Processors JobOptions.VRAOptions.ReplicaVmInfo.CPUs
Memory JobOptions.VRAOptions.ReplicaVmInfo.Memory
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 529
Replica Virtual Machine Location
Set Options Field Equivalent JobOptions Class
Select the datastore on the target ESX server that will JobOptions.VRAOptions.Volumes.VirtualDiskPath
hold the replica virtual machine
Select the volume and folder on the target server that JobOptions.VRAOptions.Volumes.VirtualDiskPath
will hold the replica virtual machine
Full path where the replica virtual machine will be stored JobOptions.VRAOptions.Volumes.VirtualDiskPath
Local File Volume None. This is an interface control only so the console can display the appropriate
fields depending on the selected option.
SMB Share None. This is an interface control only so the console can display the appropriate
fields depending on the selected option.
Folder JobOptions.VRAOptions.Volumes.VirtualDiskPath
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 530
Replica Virtual Machine Volumes
Set Options Field Equivalent JobOptions Class
Replica Disk Size JobOptions.VRAOptions.Volumes.DesiredSize
JobOptions.VRAOptions.ReverseOptions.Volumes.DesiredSize
Virtual Disk None. This is an interface control only so the console can display the appropriate
fields depending on the selected option.
Create disks match source None. This is an interface control only so the console can display the appropriate
fields depending on the selected option.
Create disks per volume None. This is an interface control only so the console can display the appropriate
fields depending on the selected option.
Disk Properties, Virtual disk None. This is an interface control only so the console can display the appropriate
fields depending on the selected option.
Volume Group Properties, Virtual disk None. This is an interface control only so the console can display the appropriate
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 531
Set Options Field Equivalent JobOptions Class
fields depending on the selected option.
Partition Properties, Virtual disk None. This is an interface control only so the console can display the appropriate
fields depending on the selected option.
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 532
Set Options Field Equivalent JobOptions Class
Receive commands on this source IP address JobOptions.SourceNetworkIdForManagementService
Scripts
Set Options Field Equivalent JobOptions Class
Script file JobOptions.CoreConnectionOptions.ConnectionStartParameters.ScriptPoints.
Path
JobOptions.CoreConnectionOptions.ConnectionStartParameters.ScriptPoints.
Type
Arguments JobOptions.CoreConnectionOptions.ConnectionStartParameters.ScriptPoints.
Arguments
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 533
Snapshots
Set Options Field Equivalent JobOptions Class
Disk space allocated for each snapshot JobOptions.CoreConnectionOptions.ConnectionStartParameters.
SnapshotSchedule.MaxNumberOfSnapshots
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 534
Set Options Field Equivalent JobOptions Class
database access
during cutover
Target Paths
Set Options Field Equivalent JobOptions Class
Block target paths upon connection JobOptions.CoreConnectionOptions.ConnectionStartParameters.
IsPathBlockingEnabled
Target Services
Set Options Field Equivalent JobOptions Class
Services to leave running on the target during protection JobOptions.TargetServicesOptions.FailoverServices
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 535
Test Failover
Set Options Field Equivalent JobOptions Class
Use default replica virtual machine JobOptions.VRAOptions.TestFailover.ReplicaDisplayName
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 536
Set Options Field Equivalent JobOptions Class
Volume Group Properties, Replica JobOptions.VRAOptions.TestFailover.LvmOptions.VolumeGroup.PhysicalVolume.
disk format DiskProvisioningType
Chapter 6 Carbonite Replication Console Set Options page to JobOptions class mapping 537
Chapter 7 Server and job settings
The easiest way to view and change select server and job settings is through the Carbonite Replication Console.
However, not all of the settings are available there, especially for Linux servers. To view and update the remaining
settings, in addition to the settings available in the console, you will need to go to HKEY_LOCAL_
MACHINE\SOFTWARE\NSI Software\Double-Take\CurrentVersion in the registry on a Windows server. For a
Linux server, you can use DTSetup to modify the configuration settings or manually modify /etc/DT/DT.conf. For
Windows or Linux, you can use the Carbonite PowerShell cmdlets Get-DtOption and Set-DtOptions.
The following table lists all of the Windows and Linux server and job settings, in decimal value.
l Windows server and job settings on page 539
l Linux server and job settings on page 574
Carbonite products share the same set of server and job settings. You may only have a subset of the
settings listed below depending on your Windows operating system and Carbonite product.
Carbonite Availability terminology is used in the following list. For example, failover is used for Carbonite
Availability and cutover for Carbonite Migrate.
AcquireDataRetryLimit
Description—The length of time, in milliseconds, spent retrying a file read if there is a read
error
Values—Any positive, integer value
Default—2000
Console setting—None
Service restart required—No
ActivationCode
Description—24-character Carbonite license key
Values—Unique value for each customer
Default—N/A
Console setting—Edit Server Properties page, Licensing section, Current license keys
Service restart required—No
AddOnCodes
Description—This setting is no longer used.
ArchiveLoopAttempts
Description—This setting is no longer used.
ArchiveLoopDelay
Description—This setting is no longer used.
AutoCalcEulaAccepted
Description—Used internally by Carbonite. Do not modify this entry.
AutoReconnect
Description—Specifies whether to reinstate the target connection(s) when the source machine
is brought online after a source machine failure
Values—0 Do not reconnect, 1 Reconnect
Default—1
While the calculations are fairly straight forward, the values that have been suggested are not
exact because they depend on round trip time. Some improvements could be gained by
adjusting these values either higher or lower. The value suited for your environment can best be
determined through trial and error testing.
TempDir
Description—Temporary directory used when replicating Windows 200x encrypted files.
Values—Any valid path
Default—\Program Files\Carbonite\Replication\Temp
Console setting—None
Service restart required—No
TGApplyMntPntSecurity
Description—Applies security settings to the volume of a mount point instead of applying them
to the directory that the mount point is mounted to.
Values—0 Security will be applied to the directory, 1 Security will be applied to the volume
Default—0
Console setting—None
Service restart required—Yes
Notes—This setting needs to be applied to the target server.
TGBlockOnConnect
Description—Blocks the target path for all connections, regardless of the source, so that the
data cannot be modified
Values—0 Target paths are not blocked, 1 Target paths are blocked
Default—0
Console setting—None
Service restart required—No
TGCloseDelay
Description—The length of time, in milliseconds, a file is held open on the target
Values—0 - 2000
Default—1000
Console setting—None
Service restart required—No
Carbonite products share the same set of server and job settings. You may only have a subset of the
settings listed below depending on your Linux operating system and Carbonite product.
Carbonite Availability terminology is used in the following list. For example, failover is used for Carbonite
Availability and cutover for Carbonite Migrate.
ActivationCode
Description—24-character Carbonite license key
Values—Unique value for each customer
Default—N/A
Console setting—Edit Server Properties page, Licensing section, Current license keys
Service restart required—No
AdapterFlags
Description—Specifies the adapter to use when establishing a connection. This option should
not be changed.
Values—2 Encryption, 4 Network Data Representation
Default—4
Console setting—None
Service restart required—No
Advertisement
Description—This setting is no longer used.
AllFailover
Description—Specifies which IP addresses to failover
Values—0 Failover only monitored IP addresses, 1 Failover all IP addresses
Default—1
Console setting—None
Service restart required—No
AllMustFail
Description—Specifies whether or not all IP addresses must fail for failover to take place
Values—0 Any IP address can fail, 1 All IP addresses must fail
Default—1
Console setting—None
Service restart required—No