feat(backup): add Restic S3 backup recipes
Introduce comprehensive recipes for Restic-based S3 backups. Covers installation, S3 repository configuration, automated backup job creation, and restoration of files.
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user