cronmaster: back up scripts, data and snippets folders on update (#16529)

This commit is contained in:
CanbiZ (MickLesk)
2026-08-16 20:34:55 +02:00
committed by GitHub
parent fc61dddffd
commit 3ac1f1dfd4
+1 -1
View File
@@ -61,7 +61,7 @@ function update() {
msg_ok "Stopped service"
BACKUP_DIR="/opt/cronmaster_backup"
create_backup "$CONFIG_PATH"
create_backup "$CONFIG_PATH" "$INSTALL_PATH/scripts" "$INSTALL_PATH/data" "$INSTALL_PATH/snippets"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cronmaster" "fccview/cronmaster" "prebuild" "latest" "$INSTALL_PATH" "cronmaster_*_prebuild.tar.gz"