backup

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 14 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	clients.CLI
	api.HealthApi
	api.BackupApi
	// contains filtered or unexported fields
}

func (*Client) Backup

func (c *Client) Backup(ctx context.Context, params *Params) error

type Params

type Params struct {
	// Organization containing TSM data to back up.
	// If not set, all orgs will be included.
	clients.OrgParams

	// Bucket containing TSM data to back up.
	// If not set, all buckets within the org filter will be included.
	clients.BucketParams

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

	// Compression to use for local copies of snapshot files.
	Compression br.FileCompression

	// ServerGzipCompressionLevel controls the server-side gzip compression level.
	// Valid values: "default", "full", "speedy", "none".
	ServerGzipCompressionLevel string
}

Jump to

Keyboard shortcuts

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