snapshots

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSnapshotTimeout  = errors.New("timeout waiting for in-progress snapshot")
	ErrSnapshotCreation = errors.New("failed to create snapshot")
	ErrInvalidSnapshot  = errors.New("invalid snapshot")
)

Functions

This section is empty.

Types

type WinVSSSnapshot

type WinVSSSnapshot struct {
	SnapshotPath string    `json:"path"`
	Id           string    `json:"vss_id"`
	TimeStarted  time.Time `json:"time_started"`
	DriveLetter  string
	// contains filtered or unexported fields
}

func Snapshot

func Snapshot(driveLetter string) (*WinVSSSnapshot, error)

Snapshot creates a new VSS snapshot for the specified drive

func (*WinVSSSnapshot) Close

func (s *WinVSSSnapshot) Close()

Jump to

Keyboard shortcuts

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