이 문서는 AI에 의해 번역되었습니다. 정확한 정보는 영어 버전을 참조하세요.
The current version is deployed via backup restoration. In future versions, we may switch to incremental migration to make it easier to integrate the solution into your existing system.
To help you deploy the CRM 2.0 solution smoothly to your own NocoBase environment, we provide two restoration methods. Choose the one that best suits your edition and technical background.
Before you begin, please ensure:
Important notes:
docker-compose.yml and ensure DB_UNDERSCORED is not set to true, otherwise the restoration will fail.This method uses NocoBase's built-in "Backup Manager" (Pro/Enterprise) plugin for one-click restoration. It is the simplest option but has some environment and edition requirements.
Step 1: (Strongly recommended) Start the application with the full image
To avoid restoration failures due to a missing database client, we strongly recommend using the full Docker image, which bundles all required tools.
Then start your NocoBase service using this image.
Note: Without the
fullimage, you may need to manually install thepg_dumpclient inside the container, which is error-prone.
Step 2: Enable the "Backup Manager" plugin
Plugin Management.Backup Manager plugin.Step 3: Restore from local backup file
System Management -> Backup Manager in the left menu.Restore from Local Backup button in the upper right corner.Submit and wait for the restoration to complete. This may take anywhere from a few seconds to a few minutes.schema name must be consistent.This method restores data by directly operating the database, bypassing the Backup Manager plugin — no Pro/Enterprise edition required.
dump tool — as long as you can connect to the database, you can operate..sql file against a database.Step 1: Prepare a clean database
Create a brand new, empty database for the data you're about to import.
Step 2: Import the .sql file into the database
Option A: Via server command line (Docker example)
Option B: Via a remote database client (Navicat, etc.)
Connect to the database using any GUI client (Navicat, DBeaver, pgAdmin, etc.), then:
.sql file and executeStep 3: Connect to the database and start the application
Configure your NocoBase startup parameters (e.g., DB_HOST, DB_PORT, DB_DATABASE, DB_USER, DB_PASSWORD) to point to the database you just imported. Then start the NocoBase service normally.
| Feature | Method 1: Backup Manager | Method 2: Direct SQL Import |
|---|---|---|
| Applicable users | Pro/Enterprise users | All users (including Community Edition) |
| Ease of use | ⭐⭐⭐⭐⭐ (very simple, UI-based) | ⭐⭐⭐ (requires basic database knowledge) |
| Environment requirements | Strict — database and system versions must be highly compatible | Moderate — requires database compatibility |
| Plugin dependency | Strong — any missing plugin causes restoration failure | Feature-dependent — data imports independently; missing plugins disable related features but won't crash the app |
| System files | Fully preserved (print templates, uploaded files, etc.) | Lost (print templates, uploaded files, etc.) |
| Recommended for | Enterprise users with a controlled, consistent environment needing full functionality | Missing some plugins, prioritizing compatibility and flexibility, or Community Edition users who can accept missing file features |
We hope this guide helps you deploy CRM 2.0 successfully. If you run into any issues, feel free to reach out!