File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,13 @@ chmod +x restic-install.sh
1717sudo ./restic-install.sh
1818```
1919
20- + Add the [ restic_aliases] ( restic_aliases ) snipplet below to your ~ /.bashrc or ~ /.bash_aliases to simplify calling of restic.
20+ + Add [ restic_aliases] ( restic_aliases ) and [ env.local ] ( env.local ) below to your ~ /.bashrc or ~ /.bash_aliases to simplify calling of restic.
2121
2222``` bash
23+ if [ -f ~ /.scripts/restic-scripts/env.local ]; then
24+ . ~ /.scripts/restic-scripts/env.local
25+ fi
26+
2327if [ -f ~ /.scripts/restic-scripts/restic_alises ]; then
2428 . ~ /.scripts/restic-scripts/restic_aliases
2529fi
Original file line number Diff line number Diff line change 1+ ### Backups ###
2+ export SCRIPT_DIR="/home/username/.scripts/restic-scripts" #update to user
3+ export BU_HOMEFOLDER_CONF="${SCRIPT_DIR}/restic-homedir.conf"
4+ export BU_COREFOLDERS_CONF="${SCRIPT_DIR}/restic-corefolders.conf"
5+ export RESTIC_PASSWORD_FILE="${SCRIPT_DIR}/.backup_secrets"
You can’t perform that action at this time.
0 commit comments