Data, copied while it runs
Volumes, bind folders and files. Containers pause for the seconds a copy takes. Databases never pause.

Back up one app or a whole server. Paste one command on the new one. It arrives running, and verified.
A real move, replayed: back up a project on one server and restore it on another.
The first installs the tool and opens its menu. The old server prints the second one after the backup.
$ curl -fsSL https://raw.githubusercontent.com/mtalavi/coolify-mirror/main/install.sh | sudo sh
$ curl -fsSL https://raw.githubusercontent.com/mtalavi/coolify-mirror/main/install.sh | sudo sh -s restore 203.0.113.10/hi4i-2dzx-hmeg-42qp-palx-52s7-zq
example
Every night a whole-server backup goes to Google Drive, S3, SFTP, Dropbox or a folder — anywhere rclone reaches. The copy is checked, then deleted from the server, so the disk never fills.
On a new server, one command with your recovery key brings everything back: apps, databases, domains, users, and the panel on the new address. The backup’s name says which Coolify version to install first.
$ sudo coolify-mirror recovery-key create --email you@example.com --telegram 123456789
$ sudo coolify-mirror schedule add --at 03:30 --full --to gdrive:coolify-backups --keep-remote 7 --keep-local 0
$ curl -fsSL https://raw.githubusercontent.com/mtalavi/coolify-mirror/main/install.sh | sudo sh -s restore gdrive:coolify-backups --recovery-key AGE-SECRET-KEY-1…
example
Pick a project in a list, the way Coolify shows it. Everything that makes it run comes along, and the new server starts it through Coolify itself.
Volumes, bind folders and files. Containers pause for the seconds a copy takes. Databases never pause.

PostgreSQL, MySQL and MariaDB are saved with pg_dumpall and mysqldump, then loaded with the same image on the new server.
Projects, environments, variables, storages, tags, scheduled tasks and backup schedules. Secrets are re-encrypted for the new server's key.
Pick a project and everything in it moves together. Moving one app only? The Postgres behind its DATABASE_URL is found and offered.

The exact images your apps run are shipped. Docker Compose apps start from them without cloning or building, which matters most on a slow connection.
Right before anything starts, keep each domain or type a new one. Coolify updates its proxy labels.
Real screens from a move to a freshly installed Coolify 4.4.2 with the released tool. Pick a step, then a screen.
SSH into the old server as root or a sudo user, then run:
curl -fsSL https://raw.githubusercontent.com/mtalavi/coolify-mirror/main/install.sh | sudo sh
sudo coolify-mirror restore CODE.Keep this window open while the new server downloads, or press b to keep sharing in the background for 24 hours.
SSH into the new server and paste the line you copied. It looks like this:
curl -fsSL https://raw.githubusercontent.com/mtalavi/coolify-mirror/main/install.sh | sudo sh -s restore 203.0.113.10/hi4i-2dzx-hmeg-42qp-palx-52s7-zq
example
The rebuild question only appears for apps Coolify builds from Git. Whole-server restore: the panel keeps this server's own address and IPs. After the first install the tool is a command: sudo coolify-mirror, coolify-mirror help.
The menu has the whole move as a guide: sudo coolify-mirror, then How it works.
sudo coolify-mirror
On the new server, once everything works, also delete the safety copies under Everything kept here. Without the menu: sudo coolify-mirror files delete --backups
Coolify starts everything. Then the tool checks what actually happened, and says so plainly when something does not work.
Every service that ran on the old server is up on the new one.
All containers healthy, without a single restart.
Each domain is reached through the local Traefik, not just configured.
Optional rebuild from the same commit, without cache.
Three runs on real Coolify installs (4.3.23 and 4.4.2), with what was measured.
A production Docker Compose app with 7 services, Postgres, 6 volumes and a build script on the host, moved to a server with a slow internet connection.
running:healthyA Compose app with a host build script and a named buildx builder, a Dockerfile app, an image app, WordPress with MariaDB, and Postgres. Same secrets, volume data and database rows (md5) as the source, every domain answering, and a full rebuild on the new server.
The tutorial above: a whole project (two apps, Redis and Postgres) moved through port 443 to a brand-new Coolify 4.4.2 with the released 1.9.1. The 47.5 MB download and its checks took a second on the lab network.
The backup is one age-encrypted file. It travels over HTTPS with a certificate pinned by the share code. Plain HTTP is never served.
Same Coolify version, disk space, Coolify's own bundle validation, conflicts, and a trial import in a transaction that is rolled back.
If the import fails, everything it created is removed. A full restore puts back the previous Coolify database and .env.
An existing volume keeps its data as <name>.cm-old-<time>. Replaced folders stay as safety copies until you delete them.
A lock stops two backups or restores at once. Paused containers always resume, even after ctrl+c.
Every run checks the Coolify parts it relies on. A daily job moves real apps between two fresh installs of each new Coolify release.
One file goes from one server to the other. This is what happens on each side.
Every release is on GitHub Releases with its binaries and checksums.
Routes for every subdomain move with the domain. A raw compose file that routes its customers' subdomains with a pattern, such as the Traefik rule HostRegexp(^[a-z0-9-]+[.]shop[.]com$), kept pointing at the old domain after --set-domain shop.com=new.shop.com, so every customer address stopped answering on the new server. The pattern now moves too (dots written as [.], \. or \\.), as do *.shop.com wildcards; other subdomains and names that already moved stay as they are. When such a route moves, the restore ends with a red warning: the new *.new.shop.com needs a DNS record pointing to this server and a certificate that covers it (Cloudflare's free certificate covers only one level below the zone), with the exact steps. The real restore lab now routes a subdomain this way and checks it after the move.
Docker Compose applications with a raw compose deployment (the file used as it is, often with images named after the commit and settings in env files on the server) now start from the restored images like the others. Before, they were handed to Coolify, which ran their build on the new server; a build that needs the old server or a registry the new server cannot reach failed the restore. --set-domain now also moves the domains written in a raw compose file (Traefik and Caddy labels), in the application's variables and in its env files on the server. A failed deployment shows the error from Coolify's deployment log instead of only pointing at it. The real restore lab now includes such an application, whose build is made to fail on the target.
MySQL and MariaDB dumps now carry the accounts added after the database's first start, with their passwords, roles and grants (before, only the users from the image's environment came back). A scheduled backup can no longer upload into the folder it is written to (which deleted every copy), reports every failure by email or Telegram, waits for a backup or restore that is still running, and refuses invalid options when the schedule is added. Restoring from a folder shared by several servers or by full and app backups asks for the file instead of taking another server's backup. rclone paths such as gdrive:2026/backups work. Built with Go 1.26.11, which fixes 17 security issues in Go's HTTP and TLS code used by the share server; a weekly vulnerability check now runs in CI. Read the test report.
Selective restores now carry every destination of scheduled database and volume backups. Real selective and full off-site restores verify those links, saved IPv6 SFTP settings and legacy API token scopes. Read the test report.
SFTP destination SSH keys and resource vulnerability settings now travel in selective restores. The real backup and restore lab checks these dependencies, stored host pins and multiline values with trailing newlines. The same menus, backup format and exact-version checks remain. Read the test report.
Selective migration and whole-server recovery from SFTP tested on fresh Coolify 4.6.0 servers. The lab now checks database-content checksums, encrypted HTTPS Git credentials, locked environment variables and scoped API token state. Fixes HTTPS links whose certificate pin starts with +, keeping exact certificate checks. Read the test report.
Every night (or from your own script) a whole-server backup goes to Google Drive, S3, SFTP, Dropbox or a folder through rclone, is checked there and only then deleted here; the newest N are kept there and N here. Each backup is also encrypted to a recovery key that is shown once and can be sent to you by email or Telegram, so it opens on any new server: restore gdrive:folder --recovery-key … takes the newest backup and brings the whole server back. Backup file names now carry the Coolify version they need. Restore also takes a folder, an rclone path or an https:// address; failures are reported by email or Telegram.
A whole-server restore carried the old server's panel address and IPs, so the new panel answered only on the old domain (“not registered” on its own). The panel now keeps this server's address (or the one you choose), Coolify rebuilds its proxy route, and the restore checks the panel answers. sudo coolify-mirror repair-panel fixes a server restored with an older version. Press c on the share screen to copy the command to your own clipboard (s: the short one); the last restore question now says plainly that No keeps everything running; coolify-mirror help starts with the everyday commands; an identical docker-compose.custom.yml no longer warns. The daily test now also moves a whole server.
The menu no longer hangs after the banner when it is started with curl … | sudo sh on Debian 12 or Ubuntu: sudo's use_pty put it in the background of a terminal that gets no keyboard, so the system stopped it. It now reads the keyboard from your own terminal. A Docker daemon that does not answer ends with a clear message after 30 s instead of a silent wait, and the log names any command that runs longer than 10 s.
Works with Coolify 4.5.0 (tested on two freshly installed servers, and again on 4.4.7 and 4.3.24). Coolify 4.5 changed its own Server Transfer exporter; backups carry Coolify's transfer bundle again, and the daily test now fails when a backup comes without it. Secrets that Coolify 4.5 encrypts at rest are re-encrypted for the new server like every other secret. The website answers the common migration questions and has a summary for AI assistants (llms.txt).
Tested with Coolify's security releases 4.4.7 and 4.3.24: a full move on two freshly installed servers for each. Update both servers to the same release before a move; Coolify's patch.sh takes every line to its fix release. The daily test's servers now always get the cpu cgroup controller: without it Docker there could not start containers with a CPU weight, which had wrongly marked 4.3.24 as failed on the test host.
Tested with Coolify 4.4.6. A failed daily test no longer stops backups (only restores), and a test whose servers could not even start is no longer published as a failure — that had wrongly marked 4.4.6 as failed.
Domains without the container port (vemela.app, not vemela.app:3000), and list and files columns that stay aligned with long names — found in a test on a real 20-project server.
No more "did not work" warning from an older version under "✓ tested" when this release was tested with that Coolify.
Works with Coolify 4.4 (tested on 4.4.2 and 4.3.23): Compose apps start from the restored images again, SQLite databases and secret-manager links (Vault, Doppler, Infisical) move with their apps, and a whole-server move no longer rebuilds Compose apps.
Domains on their own line in the final box, a cleaner share screen, full progress notes, and a question before a Compose domain moves to a service that had none.
A list like Coolify's dashboard: pick a project and its apps, databases, services and domains move together. A review before every backup, backup --project, and a sharper look.
A 4-step quick start and every screenshot retaken from a real move. Behind Coolify's proxy, the share screen names the other server instead of the proxy's address.
The ALL line deletes every backup in one go, or pick some. On the command line: files delete --backups.
See and delete what the tool keeps on both servers. Enter picks the highlighted app, Recommended settings, and a built-in guide.
One short command per server. Checks against every Coolify update, and coolify-mirror update.
Docker Compose apps start from the restored images, without cloning or building.
Success only when the new server really runs the apps. Build dependencies on the host travel too, and --verify-redeploy proves the next deploy.
HTTPS-only transfer with a pinned certificate, native database dumps, a mandatory preflight, and Coolify's official transfer bundle inside.
A domains step at the end of every restore. Released under MIT with a one-line installer.
Selective and full backups, sharing, restores with rollback, and the interactive menu.
Install Coolify on the new server, the same version as the old one. On the old server run the one-line installer, pick the projects (or the whole server), back them up and share the backup: it prints one command. Paste that command on the new server. It downloads and verifies the backup, restores apps, databases, volumes, env vars and domains, starts them through Coolify and checks that every domain answers. Then point your DNS to the new server.
Yes. Pick one project, several, or a single app; the databases and services they use come along. They are merged into the new Coolify next to what is already there. A whole-server backup is the other option, for an empty new Coolify.
Yes. sudo coolify-mirror schedule add --at 03:30 --full --to gdrive:coolify-backups --keep-remote 7 backs up every night, uploads through rclone (Google Drive, S3, SFTP, Dropbox and 70+ more) or to a folder, checks the copy and then deletes it from the server. A failed run is reported by email or Telegram.
On a new server install the Coolify version written in the backup’s name, set up the same rclone destination, and run curl -fsSL https://raw.githubusercontent.com/mtalavi/coolify-mirror/main/install.sh | sudo sh -s restore gdrive:coolify-backups --recovery-key AGE-SECRET-KEY-1…. It restores the newest backup, starts everything and checks every domain.
Versions before 1.9.7 restored the old server’s panel address too, so the proxy only knew the old domain. Since 1.9.7 the panel keeps this server’s own address and IPs and the restore checks it answers. A server restored earlier: run sudo coolify-mirror repair-panel (add the panel address, or - for none).
Coolify v4.3, v4.4, v4.5, v4.6 and v4.7 (tested with 4.3.23, 4.3.24, 4.4.2, 4.4.6, 4.4.7, 4.5.0, 4.5.1, 4.5.3, 4.6.0, 4.7.0, 4.7.3, 4.7.5 and 4.7.6), with exactly the same version on both servers. At start the tool says whether this version is tested; every new Coolify release is tested automatically. If the versions differ, it tells you which server to upgrade.
No. With Recommended settings, containers pause only for the seconds their volume copy takes, and databases are dumped while they run. Nothing is deleted on the old server.
Yes. Backing up apps merges them into the new Coolify and keeps everything that is there. An app that already exists can be restored as a copy or skipped. A whole-server backup only goes onto a fresh, empty Coolify.
Port 443 of the old server is blocked. On the old server press q, choose Share a saved backup, the same backup, then Share a link on port 8123. Allow 8123 in your provider's firewall too, and run the new command it shows.
Keep the old server sharing and run the same command again: the download continues where it stopped. On big servers, run the tool inside tmux.
The old server also prints a second command that downloads the tool from the old server itself, over the same pinned connection.
Resources on remote servers, preview deployments and Swarm. Webhooks and DNS keep pointing to the old server until you switch them. Between different CPU architectures, Coolify rebuilds the apps.
Copying /data/coolify and the Docker volumes over root SSH moves everything at once onto an empty server: database files are copied raw and nothing is checked afterwards. Coolify Mirror can move one project into a Coolify that is already in use, needs no SSH key between the servers (a share code on port 443), dumps databases while they run, checks version, space and conflicts before changing anything, rolls back on failure and reports success only when the apps answer on their domains.
No. It is an independent open-source project under the MIT license, not affiliated with Coolify or coolLabs.
$ curl -fsSL https://raw.githubusercontent.com/mtalavi/coolify-mirror/main/install.sh | sudo sh