-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration between deployments/Export project functionality #1780
Comments
Brainstorming on Sep.27, 2024There was no consensus on a clear preference for any of the proposed solutions above. Below some notes from the discussion Data Migration from Source to Destination Database When migrating data between databases, especially PostgreSQL tables with identifiers and relationships, it’s important to go beyond just viewing it as a transfer of data rows. The semantics of the data (i.e., the meaning of the entities and their relationships) must also be considered. Still, some of the key challenges can already be identified, particularly around merging data that exists in both the source and destination databases: Key Challenges:
A Semantic Approach to Migration Considering the database's structure and meaning, a more strategic approach is to break the migration into stages based on different contexts. This allows for grouping related tables and migrating them together, either manually or automatically. Identified Contexts:
Migration Process Requirements
Features Even thought his process will be mostly carried out once and in the backend, it might have a big value if the ability to import/export studies should be available as a standalone feature for users |
Discussion on Jan.08, 2025Dustin and Sylvain R. had a discussion, during which it was concluded that an export/import project functionality might be needed to provide users with the option to migrate from TIP in-house to TIP in the cloud. This functionality is a prerequisite for shutting down the TIP in-house deployment. My Takeaways from Discussion and Proposed Action Plan
Project import
User import/export
Services
Product / Platform
ActionOne of the first steps we can take is to start writing unit test that utilize the existing creation and update functionality in the code. These test will create a project with multiple services using newly generated IDs. The input to the test will resemble the metadata JSON, which aligns with the export functionality we aim to implement. |
Based on the working group ITISFoundation/osparc-ops-environments#672 we decided we will investigate these 3 options:
(1) Importing from target deployment
Using an ad-hoc GUI the user can import thier projects from another deployment.
Prerequisits:
Chnages to oSPARC:
PROS:
CONS:
(2) Archiving
Generate an archive containing project data and data stored in all nodes.
Prerequisits:
Changes to oSPARC:
PROS:
CONS:
(3) Migration
The idea here is to migrate one deployment to another.
PROS:
CONS:
Tasks
The text was updated successfully, but these errors were encountered: