I make filesystem backups of /data/ and am trying to restore my contacts. Contacts appear to be stored in /data/data/user_de/0/com.android.providers.contacts/, specifically its database/contacts2.db.
Manually restoring this directory however does not appear to work. The data is 1:1 the same but, upon opening the contacts app, all contacts are wiped from the db.
How can I restore contacts from a filesystem backup such that they're not wiped by Android?