Copying or moving a service
A service’s Settings has Copy or move: choose an environment of any project, read the plan, then Copy or Move.
- The copy has the same settings under the same name: build or image, port, health check, release command, volumes’ places, limits, replicas, tags and retention. Domains and a database’s outside port are not copied: they belong to one service.
- Its own variables go with it. A reference to a database stays a reference by name; the plan says when the target environment has no database of that name. The environment’s shared variables stay where they are.
- To an environment on the same server the values go as they are. To another server, your recovery key opens them in your browser and seals them for that server’s agent, as moving an environment does; the panel never sees a value.
- A database is copied as settings only: it starts empty with its own password. Restore a backup into it for its data.
- The copy is not deployed: deploy it when it is ready.
- Move copies, then puts the original in the trash, where it can be restored for 48 hours.
- Only Admins can copy or move a service; each is in the audit log.