backup

package
v0.0.0-...-1414ade Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backup

type Backup struct {
	Name     string
	Provider provider.Provider

	GenerateIfile bool
	IfOSIs        string
	WarnSize      int64

	Paths *paths
	// contains filtered or unexported fields
}

func (*Backup) Do

func (b *Backup) Do() error

type Backups

type Backups map[string]*Backup

func FromConfig

func FromConfig(ctx context.Context, configBackups *config.Backups, cacheDir string, log *zap.Logger, asService bool, include ...string) (backups Backups, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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