Skip to content
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

DB migration between 2 storages #28

Open
rr404 opened this issue Mar 28, 2024 · 1 comment
Open

DB migration between 2 storages #28

rr404 opened this issue Mar 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@rr404
Copy link
Collaborator

rr404 commented Mar 28, 2024

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

@rr404 rr404 added the enhancement New feature or request label Mar 28, 2024
@rr404
Copy link
Collaborator Author

rr404 commented Mar 28, 2024

not urgent but could be cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant