Skip to content

Instantly share code, notes, and snippets.

@Geczy
Last active June 6, 2025 15:36
Show Gist options
  • Save Geczy/83c1c77389be94ed4709fc283a0d7e23 to your computer and use it in GitHub Desktop.
Save Geczy/83c1c77389be94ed4709fc283a0d7e23 to your computer and use it in GitHub Desktop.
Migrate Coolify to a new server
@dwillitzer
Copy link

dwillitzer commented Feb 13, 2025

Great script, thanks.

I created a coolify db restore, if backing up locally.

Long term we need a baseline CLI similar to Plesk provides for installation, updates, and recovery.

@nnethery
Copy link

nnethery commented Apr 8, 2025

Also reporting that the original script works perfectly with the expected setup on v4.0.0-beta.406

@mannerism
Copy link

mannerism commented May 16, 2025

I see that this script allows us to migrate Coolify instance, but how are you guys handling application migrations? For instance, running the script won't migrate the application such as Ghost CMS with underlying data to a new server?

@eltonciatto
Copy link

I see that this script allows us to migrate Coolify instance, but how are you guys handling application migrations? For instance, running the script won't migrate the application such as Ghost CMS with underlying data to a new server?

Yes. The script also copies the volumes of each application (e.g. Ghost CMS and its database) to the new server. After running it, simply go to the Coolify dashboard on the destination and “Redeploy” each app. This will cause Traefik/Compose to create new containers for the applications by mounting the migrated volumes, preserving all the content (posts, themes, databases, uploads, etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment