FAQ - How to copy DSEFS files from one DSE cluster to another
Overview
This article provides instructions on how to copy DSEFS files across DataStax Enterprise clusters.
Prerequisites
DSE source and target clusters must have nodes running in Analytics mode.
DSE Analytics nodes have DSEFS enabled and configured.
DSE clusters need to be running the same major DSE version for compatibility.
Limitations
Some features may not be compatible when source and target clusters are on different DSE versions.
Execute DSEFS commands on the cluster running with the newer DSE version though it is not guaranteed to work with mixed versions.
If authentication is enabled, both clusters must share the same credentials since it not possible to supply multiple credentials on the command line.
Background
There are cases where a user or application requires the ability to copy files across clusters. Examples are data migration, moving data between production and staging, populating data on a development environment.
In order to provide working examples, the following 2 clusters were created for this article:
Overview
This article provides instructions on how to copy DSEFS files across DataStax Enterprise clusters.
Prerequisites
Limitations
Background
There are cases where a user or application requires the ability to copy files across clusters. Examples are data migration, moving data between production and staging, populating data on a development environment.
In order to provide working examples, the following 2 clusters were created for this article:
CLUSTER 1 - DSEFS source
CLUSTER 2 - DSEFS destination
Preparation
On the source cluster, a test directory was created in DSEFS as follows:
Then one of the files from a local demo directory was copied to DSEFS:
On the destination cluster, the destination directory was created in DSEFS as follows:
Procedure
The file was copied to the remote cluster as follows:
Check that the file exists remotely:
Check locally on the destination cluster: