Backup files and SQL files are being prepared and will be available soon. Stay tuned!
The current version uses backup restoration for deployment. In future versions, we may switch to incremental migration to make it easier to integrate the solution into your existing system.
To help you quickly and smoothly deploy the Ticketing Solution to your own NocoBase environment, we provide two restoration methods. Please choose the one that best suits your user version and technical background.
Before you begin, please ensure:
Important Notes:
docker-compose.yml file and ensure the DB_UNDERSCORED environment variable is not set to true, otherwise it will conflict with the solution backup and cause restoration failure.This method uses NocoBase's built-in "Backup Manager" (Pro/Enterprise) plugin for one-click restoration, which is the simplest operation. However, it has certain requirements for environment and user version.
Step 1: [Strongly Recommended] Start the application using the full image
To avoid restoration failures due to missing database clients, we strongly recommend using the full version of the Docker image. It includes all necessary supporting programs, eliminating the need for additional configuration.
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 upper right corner.Submit and wait patiently for the system to complete the restoration, which may take 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, thus having no Pro/Enterprise plugin restrictions.
dump tool, can operate as long as you can connect to the database..sql file.Step 1: Prepare a clean database
Prepare a brand new, empty database for the data you're about to import.
Step 2: Import the .sql file into the database
Get the downloaded database file (usually in .sql format) and import its contents into the database you prepared in the previous step. There are multiple ways to do this, depending on your environment:
Option A: Via server command line (Docker example)
If you use Docker to install NocoBase and the database, you can upload the .sql file to the server and then use the docker exec command to execute the import. Assuming your PostgreSQL container is named my-nocobase-db and the file is named ticket_system.sql:
Option B: Via 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 all the contents of the .sql file, and execute.
Step 3: Connect to the database and start the 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 |
|---|---|---|
| Target Users | Pro/Enterprise users | All users (including Community Edition) |
| Ease of Use | Very easy (UI operation) | Moderate (requires basic database knowledge) |
| Environment Requirements | Strict, database and system versions must be highly compatible | General, database compatibility required |
| Plugin Dependencies | Strong dependency, plugins are verified during restoration, missing any plugin will cause restoration failure. | Features depend on plugins. Data can be imported independently, system has basic functionality. But without corresponding plugins, related features will be completely unusable. |
| System Files | Fully preserved (print templates, uploaded files, etc.) | Will be lost (print templates, uploaded files, etc.) |
| Recommended Scenarios | Enterprise users with controlled, consistent environment, need complete functionality | Missing some plugins, seeking high compatibility and flexibility, non-Pro/Enterprise users, can accept missing file functionality |
We hope this tutorial helps you successfully deploy the Ticketing System. If you encounter any problems during the process, please feel free to contact us!