MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / remoteExportStorage

Struct remoteExportStorage

worker/export.go:451–456  ·  view source on GitHub ↗

remoteExportStorage uses localExportStorage to write files, then uploads to minio

Source from the content-addressed store, hash-verified

449
450// remoteExportStorage uses localExportStorage to write files, then uploads to minio
451type remoteExportStorage struct {
452 mc *x.MinioClient
453 bucket string
454 prefix string // stores the path within the bucket.
455 les *localExportStorage
456}
457
458func newLocalExportStorage(destination, backupName string) (*localExportStorage, error) {
459 bdir, err := filepath.Abs(filepath.Join(destination, backupName))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected