0

I am running a docker container for rethinkdb. I want to load data from the existing rethinkdb database(running on a Linux machine) to the containerized rethinkdb empty clusters. I also want all the clusters to SyncUP and load with existing data.

Akhilesh
  • 89
  • 1
  • 6

1 Answers1

0

You can export the existing database and import it into the new cluster.

rethinkdb dump [options]

Since the backup process uses client drivers, it takes advantage of RethinkDB’s concurrency. While it will use some cluster resources, it won’t lock out any clients, and it can be safely run on a live cluster.

For restore

rethinkdb restore filename

The other option can be is to mount the "/data" directory.

  storageClassName: local-storage
  local:
    path: /mnt/disks/ssd1/rethinkdata

If you are in using cloud hosting, you can consider another volume option.

Kubernetes-volumes

rethink-backup

Adiii
  • 54,482
  • 7
  • 145
  • 148