add restic to common aliases update puppet functions/modules add restic-backup command
15 lines
419 B
Bash
Executable File
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'
|