backup

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExternalCommandFailed = errors.New("external command failed")
)
View Source
var (
	ErrNoArguments = errors.New("no arguments")
)

Functions

func Execute

func Execute(ctx context.Context, cfg Config) error

Types

type Backup

type Backup struct {
	Limits LimitsConfig
}

type Config

type Config struct {
	MariaDB    config.MariaDB
	Storage    config.Storage
	Backup     Backup
	Encryption config.Encryption
}

func DefaultConfig

func DefaultConfig() Config

type LimitsConfig added in v0.5.1

type LimitsConfig struct {
	MaxCount int
}

Jump to

Keyboard shortcuts

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