Skip to content

Commit 5d10cd2

Browse files
committed
Migrate plane to a new server
1 parent 5977486 commit 5d10cd2

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

mint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
"self-hosting/upgrade-from-community",
9797
"self-hosting/manage/upgrade-plane",
9898
"self-hosting/manage/prime-cli",
99+
"self-hosting/manage/migrate-plane",
99100
"self-hosting/manage/view-logs",
100101
"self-hosting/manage/backup-restore"
101102

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
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

Comments
 (0)