mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-21 10:44:59 +00:00
Standardize CT update backup handling (#15937)
This commit is contained in:
1 parent
d8efbd04d8
commit
bd3e3bd5f9
76 files changed
+215
-626
No files matched your search
@@ -72,9 +72,13 @@ EOF
|
||||
msg_ok "Migration complete!"
|
||||
fi
|
||||
|
||||
create_backup /opt/patchmon/.env
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "PatchMon" "PatchMon/PatchMon" "singlefile" "latest" "/opt/patchmon" "patchmon-server-linux-$(arch_resolve)"
|
||||
mv /opt/patchmon/PatchMon /opt/patchmon/patchmon-server
|
||||
|
||||
restore_backup
|
||||
|
||||
msg_info "Fetching PatchMon agent binaries"
|
||||
RELEASE=$(get_latest_github_release "PatchMon/PatchMon")
|
||||
[[ ! -d /opt/patchmon/agents ]] && mkdir -p /opt/patchmon/agents
|
||||
|
||||
Reference in new issue
Block a user