package
0.7.0
Repository: https://github.com/lxc/incus.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ConfigToInstanceDBArgs converts the instance config in the backup config to DB InstanceArgs.
GetInfo extracts backup information from a given ReadSeeker.
InstanceTypeToBackupType converts instance type to backup type.
NewBucketBackup instantiates a new BucketBackup struct.
NewInstanceBackup instantiates a new InstanceBackup struct.
NewVolumeBackup instantiates a new VolumeBackup struct.
ParseConfigYamlFile decodes the YAML file at path specified into a Config.
TarReader rewinds backup file handle r and returns new tar reader and process cleanup function.
UpdateInstanceConfig updates the instance's backup.yaml configuration file.

# Constants

TypeBucket defines the backup type value for a storage bucket.
TypeContainer defines the backup type value for a container.
TypeCustom defines the backup type value for a custom volume.
TypeUnknown defines the backup type value for unknown backups.
TypeVM defines the backup type value for a virtual-machine.
WorkingDirPrefix is used when temporary working directories are needed.

# Structs

BucketBackup represents a bucket backup.
CommonBackup represents a common backup.
Info represents exported backup information.
InstanceBackup represents an instance backup.
VolumeBackup represents a custom volume backup.

# Interfaces

Instance represents the backup relevant subset of an instance.

# Type aliases

Type indicates the type of backup.