You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Migrate Plane to a new server (Commercial edition)
3
+
sidebarTitle: Migrate Plane
4
+
---
5
+
6
+
Here's a straightforward guide to help you migrate your Plane data from one machine to another.
7
+
8
+
## Prerequisites
9
+
Before we dive in, ensure:
10
+
11
+
- You’re running Plane's Commercial Edition.
12
+
- The migration will be done on a different server (not on the same machine).
13
+
- The new server uses the same domain as the current server.
14
+
15
+
## Migration steps
16
+
1.**Delink licenses**
17
+
Log into Plane on your current server. Head to each Pro/One workspace and [delink the licenses](https://docs.plane.so/workspaces-and-users/upgrade-plan#delink-license-key). This will free up the licenses for activation on your new server.
18
+
19
+
2.**Backup data**
20
+
Create a backup of your Plane instance by running:
21
+
```bash
22
+
prime-cli backup
23
+
```
24
+
This command will generate a backup file in the path: `/opt/plane/backup`.
25
+
26
+
3.**Set up Plane on the new server**
27
+
Follow the [installation guide](/self-hosting/methods/docker-compose#install-plane) to deploy Plane on the new instance.
28
+
29
+
4.**Transfer backup files**
30
+
Copy the backup folder from the old server (created in step 2) to the new server. Place the backup in `/opt/plane`.
31
+
32
+
5.**Restore data**
33
+
On the new server, restore your data by running:
34
+
```bash
35
+
prime-cli restore
36
+
````
37
+
Follow the prompts during the restore process to make sure everything is set up correctly.
38
+
39
+
6.**Reactivate license**
40
+
Finally, reactivate your workspaces with the license keys you delinked in step 1.
41
+
42
+
And that’s it! This should get your Plane instance up and running on the new server.
0 commit comments