my-yadm/.local/dotfiles/environment/borg.zsh

13 lines
743 B
Bash
Raw Normal View History

2022-09-20 10:05:24 -04:00
case "$(hostname -s)" in
midgaard) BORG_REPO="ssh://psi-jack@mega.home.ld/volume1/homes/psi-jack/borg-midgaard";;
loki) BORG_REPO="ssh://psi-jack@mega.home.ld/volume1/homes/psi-jack/borg-loki";;
ragnarok) BORG_REPO="ssh://psi-jack@mega.home.ld/volume1/homes/psi-jack/borg-ragnarok";;
Intelity-02110) BORG_REPO="ssh://psi-jack@mega.home.ld/volume1/homes/psi-jack/borg-worktop";;
*) BORG_REPO="ssh://psi-jack@mega.home.ld/volume1/homes/psi-jack/borg";;
esac
2020-03-01 00:48:32 -05:00
export BORG_REMOTE_PATH="/usr/local/bin/borg"
2022-08-28 23:35:11 -04:00
#export BORG_REPO=mega:/volume1/homes/psi-jack/borg
2020-03-01 00:48:32 -05:00
#export BORG_REPO=psi-jack@mega-backups:/volume1/homes/psi-jack/borg
2019-06-06 12:21:06 -04:00
#export BORG_PASSCOMMAND="pass print borg --please_show_me_the_passwords"