backup

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VERSION = "0.0.0"
)

Functions

func CreateNewSnapshotMetafile

func CreateNewSnapshotMetafile(file string) error

func DoBackupCreate

func DoBackupCreate(replicaBackup *replica.BackupStatus, config *backupstore.DeltaBackupConfig) error

func DoBackupInit added in v1.4.2

func DoBackupRestore

func DoBackupRestore(backupURL string, toFile string, concurrentLimit int, restoreObj *replica.RestoreStatus) error

func DoBackupRestoreIncrementally

func DoBackupRestoreIncrementally(url string, deltaFile string, lastRestored string, concurrentLimit int, restoreObj *replica.RestoreStatus) error

func RequiredMissingError

func RequiredMissingError(name string) error

func ResponseLogAndError

func ResponseLogAndError(v interface{})

func ResponseOutput

func ResponseOutput(v interface{}) ([]byte, error)

ResponseOutput would generate a JSON format byte array of object for output

Types

type CreateBackupParameters added in v1.5.0

type CreateBackupParameters struct {
	BackupName           string
	VolumeName           string
	SnapshotName         string
	DestURL              string
	BackingImageName     string
	BackingImageChecksum string
	CompressionMethod    string
	ConcurrentLimit      int32
	StorageClassName     string
	Labels               []string
}

type ErrorResponse

type ErrorResponse struct {
	Error string
}

Jump to

Keyboard shortcuts

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