View Issue Details

IDProjectCategoryView StatusLast Update
0009453Talermerchant backendpublic2026-04-27 22:38
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PrioritynormalSeverityfeatureReproducibilityN/A
Status confirmedResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Versionpost-1.0 
Summary0009453: enable data export
DescriptionGiven that it is clear that there will be merchants that host their business data at some operator, we need to implement some data export functionality that enables a merchant to export all business data from one instance and to re-import that business data at another instance.
TagsNo tags attached.

Relationships

child of 0010491 confirmed merchant backend should allow import/export/migration [meta] [14d] 

Activities

Christian Grothoff

2026-04-27 22:38

manager   ~0028481

I'm thinking that one way to do this *easily* might be to break up all tables that have an instance ID in them into new per-schema tables,
so basically instead of everything in the 'merchant' schema, have 'merchant-$INSTANCE' schema. Populate that when an instance is being created, and then export / import the entire *schema* when migrating the instance. That would make it HARD to migrate if merchant backends use different versions (probably OK!), but otherwise radically simplify the migration logic itself (just dump/import the schema). We probably would keep the instance-table itself outside of the schema, as setting new credentials on the target backend is likely a good thing. Plus that way we can use that table to *discover* all the schema we expect.

Issue History

Date Modified Username Field Change
2025-01-11 11:04 Christian Grothoff New Issue
2025-01-11 11:04 Christian Grothoff Status new => assigned
2025-01-11 11:04 Christian Grothoff Assigned To => Christian Grothoff
2025-01-11 11:04 Christian Grothoff Assigned To Christian Grothoff =>
2025-01-12 09:16 Christian Grothoff Status assigned => confirmed
2025-03-22 14:09 Christian Grothoff Category mechant backend => merchant backend
2026-02-07 23:00 Christian Grothoff Relationship added child of 0010491
2026-04-27 00:44 Christian Grothoff Assigned To => Christian Grothoff
2026-04-27 00:44 Christian Grothoff Status confirmed => assigned
2026-04-27 00:44 Christian Grothoff Status assigned => confirmed
2026-04-27 22:38 Christian Grothoff Note Added: 0028481