Make recovery archive validation pipe-safe
This commit is contained in:
1 parent
c229ee3685
commit
404073340c
2 files changed
+2
-2
No files matched your search
@@ -70,7 +70,7 @@ tar -C "$volume_path" \
|
||||
--exclude='./webui.db-shm' \
|
||||
--transform='s#\.mike-ai-recovery-webui\.db#webui.db#' \
|
||||
-czf "$stage/payload/openwebui-data.tar.gz" .
|
||||
tar -tzf "$stage/payload/openwebui-data.tar.gz" | grep -Eq '(^|/)webui\.db$' || \
|
||||
tar -tzf "$stage/payload/openwebui-data.tar.gz" ./webui.db >/dev/null 2>&1 || \
|
||||
die "OpenWebUI-Archiv enthält den konsistenten Datenbanksnapshot nicht."
|
||||
|
||||
source_commit=unknown
|
||||
|
||||
Reference in new issue
Block a user