What are the differences between Export & Backup?
What are the use cases of both?
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.
Actually, curiously I was asking about a new feature. The corresponding PR is below.
Feature: full backups #2710
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.
3 Likes