#Data sync
1 messages · Page 1 of 1 (latest)
Hi @runic flare, our suggested way to sync the data between your database and Permify we’re suggesting writing the data when in the db transaction level so if operation fails whole operation will fail and inconsistencies never happen. You can learn more information from: https://docs.permify.co/api-reference/data/write-data#suggested-workflow
No worries, anytime
Another question is, how should we deal with the historical data and incremental data, and how to ensure that no data is lost?
We offer data backup functionality in our priced options not in the open source. With our data backup you could be able to rollback any tenant's data up to 90 days without affecting any data among other tenants.
Currently, our database contains a lot of user data, of which a portion needs to be migrated to Permify. The migration work includes both bulk migration and incremental migration. As an online business, there may be users reading from and writing to the database at any moment. How can we manage both bulk and incremental migrations in a way that allows us to smoothly integrate with Permify?
Actually there is no functionality to bulk migration right now. You need to use WriteAPI maybe with script to do for each id of the user.