sync/scripts/backup_garrus.sh

11 lines
281 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
shopt -s expand_aliases # make aliases work
REL_HOME=$HOME
source $REL_HOME/.bash_aliases
sd rsync_backup -e "ssh -i $REL_HOME/.ssh/id_ed25519" ./ fabian@garrus:/citadel/backup/garrus/
sd rsync_backup --link-dest="/etc/ssh/" /etc/ssh/ ssh/