recover

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const FullAndIncRecoverMode = "1"
View Source
const FullRecoverMode = "2"

Variables

This section is empty.

Functions

func BackupRecover

func BackupRecover(opt *RecoverConfig, tsRecover *config.TsRecover) error

Types

type RecoverConfig

type RecoverConfig struct {
	RecoverMode        string
	ConfigPath         string
	FullBackupDataPath string
	IncBackupDataPath  string
}

type RecoverFunc

type RecoverFunc func(rc *RecoverConfig, path string) error

Jump to

Keyboard shortcuts

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