Moving all projects from disk DB to PostgreSQL DB
We would like to move all our projects from the local disk databases to PostgreSQL.
The only way I found for now is to
When multiple projects are selected, Export and Export with Stills are greyed out.
And backups as .resolve.diskdb files can only be restored to disk, not to PostgreSQL. (I suspect that Backup/restore is really just a fancy way of zipping/unzipping the Disk Database folder).
We have now moved to v. 14, and the old 12.5 projects in .xml files seem to be converted to a sqlite database when saved. Could it be possible to write a script which reads the data in the Project.db sqlite file, and copies it to Postgresql? Are both using the same database structure?
The only way I found for now is to
- manually export .drp files one project at a time,
- switch to postgresql,
- import the .drp files one at a time.
When multiple projects are selected, Export and Export with Stills are greyed out.
And backups as .resolve.diskdb files can only be restored to disk, not to PostgreSQL. (I suspect that Backup/restore is really just a fancy way of zipping/unzipping the Disk Database folder).
We have now moved to v. 14, and the old 12.5 projects in .xml files seem to be converted to a sqlite database when saved. Could it be possible to write a script which reads the data in the Project.db sqlite file, and copies it to Postgresql? Are both using the same database structure?