Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMariaBackupCommand = errors.New("mariabackup source: missing or invalid mariabackup command") ErrMariadbCommand = errors.New("mariabackup source: missing or invalid mariadb command") ErrParseMariadbVersion = errors.New("mariabackup source: cannot parse version information") )
View Source
var ( ErrProxyCommandMissing = errors.New("proxy source: missing command") ErrProxyMissingType = errors.New("proxy source: missing proxy-type") ErrProxyNoRestoration = errors.New("proxy source: restoration not implemented") )
View Source
var (
ErrBtrfsPath = errors.New("btrfs source: invalid path")
)
View Source
var (
ErrCommandMissing = errors.New("command source: invalid path")
)
View Source
var (
ErrTarPath = errors.New("tar source: invalid path")
)
Functions ¶
func New ¶
Create a new source from options ; you should be able to call everything on the returned interface
func NewForRestoration ¶
Create a new source only from its type ; you should be able to call only RestoreBackup on the returned interface
Types ¶
type CreateBackupArgs ¶ added in v0.5.0
type CreateBackupArgs struct { uback.Options *uback.Snapshot }
type ListSnapshotsArgs ¶ added in v0.5.0
type ListSnapshotsArgs struct {
uback.Options
}
type RemoveSnapshotArgs ¶ added in v0.5.0
type RemoveSnapshotArgs struct { uback.Options uback.Snapshot }
Click to show internal directories.
Click to hide internal directories.