backup.sh: legg til backupmål for balduzius (igjen?)
This commit is contained in:
10
backup.sh
10
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=(
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user