Introduce comprehensive recipes for Restic-based S3 backups. Covers installation, S3 repository configuration, automated backup job creation, and restoration of files.
47 lines
554 B
Markdown
47 lines
554 B
Markdown
# Install Restic
|
|
|
|
This recipe installs Restic, a fast, secure, and encrypted backup tool.
|
|
|
|
## Install Package
|
|
|
|
```bash
|
|
sudo apt update
|
|
sudo apt install -y restic
|
|
```
|
|
|
|
## Verify Installation
|
|
|
|
```bash
|
|
restic version
|
|
```
|
|
|
|
Expected output:
|
|
|
|
```text
|
|
restic x.x.x compiled with go...
|
|
```
|
|
|
|
## Verify Binary Location
|
|
|
|
```bash
|
|
which restic
|
|
```
|
|
|
|
Expected output:
|
|
|
|
```text
|
|
/usr/bin/restic
|
|
```
|
|
|
|
## Troubleshooting
|
|
|
|
### Command not found
|
|
|
|
Verify that the package is installed.
|
|
|
|
```bash
|
|
dpkg -l | grep restic
|
|
```
|
|
|
|
If it is not installed, repeat the installation step.
|