question

adeeb avatar image
adeeb asked Erick Ramirez answered

How can I backup JanusGraph data and restore it to a new node?

i am using gremlin to enter data in cassandra db .how can i take a backup and restore it in new node?

what are the steps for taking and restoring bakup

backuprestorejanusgraph
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

To create a backup of the JanusGraph data, you need to take a snapshot of the JanusGraph tables with the nodetool snapshot command on all the nodes in the cluster. Follow the details in Taking a snapshot.

To clone the JanusGraph tables to another cluster, follow the steps I documented in the following posts:

Before you clone the data, I recommend connecting your JanusGraph to the cluster so the table schema gets created correctly first. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.