From 7c3f0b2d778c458cd2f2b49adee619be1f2d5c5d Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Tue, 1 Sep 2026 21:01:59 +0200 Subject: [PATCH] Enhance backup process in teddycloud.sh Added additional directories to the backup process before stopping the service. --- ct/teddycloud.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ct/teddycloud.sh b/ct/teddycloud.sh index 240edc533..f8e997fc6 100644 --- a/ct/teddycloud.sh +++ b/ct/teddycloud.sh @@ -33,8 +33,14 @@ function update_script() { msg_info "Stopping Service" systemctl stop teddycloud msg_ok "Stopped Service" - - create_backup /opt/teddycloud/certs /opt/teddycloud/config /opt/teddycloud/data + + create_backup \ + /opt/teddycloud/certs \ + /opt/teddycloud/config \ + /opt/teddycloud/data/content \ + /opt/teddycloud/data/library \ + /opt/teddycloud/data/firmware \ + /opt/teddycloud/data/cache CLEAN_INSTALL=1 fetch_and_deploy_gh_release "teddycloud" "toniebox-reverse-engineering/teddycloud" "prebuild" "latest" "/opt/teddycloud" "teddycloud.amd64.release*.zip"