32 lines
320 B
Markdown
32 lines
320 B
Markdown
# Restic Scripts
|
|
|
|
## Usage
|
|
|
|
### Python
|
|
|
|
```shell
|
|
python -m restic.backup
|
|
```
|
|
|
|
```shell
|
|
python -m restic.prune
|
|
```
|
|
|
|
### Shell Scripts
|
|
|
|
```shell
|
|
./restic_command.sh snapshots
|
|
```
|
|
|
|
```shell
|
|
./restic_backup.sh --tag manual
|
|
```
|
|
|
|
```shell
|
|
./restic_command.sh forget --keep-last 1
|
|
```
|
|
|
|
```shell
|
|
./restic_command.sh restore
|
|
```
|