"Storage backend does not exist: legacy" Kindly assist in resolution of this error

indico.flask - ERROR errors.py:110 – Storage backend does not exist: legacy

Traceback (most recent call last):
File “/opt/indico/.venv/lib/python3.10/site-packages/indico/core/storage/backend.py”, line 34, in get_storage
definition = config.STORAGE_BACKENDS[backend_name]
KeyError: ‘legacy’

Copy the STORAGE_BACKENDS config (in particular the legacy entry) from your old v2.3 instance.