backup

package
v0.0.0-...-b4c3900 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddZipToFilename

func AddZipToFilename(name string) string

func BackupsInit

func BackupsInit(buckets *BucketsDb)

func CreateBackupFilename

func CreateBackupFilename(name common.BucketName, addDay bool, addHour bool) string

func ScpInit

func ScpInit(b *BucketsDb)

Types

type Backups

type Backups struct {
	// contains filtered or unexported fields
}
var BackupsInstance *Backups

func (*Backups) Run

func (b *Backups) Run()

type ScpEnv

type ScpEnv struct {
	// contains filtered or unexported fields
}
var ScpEnvInstance *ScpEnv

func (*ScpEnv) AddScpJob

func (s *ScpEnv) AddScpJob(bname common.BucketName, filename string)

func (*ScpEnv) IsEnabled

func (s *ScpEnv) IsEnabled() bool

func (*ScpEnv) SendLoop

func (s *ScpEnv) SendLoop()

Jump to

Keyboard shortcuts

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