Migrate Between Database Engines
This article requires some technical experience.
Introduction
iSign supports several relational database engines. This article explains how to switch between them.
Supported database engines:
- Microsoft SQL Server 2019 or later
- PostgreSQL 15 or later
- SQLite 3
A backup is tied to a specific database engine. When restoring a backup, use the same database engine that was used to create it.
To switch database engines, first transfer the data to a temporary SQLite database. You can then restore it to any supported database engine.
Procedure
-
Start with a working iSign system. Version 9.0.7 or later is required.
-
We recommend creating a backup so you can return to the original state if anything goes wrong.
-
Create a copy of the database:
issrvconfig run default --stopissrvconfig migrate default to-sqlite isign-db -
Configure iSign to use the new database engine. iSign should now be running without data.
-
Copy the database back. Existing data will be overwritten:
issrvconfig run default --stopissrvconfig migrate default from-sqlite isign-db --clear-db