To help you quickly and smoothly deploy this Demo to your own NocoBase environment, we provide two restoration methods. Please choose the most suitable one based on your user version and technical background.
Before starting, please ensure:
Important Note: This Demo is built on PostgreSQL database. Please ensure your environment uses PostgreSQL database.
This method performs one-click restoration through NocoBase's built-in "Backup Manager" (Pro/Enterprise Edition) plugin, with the simplest operation. However, it has certain requirements for environment and user version.
Step 1: [Strongly Recommended] Start Application Using full Image
To avoid restoration failures due to missing database clients, we strongly recommend using the full version of the Docker image. It has all necessary supporting programs built-in, requiring no additional configuration. (Note: The image is built on 1.9.0-alpha.1, please pay attention to version compatibility)
Example command to pull the image:
Then use this image to start your NocoBase service.
Note: If you don't use the
fullimage, you may need to manually install thepg_dumpdatabase client inside the container, which is cumbersome and unstable.
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 top right corner.

.zip format) to the upload area.Submit and wait patiently for the system to complete restoration, which may take anywhere from tens of seconds to several minutes.

schema names must be consistent.This method restores data by directly operating the database, bypassing the "Backup Manager" plugin, thus having no Pro/Enterprise plugin limitations.
dump tools, only requires database connection capability..sql file.Step 1: Prepare a Clean Database
Prepare a brand new, empty database for the Demo data you're about to import.
Step 2: Import the .sql File into the Database
Get the Demo database file we provided (usually in .sql format) and import its contents into the database you prepared in the previous step. There are multiple execution methods, depending on your environment:
Option A: Through Server Command Line (Docker Example)
If you installed NocoBase and database using Docker, you can upload the .sql file to the server, then use docker exec command to perform the import. Assuming your PostgreSQL container name is my-nocobase-db and the file name is crm_demo.sql:
Option B: Through Remote Database Client
If your database exposes a port, you can use any graphical database client (such as DBeaver, Navicat, pgAdmin, etc.) to connect to the database, create a new query window, paste the entire contents of the .sql file, and execute it.
Step 3: Connect Database and Start Application
Configure your NocoBase startup parameters (such as environment variables DB_HOST, DB_PORT, DB_DATABASE, DB_USER, DB_PASSWORD, etc.) to point to the database you just imported data into. Then, start the NocoBase service normally.

| Feature | Method 1: Backup Manager | Method 2: Direct SQL Import |
|---|---|---|
| Applicable Users | Pro/Enterprise Edition users | All users (including Community Edition) |
| Operation Simplicity | ⭐⭐⭐⭐⭐ (Very easy, UI-based operation) | ⭐⭐⭐ (Requires basic database knowledge) |
| Environment Needs | Strict: Database, system version, etc. must be highly compatible | General: Only requires database compatibility |
| Plugin Dependency | Strong dependency: Restoration will fail if any required plugin is missing | Depends on plugins. Data can be imported independently, and the system has basic functionality. However, if the corresponding plugin is missing, related features will not be usable at all. |
| System Files | ✅ Fully preserved (print templates, uploaded files, etc.) | ❌ Will be lost (print templates, uploaded files, etc.) |
| Recommended Scenarios | Pro/Enterprise users with controllable, consistent environments, requiring complete functionality demonstration | Missing some plugins, pursuing high compatibility and flexibility, non-Pro/Enterprise users, acceptable file function loss |
We hope this tutorial helps you successfully deploy the CRM Demo. If you encounter any problems during the operation, please feel free to contact us!