The Commercial edition comes with the free plan and the flexibility to upgrade to a paid plan at any point.
IMPORTANTMake sure you already have Commercial Edition installed on a fresh machine before starting this migration. If you haven’t installed it yet, follow our Commercial Edition installation guide first.The instructions provided on this page are specific to installations using Docker. If you are running Plane on Kubernetes, you’ll need to manually create a database dump and back up your file storage by copying the relevant volumes or storage paths.
Run the setup.sh backup script to take the backup of the Community Edition instance.
Copy
Ask AI
./setup.sh backup
When done, your data will be backed up to the folder shown on the screen.
e.g., /plane-selfhost/plane-app/backup/20240522-1027
This folder will contain 3 tar.gz files.
pgdata.tar.gz
redisdata.tar.gz
uploads.tar.gz
Copy all the 3 files from the server running the Community Edition to any folder on the server running the Commercial Edition on any folder of your choice.e.g., ~/ce-backup
Start any command-line interface like Terminal and go into the folder with the back-up files.
Copy
Ask AI
cd ~/ce-backup
Copy and paste the script below on Terminal and hit Enter.
Copy
Ask AI
TARGET_DIR=/opt/plane/datasudo mkdir -p $TARGET_DIRfor FILE in *.tar.gz; do if [ -e "$FILE" ]; then tar -xzvf "$FILE" -C "$TARGET_DIR" else echo "No .tar.gz files found in the current directory." exit 1 fidonemv $TARGET_DIR/pgdata/ $TARGET_DIR/dbmv $TARGET_DIR/redisdata/ $TARGET_DIR/redismkdir -p $TARGET_DIR/miniomv $TARGET_DIR/uploads/ $TARGET_DIR/minio/uploads/
This script will extract your Community Edition data and restore it to /opt/plane/data.