Data Domain: Configure an MTree Replication Context using the CLI

Summary: This article details the steps required to create an Mtree Replication Context on the CLI.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

When creating an MTree or pool replication pair:

  • Make sure the replication is transiting or exiting the correct interface. When defining a replication context, the host names of the source, and destination must resolve with forward and reverse lookups. To make the data transit alternate interfaces on the system, other than the default resolving interface, the replication context must be modified after creation. It may be necessary to set up host files to ensure that contexts are defined on non-resolving (cross-over) interfaces.
  • You can reverse the context for an MTree replication. That is, you can switch the destination and the source.
  • Subdirectories within an MTree cannot be replicated, because the MTree, in its entirety, is replicated.
  • The destination Data Domain system must have available storage capacity of at least the post-compressed size of the expected maximum post-compressed size of the source directory or MTree.
  • When replication is initialized, a destination directory is created automatically.
  • A Data Domain system can simultaneously be the source for one context and the destination for another context.

Setting Up an MTree Replication Context Using the CLI

Here is an example of creating MTree replication pairs at the CLI. In this example, the source system is dd-src and the destination system is dd-dst.

  1. Create an MTree on the source system:
sysadmin@dd-src mtree create /data/col1/mtree-src

MTree /data/col1/mtree-src was successfully created.

 

  1. Create the Replication Context in the source, using the full hostname.
sysadmin@dd-dst replication add source mtree://dd-src.domain.com/data/col1/mtree-src destination mtree://dd-dst.domain.com/data/col1/mtree-dst
  1. Create the replication context in the destination system, using the full hostname.
sysadmin@dd-dst replication add source mtree://dd-src.domain.com/data/col1/mtree-src destination mtree://dd-dst.domain.com/data/col1/mtree-dst
  1. Use the replication show config command to verify that the MTree Replication Context has been created, 

The output is horizontally truncated in this example.

sysadmin@dlh5# replication show config CTX Source --- ------------------------------------------- -----------------------------------------

1 Destination mtree://dd-src.domain.com/data/col1/mtree-src mtree://dd-dst.domain.com/data/col1/ mtree-dst

--- ------------------------------------------- ----------------------------------------- * Used for recovery only.
  1. Use the replication initialize command on the source to start replication between a source and destination. This command checks that the configuration and connections are correct and returns error messages if any problems occur.
sysadmin@dd-src# replication initialize mtree://dd-dst.domain.com/data/col1/mtree-dst (00:08) Waiting for initialize to start... (00:10) Intialize started.

Use 'replication watch mtree://dd-dst.domain.com/data/col1/mtree-dst' to monitor progress.

Additional Information

Affected Products

Data Domain

Products

Data Domain, Data Domain Replicator
Article Properties
Article Number: 000009462
Article Type: How To
Last Modified: 18 آب 2026
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.