Versions in this module Expand all Collapse all v0 v0.1.1 Jun 25, 2026 v0.1.0 Jun 25, 2026 Changes in this version + type Backup struct + CreatedAt time.Time + Error string + ID string + Name string + Path string + Size int64 + Status string + WithDB bool + type Config struct + DBDSN string + DBDriver string + Dir string + Keep int + Sources []string + type Service struct + func FromKernel(k *togo.Kernel) (*Service, bool) + func (s *Service) Configure(c Config) *Service + func (s *Service) Get(id string) (*Backup, bool) + func (s *Service) List() []*Backup + func (s *Service) Prune() int + func (s *Service) Restore(id, destDir string) error + func (s *Service) Run(ctx context.Context) (*Backup, error)