From 6ed204cbd1e58fae02e1729728609ccf6e21c271 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 29 Sep 2025 14:28:35 +0200 Subject: [PATCH] Update ghostfolio.sh --- ct/ghostfolio.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ct/ghostfolio.sh b/ct/ghostfolio.sh index 63c9be00..2d676212 100644 --- a/ct/ghostfolio.sh +++ b/ct/ghostfolio.sh @@ -35,7 +35,11 @@ function update_script() { msg_ok "Stopped Service" msg_info "Creating Backup" - tar -czf "/opt/ghostfolio_backup_$(date +%F).tar.gz" /opt/ghostfolio + tar -czf "/opt/ghostfolio_backup_$(date +%F).tar.gz" \ + -C /opt \ + --exclude="ghostfolio/node_modules" \ + --exclude="ghostfolio/dist" \ + ghostfolio mv /opt/ghostfolio/.env /opt/env.backup msg_ok "Backup Created"