Browse Source

new: [vps] new instructions for registering new backup in backup host

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
rc1
Valentin Lab 3 years ago
parent
commit
ca873f5c1b
  1. 7
      README.org
  2. 4
      bin/vps

7
README.org

@ -757,9 +757,10 @@ si nécessaire).
A la fin de l'opération, une commande est proposée pour ajouter
facilement la nouvelle clé à l'hôte s'occupant de l'archivage.
Cette commande doit être executée sur le serveur
d'archivage. Plusieurs clés peuvent être ajoutée avant de redémarrer
le service d'archivage du coté du serveur.
Cette commande doit être executée sur un hôte ayant les accès vers un
compte administration du serveur d'archivage. Plusieurs clés peuvent
être ajoutée avant de redémarrer le service d'archivage du coté du
serveur.
Dans le cas d'un VPS sur installation compose, il s'agira également de
relancer sur le VPS lui-même, un =compose up= pour intégrer et lancer

4
bin/vps

@ -241,7 +241,7 @@ mailcow:install-backup() {
fi
info "You can run this following from an host having admin access to $dest:"
echo "ssh ${ssh_options[@]} rsync@$dest ssh-key add \"$(cat /var/lib/rsync/.ssh/id_rsa.pub)\""
echo "ssh ${ssh_options[@]} myadmin@$dest ssh-key add \"$(cat /var/lib/rsync/.ssh/id_rsa.pub)\""
}
compose:install-backup() {
@ -325,7 +325,7 @@ EOF
info "You can run this following from an host having admin access to $dest:"
public_key=$(ssh-keygen -y -f <(e "$private_key"$'\n'))
echo "ssh ${ssh_options[@]} rsync@$dest ssh-key add '$public_key ${service_name}@$host'"
echo "ssh ${ssh_options[@]} myadmin@$dest ssh-key add '$public_key ${service_name}@$host'"
}

Loading…
Cancel
Save