backup

package
v0.0.0-...-6b1ed40 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 12 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 {
	Config *config.BackupRun

	Name     string
	Provider provider.Provider
	UseIfile bool

	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
JackTT - Gopher 🇻🇳