You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to back up the /objectbox/objectbox/data.mdb file, and we need to ensure that the database is complete and that the current data is not being written. We don't currently find an API that can be used.
Our current solution is to start a transaction and copy the database file in the transaction to avoid other writes during the copying process. Will it cause other problems?
sBoxStore.runInTx(new Runnable() {
@Override
public void run() {
use FileUtils copy data.mdb to backup_data.mdb
}
});
The text was updated successfully, but these errors were encountered:
We need to back up the /objectbox/objectbox/data.mdb file, and we need to ensure that the database is complete and that the current data is not being written. We don't currently find an API that can be used.
Our current solution is to start a transaction and copy the database file in the transaction to avoid other writes during the copying process. Will it cause other problems?
The text was updated successfully, but these errors were encountered: