DBFlow icon indicating copy to clipboard operation
DBFlow copied to clipboard

Can't restore DB from backup

Open mkovalyk opened this issue 11 years ago • 1 comments

FlowManager.getDatabaseForTable(table).backupDB() doesn't work in version 2.2.1. I see only method backupDatabase(), but no restore methods in BaseDatabaseDefinition.

mkovalyk avatar Aug 03 '15 19:08 mkovalyk

@mkovalyk restore will happen automatically when the DB is reopened. The backup mechanism is meant to only work for cases when the database integrity check fails, and the backup DB is not corrupt.

agrosner avatar Aug 20 '15 22:08 agrosner