https://github.com/aweher/install-restic
restic installation script
https://github.com/aweher/install-restic
install restic script
Last synced: 7 months ago
JSON representation
restic installation script
- Host: GitHub
- URL: https://github.com/aweher/install-restic
- Owner: aweher
- License: mit
- Created: 2025-02-07T17:02:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-07T19:47:00.000Z (about 1 year ago)
- Last Synced: 2025-07-07T07:11:57.999Z (7 months ago)
- Topics: install, restic, script
- Language: Shell
- Homepage: https://ayuda.la
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Restic Installer Script
A robust bash script to automatically download and install the latest version of Restic backup tool on Linux systems.
## Features
- Automatic architecture detection (x86_64, i386, ARM, ARM64)
- Downloads the latest stable release from GitHub
- Handles dependencies checking
- Performs installation verification
- Root permission handling
- Clean temporary files management
## Prerequisites
The script requires:
- `curl`
- `bzip2`
- Root privileges
## What the Script Does
- Checks for root privileges
- Detects system architecture
- Verifies required dependencies
- Downloads the latest Restic release from GitHub
- Extracts and installs Restic to /usr/local/bin
- Verifies the installation
## Supported Architectures
- x86_64 (amd64)
- i386/i686
- armv6l/armv7l
- aarch64 (arm64)
## Error Handling
The script includes comprehensive error handling for:
- Missing dependencies
- Download failures
- Extraction issues
- Installation problems
- Unsupported architectures
## Credits
Created by Ariel S. Weher (ariel [at] weher [dot] net)
## License
MIT License - see the [LICENSE](LICENSE) file for details.