Move an app or database
Move an app or a database to another server, or hand it to another team, with its data.
An app or a database can move to another of your servers, or to another team you belong to. Its data comes with it.
Move an app to another server
Open the Server card
Open the app, then Settings -> General, and click Move on the Server card. The card shows only when you have more than one server.
Pick the server and confirm
Pick it under Move to. The dialog names the apps this one reaches by name: they stay on the old server, and it stops reaching them.
- An app that keeps data on its server is offline until it starts on the new one: one with a Volume, a Bind or a published port. Deplo stops it, redeploys it there and copies its data. If that fails, it goes back to its old server.
- An app with no data keeps answering on its old server until it runs on the new one.
- What does not move: a Bind, and what a Compose app wrote to folders of its repository. The deploy log lists them.
Move a database to another server
Same place: the database's Settings -> General, then Move on the Server card. Deplo stops the database, copies its data and starts it on the new server. It is offline during the copy. If the copy fails, it stays where it was.
Move to another team
| What | Where |
|---|---|
| An app | Settings -> Advanced -> Danger zone -> Transfer, or Transfer to another team in the app's menu |
| A database | Settings -> Advanced -> Danger Zone -> Transfer, or Transfer to another team in its menu on Storage |
Pick the team
The list shows only the teams where you may receive it: you need Move & reorder apps in both teams for an app, plus Manage environment variables in this one, and Move databases in both for a database.
Read what it costs, then confirm
The dialog lists what the move changes. Type the name to confirm.
It keeps its data, its address and its connection string, and restarts once. The three costs that bite:
- It lands at the top level of the new team, outside any project or folder.
- Its backup schedules and cron jobs are removed. Backups already taken stay in the old team.
- Apps and databases reach each other only inside one team. Move an app and its database together; they reach each other again once both have arrived.
Only the new team can hand it back
After the move, the old team loses access to it.
Good to know
- An app stops getting the old team's shared variables from its next deploy.
- Its repository may be disconnected, which turns auto-deploy off. The dialog says so: reconnect it from the new team.
- Both teams' Activity record the move, with who did it.
Something wrong? See Servers and agents.
Did this page help you?