mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-21 11:55:53 +02:00
Enhance backup process in teddycloud.sh (#16946)
This commit is contained in:
committed by
GitHub
parent
b092bc342a
commit
68b5d96f64
+8
-2
@@ -35,8 +35,14 @@ function update_script() {
|
|||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
systemctl stop teddycloud
|
systemctl stop teddycloud
|
||||||
msg_ok "Stopped Service"
|
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"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "teddycloud" "toniebox-reverse-engineering/teddycloud" "prebuild" "latest" "/opt/teddycloud" "teddycloud.amd64.release*.zip"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user