Skip to content
mofcloud

Maintain MOF

Last updated:

Back up first, then update your pinned images and recreate the services.

Back up the database

For the bundled PostgreSQL, save a database backup before every upgrade. With an external database, use its own backup and restore procedure.

Terminal
docker compose exec -T postgres pg_dumpall -U postgres > backup.sql

Update and recreate

Keep your existing passwords, project name and volumes. Choose the new image versions in compose.yaml. MOF, MCP and Dash find each other by service name, so any of them can be recreated or restarted on its own.

Terminal
docker compose pull
docker compose up -d
docker compose ps

Check the deployment

Terminal
docker compose logs --tail=100 mof mof-mcp dash
docker compose exec -T mof wget -q -O - http://mof-mcp:8001/health

In Admin → Settings → MCP, check the connection. The public MCP endpoint uses the same web address as MOF; port 8001 is private.

Stop and start

Terminal
docker compose stop
docker compose start

Do not delete volumes during an upgrade. Test database restores separately before relying on a backup.