MCPcopy Index your code
hub / github.com/cupcakearmy/autorestic

github.com/cupcakearmy/autorestic @v1.8.3 sqlite

repository ↗ · DeepWiki ↗ · release v1.8.3 ↗
147 symbols 456 edges 37 files 2 documented · 1%
README

autorestic logo

Config driven, easy backup cli for <a href="https://restic.net/">restic</a>.



<strong><a href="https://autorestic.vercel.app/">»»» Docs & Getting Started »»»</a></strong>

discord badge contributor badge downloads badge version badge

💭 Why / What?

Autorestic is a wrapper around the amazing restic. While being amazing the restic cli can be a bit overwhelming and difficult to manage if you have many different locations that you want to backup to multiple locations. This utility is aimed at making this easier 🙂.

🌈 Features

  • YAML config files, no CLI
  • Incremental -> Minimal space is used
  • Backup locations to multiple backends
  • Snapshot policies and pruning
  • Fully encrypted
  • Before/after backup hooks
  • Exclude pattern/files
  • Cron jobs for automatic backup
  • Backup & Restore docker volume
  • Generated completions for [bash|zsh|fish|powershell]

❓ Questions / Support

Check the discussions page or join on discord

Contributing / Developing

PRs, feature requests, etc. are welcomed :) Have a look at the dev docs

Extension points exported contracts — how you extend this code

MetadatExtractor (Interface)
(no doc) [5 implementers]
internal/metadata/metadata.go

Core symbols most depended-on inside this repo

CheckErr
called by 19
cmd/root.go
GetConfig
called by 16
internal/config.go
getEnv
called by 12
internal/backend.go
Unlock
called by 10
internal/lock/lock.go
GetBackend
called by 9
internal/backend.go
generateRepo
called by 9
internal/backend.go
getOptions
called by 8
internal/config.go
PrintDescription
called by 8
internal/colors/colors.go

Shape

Function 90
Method 32
Struct 19
TypeAlias 4
Interface 2

Languages

Go100%

Modules by API surface

internal/location.go16 symbols
internal/config.go16 symbols
internal/metadata/extractor_changeset.go11 symbols
internal/utils.go10 symbols
internal/backend.go9 symbols
internal/metadata/metadata.go8 symbols
internal/config_test.go8 symbols
internal/bins/bins.go8 symbols
internal/lock/lock.go6 symbols
internal/location_test.go5 symbols
cmd/root.go5 symbols
internal/metadata/extractor_snapshot.go4 symbols

Dependencies from manifests, versioned

github.com/blang/semver/v4v4.0.0 · 1×
github.com/buger/gotermv1.0.0 · 1×
github.com/inconshreveable/mousetrapv1.0.0 · 1×
github.com/magiconair/propertiesv1.8.6 · 1×
github.com/mattn/go-colorablev0.1.12 · 1×
github.com/mattn/go-isattyv0.0.14 · 1×
github.com/mitchellh/go-homedirv1.1.0 · 1×

For agents

$ claude mcp add autorestic \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact