I\'m trying to backup a room database programmatically.
For that, I\'m simply copying the .sqlite file that contains the whole database
.sqlite
But, bef
As an alternative, you can always create your Room database while forcing it not to use write ahead logging:
Room.databaseBuilder(context, db.class, dbName) .setJournalMode(JournalMode.TRUNCATE) .build();