mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-01-13 00:58:34 +00:00
remove recompilation on backup restore
This commit is contained in:
@@ -434,14 +434,7 @@ for db in "${ACTIVE_DBS[@]}"; do
|
|||||||
restore "${DB_NAMES[$db]}" "${DUMP_PATHS[$db]}"
|
restore "${DB_NAMES[$db]}" "${DUMP_PATHS[$db]}"
|
||||||
done
|
done
|
||||||
|
|
||||||
if db_selected characters || db_selected world; then
|
log "Module SQL patches will be applied when services restart"
|
||||||
log "Reapplying module SQL patches"
|
|
||||||
docker compose --profile db --profile modules run --rm \
|
|
||||||
--entrypoint /bin/sh ac-modules \
|
|
||||||
-c 'apk add --no-cache bash curl >/dev/null && bash /tmp/scripts/manage-modules.sh >/tmp/mm.log && cat /tmp/mm.log' || warn "Module SQL run exited with non-zero status"
|
|
||||||
else
|
|
||||||
warn "Skipping module SQL reapply (auth-only import)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
log "Restarting services to reinitialize GUID generators"
|
log "Restarting services to reinitialize GUID generators"
|
||||||
docker restart ac-authserver ac-worldserver >/dev/null
|
docker restart ac-authserver ac-worldserver >/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user