The export/import feature was introduced in v4.1 that helps move containers from one instance to another of OpenSpecimen. When a new freezer needs to be set up in OpenSpecimen, you can create it on a test server to ensure everything works as expected. Once the structure is finalized, this can be moved to production using this feature.
The exported file is only the freezer's structure but not the details of the specimens stored in it. |
The CSV file generated by exporting can be used for importing, or a template can be downloaded. Refer to the data dictionary on the wiki page for adding data to the template file. This is useful for moving containers from one server to another, like a test to production.
Pre-requisites for importing containers:
Follow the below steps to import the container CSV
2. Upload the CSV file and click on Create for a new container or update to save any changes to an existing container.
3. Click on validate and import.
4. Refer to 'Import status' to check the status of the import job.