Compare commits

..

2 Commits

Author SHA1 Message Date
fdac96925a first version (template) for backing up edi
- to garrus
- from locally to the backup dir
2023-05-04 19:47:41 +02:00
cf3d18414a old raspi version of nanorc cannot handle certain settings 2023-05-04 19:12:17 +02:00
2 changed files with 11 additions and 1 deletions

View File

@ -89,7 +89,7 @@ set linenumbers
set matchbrackets "(<[{)>]}" set matchbrackets "(<[{)>]}"
## Suppress title bar and show file name and editor state at the bottom. ## Suppress title bar and show file name and editor state at the bottom.
set minibar # set minibar
## Enable mouse support, if available for your system. When enabled, ## Enable mouse support, if available for your system. When enabled,
## mouse clicks can be used to place the cursor, set the mark (with a ## mouse clicks can be used to place the cursor, set the mark (with a

10
scripts/backup_edi.sh Normal file → Executable file
View 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/