You can restore data files from an archived snapshot using the cpmdex command. The command copies files from the archived snapshot into the data files of the specific Endeca data store.
The Dgraph process bin directory contains cpmdex.cmd (Windows) and cpmdex.sh (Linux) versions of this command.
$EndecaServerRoot/endeca-server/dgraph/bin
The cpmdex command takes as input both the path to the archived snapshot and the path to the data files of the Endeca data store that will be restored.
To restore the data files from a snapshot:
As a result, the old bikes_indexes data files directory is renamed to bikes_indexes.1 and the snapshot is copied under the bikes_indexes name.