Plan and install
Quick start
Install the CLI, register a source, create a protection plan, and run your first replication in about an hour.
- Product
- Datamotive Platform
- Version
- v1.0
- Documentation status
- Published
- Last updated
- Updated
- Reading time
- 1 min read
This guide installs the Datamotive CLI, registers a source node, creates a protection plan, and verifies the first replication. It targets a single workload so you can validate the setup quickly.
Prerequisites
Step 1: Install the CLI
Run the installer in your terminal:
curl -L https://example.datamotive.io/cli/install.sh | bash
dm versionStep 2: Authenticate
$ dm auth login --token $DM_TOKEN
The token is stored in your OS keychain. See API authentication for token rotation.
Step 3: Register a source node
Tag the workload
Tag the source instance so a selector can match it. For VMware, use a tag in vCenter. For AWS, use an EC2 instance tag.
bashdm sources tag --name web-01 --tag tier=productionVerify registration
The source should appear in the sources list within a minute.
bashdm sources list --tag tier=production
Step 4: Create a protection plan
apiVersion: dr.datamotive.io/v1
kind: ProtectionPlan
metadata:
name: quickstart-plan
spec:
rpoSeconds: 300
retention: 7d
sources:
- selector: tier=production
target:
site: aws-mumbai
network: recovery-netApply it:
$ dm plan apply -f protection-plan.yaml
Step 5: Run the first replication
$ dm plan run --name quickstart-plan
Monitor the job:
dm jobs watch --plan quickstart-planA healthy first run shows progress through Seed, Sync, and Steady states. When the plan reaches Steady, the RPO is being met.
Verify the recovery point
$ dm recovery-points list --plan quickstart-plan --limit 5
You should see at least one recovery point with a timestamp within the RPO window.
What you built
Run a DR drill
Validate the plan without affecting production.
Failover
Promote the target when production is impacted.
Next steps
Was this page helpful?
