diff --git a/backup.sh b/backup.sh index 4bd685a..e9772d1 100755 --- a/backup.sh +++ b/backup.sh @@ -203,6 +203,16 @@ tom_excludes=( "/var/cache/" ) +# balduzius +hosts+=("balduzius") +balduzius_includes=( + "/" +) +balduzius_excludes=( + "/var/cache/" +) +host_ssh_hostname["balduzius"]="balduzius-backup" + # gitea (kommode) hosts+=("gitea") gitea_includes=( diff --git a/ssh_config_backup_targets b/ssh_config_backup_targets index 9dee4fe..7be2fa8 100644 --- a/ssh_config_backup_targets +++ b/ssh_config_backup_targets @@ -1,4 +1,10 @@ # NOTE: this file should be included via the `Include` directive in ~/.ssh/config +# +# NOTE: For the hosts where BatchMode is enabled: +# Because BatchMode is enabled, ssh will refuse to ask about new host-keys. +# If you copy paste one of these to point at a new Hostname, make sure to +# either disable BatchMode and SSH once to register the host in `known_hosts`, +# or ssh with -oStrictHostKeyChecking=accept-new once. Host ameno ameno.pvv.ntnu.no User root @@ -20,10 +26,11 @@ Host tom tom.pvv.ntnu.no User root IdentityFile ~/.ssh/id_rsa -# NOTE: Because BatchMode is enabled, ssh will refuse to ask about new host-keys. -# If you copy paste one of these to point at a new Hostname, make sure to -# either disable BatchMode and SSH once to register the host in `known_hosts`, -# or ssh with -oStrictHostKeyChecking=accept-new once. +Host balduzius-backup + User root + Hostname balduzius.pvv.ntnu.no + IdentityFile /backupz/ssh_extra_keys/id_ed25519_balduzius_rsync_backup + BatchMode yes Host matrix-media-store-backup User root