seedvault
seedvault copied to clipboard
Conversations app gets backed up only once and never again
Hi everyone,
Seedvault with GraphenOS is working well so far on my phone. The expert option to ignore the app size is set and all apps which allow backup get backed up.
However I have on app "Conversations" (https://codeberg.org/iNPUTmice/Conversations/issues/67#issuecomment-949155) which got backed up once with the initial backup and afterwards never again. All other apps get updated daily, for Conversations it shows that the last backup is 20days ago though it is used daily.
Any idea what information I can provide to the developers of Conversation what could be the issue ?
Thx for any help.
Can you run adb shell bmgr backup eu.siacs.conversations
and grab logcat and shell output from that?
Then wait a bit and do the same for:
adb shell bmgr backupnow --monitor-verbose eu.siacs.conversations
Sure. Here we go.
The backup
command did not output anything on the shell and conversations was not backed up again.
06-23 10:14:05.660 D/AndroidRuntime(20435): Calling main entry com.android.commands.bmgr.Bmgr
06-23 10:14:05.662 V/Bmgr (20435): Running backup for user:0
06-23 10:14:05.663 D/CompatibilityChangeReporter( 1507): Compat change id reported: 158482162; UID 2000; state: ENABLED
06-23 10:14:05.665 D/AndroidRuntime(20435): Shutting down VM
After backupnow
conversations got successfully backed up.
Shell:
➜ ~ adb shell bmgr backupnow --monitor-verbose eu.siacs.conversations
Running incremental backup for 1 requested packages.
Package @pm@ with result: Success
Package eu.siacs.conversations with progress: 512/8204800
Package eu.siacs.conversations with progress: 8704/8204800
Package eu.siacs.conversations with progress: 16896/8204800
Package eu.siacs.conversations with progress: 25088/8204800
Package eu.siacs.conversations with progress: 33280/8204800
Package eu.siacs.conversations with progress: 41472/8204800
Package eu.siacs.conversations with progress: 49664/8204800
Package eu.siacs.conversations with progress: 57856/8204800
Package eu.siacs.conversations with progress: 66048/8204800
[...]
Package eu.siacs.conversations with progress: 8207360/8204800
Package eu.siacs.conversations with result: Success
Backup finished with result: Success
Logcat:
06-23 10:19:34.708 D/KeyValueBackupTask( 1507): Starting full backups for: [eu.siacs.conversations]
06-23 10:19:34.709 I/PFTBT ( 1507): Initiating full-data transport backup of eu.siacs.conversations token: 761867389
06-23 10:19:34.736 I/FullBackup(20870): Perform full backup for eu.siacs.conversations.
06-23 10:19:34.743 D/ApkBackup(20870): Package eu.siacs.conversations with version 4205604 already has a backup (4205604) with the same signature. Not backing it up.
06-23 10:19:34.743 I/BackupCoordinator(20870): Get backup quota for eu.siacs.conversations. Is full backup: true.
06-23 10:19:34.743 I/BackupCoordinator(20870): Reported quota of 9223372036854775807 bytes.
06-23 10:19:34.746 D/BackupManagerService( 1507): [UserID:0] awaiting agent for ApplicationInfo{1b45abe eu.siacs.conversations}
06-23 10:19:34.768 D/BackupManagerService( 1507): [UserID:0] agentConnected pkg=eu.siacs.conversations agent=android.os.BinderProxy@5fc769c
06-23 10:19:34.768 I/BackupManagerService( 1507): [UserID:0] got agent android.app.IBackupAgent$Stub$Proxy@14a38a5
06-23 10:19:34.815 I/FullBackup_native(12965): measured [/data/data/eu.siacs.conversations/databases] at 0
06-23 10:19:34.816 I/FullBackup_native(12965): measured [/data/data/eu.siacs.conversations/databases/history] at 8200704
06-23 10:19:34.817 I/FullBackup_native(12965): measured [/data/data/eu.siacs.conversations/shared_prefs] at 0
06-23 10:19:34.817 I/FullBackup_native(12965): measured [/data/data/eu.siacs.conversations/shared_prefs/eu.siacs.conversations_preferences.xml] at 4096
06-23 10:19:34.822 I/FullBackup(20870): Check full backup size of 8204800 bytes.
06-23 10:19:34.825 I/file_backup_helper( 1507): Name: apps/eu.siacs.conversations/_manifest
06-23 10:19:34.825 I/FullBackup_native( 1507): measured [/data/cache/backup_stage/_manifest] at 2560
06-23 10:19:34.825 I/BackupRestoreController( 1507): Getting widget state for user: 0
06-23 10:19:34.825 D/BackupManagerService( 1507): Calling doFullBackup() on eu.siacs.conversations
06-23 10:19:34.831 I/FullBackup_native(12965): measured [/data/data/eu.siacs.conversations/databases] at 0
06-23 10:19:34.831 D/FullBackup(20870): Initializing OutputStream for eu.siacs.conversations.
06-23 10:19:34.831 I/file_backup_helper(12965): Name: apps/eu.siacs.conversations/db/history
06-23 10:19:34.899 I/NotificationService( 1507): Cannot find enqueued record for key: 0|at.bitfire.davdroid|12|https://###URL###//.SeedVaultAndroidBackup/1685464368644/.backup.metadata|10168
06-23 10:19:36.901 I/FullBackup_native(12965): measured [/data/data/eu.siacs.conversations/databases/history] at 8200704
06-23 10:19:36.902 I/FullBackup_native(12965): measured [/data/data/eu.siacs.conversations/shared_prefs] at 0
06-23 10:19:36.903 I/file_backup_helper(12965): Name: apps/eu.siacs.conversations/sp/eu.siacs.conversations_preferences.xml
06-23 10:19:36.905 I/FullBackup_native(12965): measured [/data/data/eu.siacs.conversations/shared_prefs/eu.siacs.conversations_preferences.xml] at 4096
06-23 10:19:36.915 I/FullBackup(20870): Finish full backup of eu.siacs.conversations.
06-23 10:19:38.108 I/BackupCoordinator(20870): Request full backup time. Returned 0
That's strange. So after this, did it continue to backup conversations on its own? Or is it still stuck?
Yes, stuck again. If triggered manually it works once. If triggered in the daily automatic interval it does not.
But other apps get backed up fine?
Looks like the only things getting backed up are:
-
/data/data/eu.siacs.conversations/databases/history
-
/data/data/eu.siacs.conversations/shared_prefs/eu.siacs.conversations_preferences.xml
Could it be that these simply don't change? Maybe try changing the preferences and see if it gets backup up in the next run?
Sorry for not responding back... I tried changing the settings without any success regarding the backup.
any news here @Flunkyball ?