You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/maintenance/base-export.md
+24-3Lines changed: 24 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,12 +94,33 @@ This command creates:
94
94
95
95
<!-- md:version 6.0 -->
96
96
97
-
To import an exported base folder into another group/workspace, use the following command.
97
+
To import an exported base folder into another group/workspace, use the following command. The import takes typically much longer than the export.
98
98
99
99
```bash
100
100
seatable.sh python-env /opt/seatable/seatable-server-latest/dtable-web/manage.py import_dtable_folder --workspace-id="<workspace id>" --path="<path to folder>"
101
101
```
102
102
103
-
Replace `<workspace id>` with the ID of the target workspace/group and provide the path to the folder containing the export.
103
+
Replace `<workspace id>` with the ID of the target workspace/group and provide the path to the folder containing the export.
104
104
105
-
After running the command, check that the output indicates a successful import.
105
+
!!! success "How to get the workspace id?"
106
+
107
+
Open any base in the target workspace (group or "My Bases") via the web interface.
108
+
Extract the numeric ID from the URL. For example, in `https://cloud.seatable.io/workspace/156522/dtable/Customers/`, the workspace ID is `156522`.
109
+
110
+
**Important**: The workspace ID is not the group id.
111
+
112
+
After running the command, check that the output indicates a successful import.
113
+
114
+
### Known Issues in Version 6.0
115
+
116
+
!!! danger "Base name missing in database"
117
+
118
+
In SeaTable version 6.0, the import function has a known bug that prevents bases from being created correctly in the database, leaving the `name` field empty.
119
+
This disrupts the web interface for all users with access to the affected workspace.
120
+
121
+
**Fix**: Manually set a name in the `dtable_db.dtables` table. This resolves the issue immediately.
122
+
123
+
!!! warning "Avoid spaces and special characters in folder path"
124
+
125
+
SeaTable exports bases with spaces/special chars (e.g., "CRM and Sales" → `/share/CRM and Sales`), which `import_dtable_folder` rejects.
126
+
Rename folders to use only letters, numbers, underscores, or hyphens (e.g., `CRM_and_Sales` or `CRM-Sales`) before importing.
0 commit comments