Skip to content

[Documentation] Improve data export / import docs required for upgrade #4839

@marvin-hansen

Description

@marvin-hansen

Documentation

What you wanted to do

I wanted to update Dgraph, so I have read the manual and tried it out but to no avail.

What you actually did

  1. SSH into alpha-0
  2. curl http://localhost:8080/admin/export

Dgraph browser is available for running separately using the dgraph-ratel binary

WTF???
Do I have a backup, yes or no?

Why that wasn't great, with examples

  1. Why is there no console output at all?

  2. In the documentation, what does "Run Dgraph using new data directories." exactly means?

My reading is, I have to SSH into each node, copy the data folders (actually which?) and create empty ones, but is this actually correct?

Why isn't there a simple backup=/path/to/file script that actually makes sense?

What eventually happened:

From the documentation, I couldn't figure out how to do a data export, thus the upgrade process did not happen. This is not good, by any stretch of the imagination.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions