View Issue Details

IDProjectCategoryView StatusLast Update
0009453Talermerchant backendpublic2026-11-02 17:20
ReporterChristian Grothoff Assigned ToResolution deadline
ImplementerChristian Grothoff ReviewerFlorian Dold  
Release signed byChristian Grothoff Deployed byvecirex  
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)80Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityfeatureReproducibilityN/A
Status implementingResolutionopen 
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

The plan

IDSummaryStatusAssigned ToEstimated effort (hours)
0011457need API spec for data export/import [2d] implementing80
This issue (hours)80
Its children (hours)80
Together (hours)160
Nothing is missing: the plan can be finished.

Relationships

parent of 0011457 implementing need API spec for data export/import [2d] 
has duplicate 0010491 closedChristian Grothoff merchant backend should allow import/export/migration [meta] [14d] 
Not all the children of this issue are yet resolved or closed.

Activities

Christian Grothoff

2026-04-27 20: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.

Christian Grothoff

2026-06-02 12:51

manager   ~0028754

DB schema change is done, more much later...

Issue History

Date ModifiedUsernameFieldChange
2025-01-11 10:04Christian GrothoffNew Issue
2025-01-11 10:04Christian GrothoffStatusnew => assigned
2025-01-11 10:04Christian GrothoffAssigned To => Christian Grothoff
2025-01-11 10:04Christian GrothoffAssigned ToChristian Grothoff =>
2025-01-12 08:16Christian GrothoffStatusassigned => implementing
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend
2026-02-07 22:00Christian GrothoffRelationship addedchild of 0010491
2026-04-26 22:44Christian GrothoffAssigned To => Christian Grothoff
2026-04-26 22:44Christian GrothoffStatusimplementing => assigned
2026-04-26 22:44Christian GrothoffStatusassigned => implementing
2026-04-27 20:38Christian GrothoffNote Added: 0028481
2026-05-08 22:11Christian GrothoffStatusimplementing => assigned
2026-05-08 22:38Christian GrothoffRelationship deletedchild of 0010491
2026-05-08 22:38Christian GrothoffRelationship addedhas duplicate 0010491
2026-05-13 05:47Christian GrothoffSummaryenable data export => enable data export [14d]
2026-05-31 20:24Christian GrothoffRelationship addedparent of 0011457
2026-06-02 12:51Christian GrothoffStatusassigned => implementing
2026-06-02 12:51Christian GrothoffNote Added: 0028754
2026-06-02 12:51Christian GrothoffSummaryenable data export [14d] => enable data export [10d]
2026-11-02 17:20Christian GrothoffAssigned ToChristian Grothoff =>
2026-11-02 17:20Christian GrothoffImplementer => Christian Grothoff
2026-11-02 17:20Christian GrothoffReviewer => Florian Dold
2026-11-02 17:20Christian GrothoffRelease signed by => Christian Grothoff
2026-11-02 17:20Christian GrothoffDeployed by => vecirex
2026-11-02 17:20Christian GrothoffEstimated effort (hours) => 80
2026-11-02 17:20Christian GrothoffSummaryenable data export [10d] => enable data export