Open source tool for database replication, transferring bulk data between SQL and NoSQL databases.
1M+

ReplicaDB is an open source tool for database replication designed for efficiently transferring bulk data between relational and NoSQL databases.
Official container images for ReplicaDB on Linux for Docker Engine.
Run ReplicaDB using docker volume to mount the options file (-v /tmp/replicadb.conf must be an absolute path to options file):
$ docker run \
-v /tmp/replicadb.conf:/home/replicadb/conf/replicadb.conf \
osalvador/replicadb
Run ReplicaDB using environment variable to pass the options file to the container:
$ read -r -d '' REPLICADB_CONFIGURATION << EOM
source.connect=jdbc:postgresql://localhost/osalvador
source.table=TEST
sink.connect=jdbc:postgresql://remotehost/osalvador
sink.table=TEST
mode=complete
EOM
$ docker run \
-e "REPLICADB_CONFIGURATION=${REPLICADB_CONFIGURATION}" \
osalvador/replicadb
Run ReplicaDB and remove (--rm) the container when it exits. Overwriting ReplicaDB arguments:
$ docker run --rm \
-e "REPLICADB_CONFIGURATION=${REPLICADB_CONFIGURATION}" \
osalvador/replicadb --verbose
2020-08-05 15:37:13,055 INFO ReplicaDB:42 Running ReplicaDB version: 0.8.1
2020-08-05 15:37:13,072 INFO ReplicaDB:46 Setting verbose mode
...
The ReplicaDB docker image supports an environment variable to handle configuration :
REPLICADB_CONFIGURATION - a string that contains the full configuration file that will be written on /home/replicadb/conf/replicadb.conf on container./home/replicadb/conf/replicadb.conf - File location for configuration file (--options-file parameter)Content type
Image
Digest
sha256:995488254…
Size
412.9 MB
Last updated
6 days ago
docker pull osalvador/replicadb