dotfiles/bin/restic-backup
Ben Vincent 60c67eecee Multiple updates:
add restic to common aliases
update puppet functions/modules
add restic-backup command
2025-08-14 19:35:26 +10:00

15 lines
419 B
Bash
Executable File

#!/usr/bin/bash
export GPG_TTY=$(tty)
export $(pass show personal/radosgw/benvin)
restic backup "$HOME" --exclude-caches --one-file-system \
--exclude '**/.cache' \
--exclude '**/.terraform' \
--exclude '**/.terragrunt-cache' \
--exclude '**/.local/share/containers' \
--exclude '**/go/pkg/mod' \
--exclude '**/Downloads' \
--exclude '**/.thunderbird' \
--exclude '**/backups' \
--exclude '**/Video'