MCPcopy Index your code
hub / github.com/badwatt/wrestic

github.com/badwatt/wrestic @v1.7.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.7.2 ↗ · + Follow
49 symbols 184 edges 24 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

WRESTIC

:star: Star me up!

Wrestic is a backup tool built in Rust that provides a wrapper around Restic, a popular backup program. With Wrestic, you can easily configure and run backups of your files and directories, and take advantage of Restic's powerful features such as deduplication, encryption, and compression. Whether you need to back up your personal files or your organization's data, Wrestic can help you automate the process and ensure your data is safe and secure.

Wrestic has support for all the restic backends, including:

  • LOCAL
  • SFTP
  • REST
  • AMAZON S3
  • AZURE
  • BACKBLAZE B2
  • WASABI
  • MINIO
  • GOOGLE CLOUD STORAGE

TABLE OF CONTENTS

INSTALLATION

WITH CARGO

cargo install wrestic

AUR

paru -S wrestic

DOWNLOAD BINARY

curl -sL $(curl -s https://api.github.com/repos/alvaro17f/wrestic/releases/latest | grep browser_download_url | cut -d '"' -f 4) | sudo tar zxf - -C /usr/bin --overwrite

BUILD FROM SOURCE

Requirements: - git - rust

git clone https://github.com/alvaro17f/wrestic.git
cd wrestic
cargo build --release
sudo cp target/release/wrestic /usr/bin

CONFIGURATION

Copy wrestic.toml to /home/$USER/.config/wrestic/wrestic.toml and modify the content for your needs.

USAGE

Simply run sudo wrestic.

$ wrestic help

Restic wrapper built in Rust

Usage: wrestic [OPTIONS] [COMMAND]

Commands:
  backup, -b     Make a backup of all your repositories
  restore, -r    Restore a snapshot
  snapshots, -s  List snapshots
  delete, -d     Delete a snapshot
  init, -i       Initialize all of your repositories
  check          Check repository health
  repair         Fix any issue
  cache          Clean cache
  update, -u     Update Wrestic
  custom, -c     Custom command
  help           Print this message or the help of the given subcommand(s)

Options:
      --generate <GENERATOR>  [possible values: bash, elvish, fish, powershell, zsh]
  -h, --help                  Print help
  -V, --version               Print version

COMPLETIONS

if your shell is bash you'll also need the bash-completion package installed.

To get <TAB> completions run sudo wrestic --generate <your shell>

Core symbols most depended-on inside this repo

Shape

Function 46
Class 2
Enum 1

Languages

Rust100%

Modules by API surface

src/modules/update.rs6 symbols
src/utils/tools.rs5 symbols
src/main.rs5 symbols
src/utils/snapshots_selector.rs3 symbols
src/utils/get_config.rs3 symbols
src/modules/selector.rs3 symbols
src/utils/restic_checker.rs2 symbols
src/modules/snapshots.rs2 symbols
src/modules/restore.rs2 symbols
src/modules/repair.rs2 symbols
src/modules/initialize.rs2 symbols
src/modules/delete.rs2 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page