Fix broken export-data admin command and add a test for it to CI
--run-background-updates
update_database