8 lines
202 B
Plaintext
8 lines
202 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
source ~/.config/restic-backup/config.sh
|
||
|
pass gocrypt open || true
|
||
|
sudo restic --password-file /dev/stdin -r "$RESTIC_BACKUP_REPO" $@ <<< $(pass show "$RESTIC_BACKUP_PASS")
|