Updating the Yandex Cloud Backup agent on a VM
In some situations, you may need to update your Cloud Backup agent to ensure reliable automatic backups of Yandex Compute Cloud VMs.
For example, a situation like that may arise during a technical update on the backup provider's side.
Yandex Cloud warns its customers in advance about such cases.
Note
Updating the Cloud Backup agent will not affect the existing backups' data.
To update the Cloud Backup agent on your VM:
-
Connect to the VM over SSH.
-
In the terminal, run this command:
curl \ --output backup_agent_linux_installer.bin \ https://storage.yandexcloud.net/backup-distributions/backup_agent_linux_installer.bin && \ sudo bash ./backup_agent_linux_installer.bin -a
Result:
... Congratulations! Cyber Backup Agent has been successfully installed in the system.
Updating the Cloud Backup agent may take around 15 minutes.
-
Disconnect from the VM.
-
Connect to the VM via RDP.
-
Run Windows PowerShell
. -
Run the following commands:
Invoke-WebRequest ` "https://storage.yandexcloud.net/backup-distributions/backup_agent_windows_installer.exe" ` -OutFile ".\backup_agent_windows_installer.exe" Invoke-Expression .\backup_agent_windows_installer.exe
-
In the window that opens, click Repair.
-
Wait for the
The installation was successfully repaired
message and click CLOSE.Updating the Cloud Backup agent may take around 15 minutes.
-
Disconnect from the VM.
If you were unable to update your Cloud Backup agent for any reason, contact