mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-09 21:34:57 +00:00
Add dependency check for zstd before backup
Ensure zstd dependency is installed before backup.
This commit is contained in:
committed by
GitHub
parent
8113c7da22
commit
0b99873194
@@ -35,6 +35,7 @@ function update_script() {
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
msg_info "Creating Backup"
|
||||
ensure_dependencies zstd
|
||||
mkdir -p /opt/{backups,z2m_backup}
|
||||
BACKUP_VERSION="$(<"$HOME/.zigbee2mqtt")"
|
||||
BACKUP_FILE="/opt/backups/${APP}_backup_${BACKUP_VERSION}.tar.zst"
|
||||
|
||||
Reference in New Issue
Block a user