mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-07 10:34:33 +00:00
Enhance backup process in teddycloud.sh
Added additional directories to the backup process before stopping the service.
This commit is contained in:
committed by
GitHub
parent
abf921e45f
commit
7c3f0b2d77
@@ -33,8 +33,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