Skip to content

Commit 1a2ea90

Browse files
MickLesktremor021
authored andcommitted
cronmaster: back up scripts, data and snippets folders on update (community-scripts#16529)
1 parent 4e4974f commit 1a2ea90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/addon/cronmaster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function update() {
6161
msg_ok "Stopped service"
6262

6363
BACKUP_DIR="/opt/cronmaster_backup"
64-
create_backup "$CONFIG_PATH"
64+
create_backup "$CONFIG_PATH" "$INSTALL_PATH/scripts" "$INSTALL_PATH/data" "$INSTALL_PATH/snippets"
6565

6666
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cronmaster" "fccview/cronmaster" "prebuild" "latest" "$INSTALL_PATH" "cronmaster_*_prebuild.tar.gz"
6767

0 commit comments

Comments
 (0)