backup

package
v2.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunBackup

func RunBackup(ctx context.Context, req Request, svc influxdb.BackupService, log *zap.Logger) error

Types

type Request

type Request struct {
	// Organization to backup.
	// If not set, all orgs will be included.
	OrgID influxdb.ID
	Org   string

	// Bucket to backup.
	// If not set, all buckets within the org filter will be included.
	BucketID influxdb.ID
	Bucket   string

	// Path to the directory where backup files should be written.
	Path string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL