# autorestic

> Config driven, easy backup cli for restic

Source: https://talira.ai/catalog/autorestic-brznd2gg
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [devops / backup](https://talira.ai/categories/devops/backup)
- Platforms: linux, macos, docker, cli[^2]
- Licence: Apache-2.0[^3][^4]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Self-hostable: yes[^2]
- Creator: Nicco (cupcakearmy)

autorestic is a command-line wrapper for [restic](https://talira.ai/catalog/restic-zvg5aa8d.md) that describes backups in a YAML file instead of command-line flags: locations (folders or [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) volumes) and the backends each one goes to, so one location can back up to several destinations at once. Each location can have its own cron schedule, retention and pruning policy, exclude patterns and before and after hooks, and restic does the encrypted, incremental work underneath. The tested backends are local folders, [Backblaze B2](https://talira.ai/catalog/backblaze-b2-cloud-storage-wk7c98jx.md), S3 and [MinIO](https://talira.ai/catalog/minio-ysgebdwe.md), SFTP and restic's REST server. It's written in Go, Apache-2.0, and runs on Linux and [macOS](https://talira.ai/catalog/macos-8swyggxb.md).

## Links

- Website: https://autorestic.vercel.app/
- GitHub: https://github.com/cupcakearmy/autorestic
- Docs: https://autorestic.vercel.app/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/autorestic>[^1]

## Problems it solves

- back up several folders on my server to a local disk and Backblaze B2 from one config file
- restic's commands and environment variables are hard to keep straight across many backup jobs
- back up my Docker volumes and restore them on another host
- run each folder's backup on its own cron schedule without writing shell scripts
- keep 7 daily and 4 weekly restic snapshots per folder and prune the rest automatically
- stop a container before its data is backed up and start it again afterwards
- leave cache and node_modules folders out of my server backups
- send the same backup to S3, an SFTP box and a REST server
- do a dry run to see what tonight's backup would upload
- describe all my homelab backups in a YAML file I can keep in git

## Features

- YAML configuration of locations and backends
- one location backed up to multiple backends
- snapshot retention policies and pruning
- before and after backup hooks
- exclude patterns and files
- cron schedules per location
- backup and restore of Docker volumes
- tested backends: local, Backblaze B2, S3 and MinIO, SFTP, restic REST server
- dry-run backups
- self-updating binary and generated shell completions for bash, zsh, fish and PowerShell
- installs with a script, Homebrew, Fedora's dnf, the AUR or a Docker image

## Limitations

- Doesn't support Windows: it runs on Linux and macOS[^2]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.28 out of 1.
Signals: backing 0.20, extensibility 0.20.

- created by Nicco (cupcakearmy)

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [restic](https://talira.ai/catalog/restic-zvg5aa8d.md)

## Alternatives

- [Zerobyte](https://talira.ai/catalog/zerobyte-jrkapw48.md): Backup automation for self-hosters, built on top of restic
- [resticprofile](https://talira.ai/catalog/resticprofile-hf7n6mj8.md): Configuration profiles manager for restic backup
- [borgmatic](https://talira.ai/catalog/borgmatic-g1r4b18c.md): Simple, configuration-driven backup software for servers and workstations
- [Backrest](https://talira.ai/catalog/backrest-8ac5rjry.md): Backrest is a web UI and orchestrator for restic backup.
- [Kopia](https://talira.ai/catalog/kopia-xnn4z69k.md): Fast and Secure Open-Source Backup Software
- [docker-volume-backup](https://talira.ai/catalog/docker-volume-backup-m38jr9c1.md): Backup Docker volumes locally or to any S3, WebDAV, Azure Blob Storage, Dropbox, Google Drive or SSH compatible storage

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://autorestic.vercel.app/installation (checked 20 Nov 2026)
[^3]: https://github.com/cupcakearmy/autorestic/blob/master/LICENSE (checked 20 Nov 2026)
[^4]: https://github.com/cupcakearmy/autorestic (checked 20 Nov 2026)
