828 B
828 B
Restic Scripts
Environment Variables
| Env Variable | Description |
|---|---|
BACKUP_DIR |
Directory to back up |
LOKI_URL |
Push URL for Loki. Should include the port and end with something like /loki/api/v1/push |
Usage
Python
python -m restic.snapshots
python -m restic.backup
python -m restic.prune
Shell Scripts
./restic_command.sh snapshots
./restic_backup.sh --tag manual
./restic_command.sh forget --keep-last 1
./restic_command.sh restore