first version (template) for backing up edi
- to garrus - from locally to the backup dir
This commit is contained in:
parent
cf3d18414a
commit
fdac96925a
10
scripts/backup_edi.sh
Normal file → Executable file
10
scripts/backup_edi.sh
Normal file → Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/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/edi/
|
||||||
|
|
||||||
|
sd rsync_backup --link-dest="/etc/ssh/" /etc/ssh/ ssh/
|
Loading…
Reference in New Issue
Block a user