mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-28 03:24:43 +00:00
Fix backup command to handle errors correctly
This commit is contained in:
committed by
GitHub
parent
eed21a46e8
commit
0f59ff4186
+1
-1
@@ -35,7 +35,7 @@ function update_script() {
|
|||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
msg_info "Backing up Data"
|
msg_info "Backing up Data"
|
||||||
cp -r /opt/ownfoil/app/config /opt/ownfoil_data_backup 2>/dev/null || true
|
cp -r /opt/ownfoil/app/config /opt/ownfoil_data_backup
|
||||||
msg_ok "Backed up Data"
|
msg_ok "Backed up Data"
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball"
|
||||||
|
|||||||
Reference in New Issue
Block a user