Databases

Migrate to Server

Changed on

Migrate a database to another destination/server owned by the authenticated team. Stops the database, optionally transfers persistent volume data when both servers are managed by Coolify, and updates database records. Redeploy after migration completes.

post/databases/{uuid}/migrate

Request

  • Base URL: https://app.coolify.io/api/v1
  • URL: https://app.coolify.io/api/v1/databases/{uuid}/migrate
  • Auth: HTTP bearer

Path parameters

uuidstring required

UUID of the database.

Request body

destination_uuidstring required

UUID of the target destination.

migrate_volumesboolean

Whether to transfer persistent volume data when migrating across servers.

Response

Database migration started or completed.

Changes