Skip to content

DB migration between 2 storages #28

Open

Description

@rr404

It would be cool to have a function to migrate machines and optionally unsent signals from one storage to another.

Conception to be done but the idea would be:

myCurrentStorage = SQLStorage('sqlite:///crowdity.db')
myNewStorage = MongoStorage('...')

migrateStorage(from=myCurrentStorage, to=myNewStorage, copySignals=true)

It would use basic storage interface functions an would allow sql2sql mongo2mongo sql2mongo mongo2sql

Activity

  1. added
    enhancement
    on Mar 28, 2024
  2. rr404 commented on Mar 28, 2024

    @rr404
    CollaboratorAuthor

    not urgent but could be cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions