Hello,
The only official procedure is to reimport the "OrthancStorage" (if you have direct access to the filesystem), or to use the "Replicate.py" script to duplicate from one running instance of Orthanc to another using the REST API:
That being said, the SQLite and the PostgreSQL database schemas are so close to each other than it should be fairly easy to make a SQL import/export between them, e.g.:
You could start Orthanc with a PostgreSQL database so as to properly initialize an empty database (including triggers), then stop Orthanc and import the data by tools such as above. Make sure *not* to overwrite the content of the "GlobalProperties" table, as it contains system values. There could also be a challenge with AUTOINCREMENT columns.
If you have success with such a procedure, please contribute to Orthanc by sharing your story with the community. This could be useful to many people.
Regards,
Sébastien-