Export VS Backup


(Ashim) #1

What are the differences between Export & Backup?
What are the use cases of both?


(Michel Conrado (Support Engineer)) #2

Today, no version of Dgraph has “Backup”. Only export, which can be considered a form of Backup.

There is still no consensus on use cases. But it is always recommended to use Export to save data as a backup form. And more than recommended (it’s mandatory) export to upgrade. Not all upgrade versions are required to export, but in a doubt is what has to be done.


(Ashim) #3

Actually, curiously I was asking about a new feature. The corresponding PR is below.

Feature: full backups #2710


(Daniel Mai) #4

Exports are in the standard RDF N-Quad format that can used for other systems (or loaded back into Dgraph).

Backups are in a Dgraph-specific format and enables cluster restores to the state of the backup.