Persist dashboard backup metrics separately

This commit is contained in:
Mikei386
2026-07-13 20:39:31 +02:00
parent 2ecdcdf602
commit b1fba3ed16
15 changed files with 183 additions and 14 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ fi
mkdir -p "$CONFIG" "$ROOT_PREFIX/run/urbm" "$ROOT_PREFIX/var/lib/urbm"
if [ -d "$OLD_CONFIG" ]; then
for item in config.json runs.json secrets; do
for item in config.json runs.json backup-metrics.json secrets; do
if [ -e "$OLD_CONFIG/$item" ] && [ ! -e "$CONFIG/$item" ]; then
cp -a "$OLD_CONFIG/$item" "$CONFIG/$item"
fi