add update script for cloud backup
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Updating Emberkom Cloud Backup between plans
|
||||
|
||||
Publish the repository changes to the live `master` branch, then upload [the RMM caller](../rmm/Update-EmberkomCloudBackup.ps1) to Syncro as a Windows PowerShell 5.1 script. Run it as SYSTEM on endpoints with Emberkom Cloud Backup. Schedule it in a gap long enough for the download, installation, and backup service restart. Include restore plans and consistency checks when choosing that gap.
|
||||
|
||||
For endpoints that might receive a delayed RMM job, configure the optional **string** variable `MSP360UpdateWindow`. For example, `12:00-13:00` admits installation starts from noon until just before 1 p.m. in the endpoint's local time. Overnight windows such as `23:30-00:30` also work. With an omitted or blank value, Syncro controls the timing. Allow enough time after the last permitted start for setup to finish.
|
||||
|
||||
The updater compares the installed version with the published Windows or VM package. Before downloading and again immediately before launching setup, it checks for MSP360's `CBBackupPlan.exe` worker. A busy endpoint defers to the next scheduled run. A plan can still start after the final check, so keep the RMM slot clear of scheduled plans. [MSP360 plan worker documentation](https://help.mspbackups.com/troubleshooting)
|
||||
|
||||
**Syncro output and exit codes**
|
||||
|
||||
| Code | Meaning |
|
||||
| --- | --- |
|
||||
| 0 | Update verified, version already current or newer, agent absent, or run deferred. The output gives the outcome. |
|
||||
| 1 | Update failed. The output identifies the failed check or installer exit code. |
|
||||
| 3010 | Setup requested a restart. Recheck after the endpoint restarts. |
|
||||
|
||||
MSP360 also checks for updates at the start of plans when its console policy allows it. To make Syncro the sole update path on selected computers, use **Downloads → Options → Exclude from auto-update** in MSP360 after the RMM job is in service. Review the scope because this console setting also covers the MSP360 RMM Agent. [MSP360 agent update policy](https://help.mspbackups.com/downloads/agent-update)
|
||||
|
||||
## Publishing a build
|
||||
|
||||
Both the existing installer and the updater read [the shared release file](../resources/EmberkomCloudBackup.json). When approving a new public build, update its four-part version, console download URL, and SHA-256 in the corresponding `Windows` or `VM` entry. Take the version from the published build and compute the hash from that exact installer using `Get-FileHash -Algorithm SHA256`. Publish the three values together. The generated setup executables can have empty Windows file-version fields.
|
||||
Reference in New Issue
Block a user