localbackupruntime

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package localbackupruntime adapts the owner-bound local backup lifecycle to the fixed Kopia container runtime without retaining repository secrets.

Index

Constants

View Source
const (
	RepositoryID      = "kopia:local:basement"
	CloudRepositoryID = "kopia:local:cloud"
	Backend           = "filesystem"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime struct {
	// contains filtered or unexported fields
}

Runtime is the production RepositoryRuntime for the CUE-owned local Kopia service. It retains only a confined workspace name and an engine factory.

func New

New binds all current repository operations to the exact policy already verified through the Plan, artifact and Apply authority chain. Copy through the canonical codec so caller-owned slices cannot change the source selection after the runtime is created.

func (*Runtime) CreateSnapshotWithQuiescence

CreateSnapshotWithQuiescence creates or resumes one native-v2 snapshot while all current writers of governed managed volumes are stopped. The lifecycle callback atomically records the exact identities before the first stop and after each resumable phase in the existing snapshot operation journal.

Jump to

Keyboard shortcuts

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