Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compressor ¶
type Compressor struct {
// contains filtered or unexported fields
}
Compressor handles backup compression operations
func NewCompressor ¶
func NewCompressor(cfg *config.CompressionConfig, log *logger.Logger) *Compressor
NewCompressor creates a new compressor instance
func (*Compressor) CompressBackup ¶
func (c *Compressor) CompressBackup(backupDir string) (string, error)
CompressBackup compresses a backup directory
func (*Compressor) DecompressBackup ¶
func (c *Compressor) DecompressBackup(archiveFile string) (string, error)
DecompressBackup decompresses a backup archive for restore
Click to show internal directories.
Click to hide internal directories.