How can I do a 'backup'?


#1

Hello,
Once I load a graph, made some mutations and commit, how can I do a ‘backup’ (a ‘dump’) of the changed graph to load the modified graph at another server?
Thanks,
Ely


#2

Hi @elymatos,

Assuming you have a single node, the quickest and easiest way to back up your data would be to:

  • shut down Grakn
  • create an archive of the db folder within grakn-dist

To restore, you will need to copy and unarchive that db folder to the new server and start Grakn.

We have a more sophisticated backup/restore solution in the works.

Thanh


#3

Hi @thanh,
Thanks for answer. I’ll try it.
Ely