This used to work, but there seems to be an issue saving the backup file to the warm spare server. Where are the credentials used by the primary to log in to the warm spare?
See the log below.
Finished created backup file: 20240327-130119-1711544479-16.0.40.7-1260301280.tar.gz
Performing Local Maintenance
Finished Local Maintenance
Performing Remote Maintenance
Could not login with username: root, host: 192.168.xxx.xxx
Finished Remote Maintenance
Saving to selected Filestore locations
Saving to: SSH:‘SSH-warmspare’ instance ,File location: /var/spool/asterisk/backup/20240327-130119-1711544479-16.0.40.7-1260301280.tar.gz
Finished Saving to selected Filestore locations
There were errors during the backup process
Could not login with username: root, host: 192.168.xxx.xxx
There were warnings during the backup process
The module setcid returned no data, No backup created
The module ttsengines returned no data, No backup created
Warmspare enabled for this backup
We Have triggered an API to restore the backup on Spare Server
Response from Warmspare backup Server API
clientMutationId :xxxxxxxxxxxxxx
Restorestatus :Backup file not found
It seems to be able to connect with the API just not the SSH to save the file
It says to use sudo -u asterisk ssh-copy-id -i /home/asterisk/.ssh/id_rsa.pub root@SecondaryServerIP
But it should be sudo -u asterisk ssh-copy-id -i /home/asterisk/.ssh/id_rsa root@SecondaryServerIP