8 lines
202 B
Bash
Executable file
8 lines
202 B
Bash
Executable file
#!/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")
|