Versions in this module Expand all Collapse all v1 v1.4.15 Oct 19, 2026 v1.4.14 Oct 12, 2026 Changes in this version + func ExecutionPlan() []plan.Step + func RestartCommand(snapshot string) string + func RestoreCommand(backupID string) string + func ResumeStep(j *Journal) string + func VerifyCommand(backupID string) string + func WithExitClass(err error) error + type Backend interface + Backup func(context.Context, *Journal) error + CheckPreviousImages func(context.Context, *Journal) error + CountRows func(context.Context) (map[string]int64, error) + RestartPrevious func(context.Context, *Journal) error + Restore func(context.Context, *Journal) error + Run func(context.Context, string, *Journal) error + StopServices func(context.Context, *Journal) error + VerifyBackup func(context.Context, *Journal) error + type Journal struct + AfterRows map[string]int64 + BackupCreatedAt time.Time + BackupID string + BackupSHA256 string + BackupVerifiedAt time.Time + BeforeRows map[string]int64 + PreviousCompose string + PreviousComposeSHA256 string + Prod bool + RunID string + StartedAt time.Time + Status string + Steps []Step + func Execute(ctx context.Context, o Options, b Backend) (*Journal, error) + type Options struct + Confirm func(string) bool + DryRun bool + Prod bool + ProjectDir string + Yes bool + type Runtime struct + func NewRuntime(dir string, cfg *config.Config, stderr io.Writer) *Runtime + func (r *Runtime) Backup(ctx context.Context, j *Journal) error + func (r *Runtime) CheckPreviousImages(ctx context.Context, j *Journal) error + func (r *Runtime) CountRows(ctx context.Context) (map[string]int64, error) + func (r *Runtime) RestartPrevious(ctx context.Context, j *Journal) error + func (r *Runtime) Restore(ctx context.Context, j *Journal) error + func (r *Runtime) Run(ctx context.Context, name string, j *Journal) error + func (r *Runtime) StopServices(ctx context.Context, j *Journal) error + func (r *Runtime) VerifyBackup(ctx context.Context, j *Journal) error + type Step struct + DurationMS int64 + Name string + Result string