Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Backup ¶
Backup creates a backup request to Dgraph Instance, and polls for task completion provided the export request id and waits until the entire backup is complete once the backup is complete, it is written to local disk
func Restore ¶
func Restore(dg *dgraph.DGraph, i InputOptions, o OutputOptions) error
Restore will restore the data from local path to the provided dgraph instance
Types ¶
type InputOptions ¶
type OutputOptions ¶
Click to show internal directories.
Click to hide internal directories.