`Seedvault Backup` always fails with `Backup quota exceeded`
keks24 opened this issue · comments
Hello!
I am using Seedvault Backup to backup my Apps and Harmonic
is the only one, that fails with the error:
Backup quota exceeded
Even after activating Unlimited app quota
, it still fails.
I guessed, that it may be correlated to high User data
and Cache
, but it seems to be not:
Before | After |
---|---|
It still fails after removing all User data
and Cache
:
According to this comment, the quota is 25MB
, so it should have worked after cleaning all files.
Versions:
OS: LineageOS 20-20230924-NIGHTLY-lemonade
OS build: lineage_lemonade-userdebug 13 TQ3A.230805.001 cb0b0dac59
Seedvault Backup: 13-3.3
Harmonic: 1.10
-Ramon
PS: The User data
is indefinitely growing; I need to clear it every three months or so
.
I know Harmonic can have quite high data usage but I never quite understood why. We cache the API responses for comments and such but with a hard maximum of 100 stories. I inspected my own device now and I had 500kb of SharedPreferences file but 9MB in App Data - a big differences but none crazy.
I've tried to reproduce this issue on an emulator, but backups work fine for me. Can you collect logs when running backup? adb logcat | grep -i backup
should have something like this:
BackupCoordinator: Get backup quota for com.simon.harmonichackernews. Is full backup: true.
10-03 21:09:15.456 2336 4144 I BackupCoordinator: Reported quota of 52428800 bytes.
10-03 21:09:15.458 594 6416 D BackupManagerService: [UserID:0] awaiting agent for ApplicationInfo{1a3c3d7 com.simon.harmonichackernews}
10-03 21:09:15.468 594 623 I ActivityManager: Start proc 6417:com.simon.harmonichackernews/u0a170 for backup {android/FullBackupAgent}
10-03 21:09:15.481 1514 2042 V MediaProvider: Inserted id:1000000344 less than next row id backup:1000001000.
10-03 21:09:15.550 594 767 D BackupManagerService: [UserID:0] agentConnected pkg=com.simon.harmonichackernews agent=android.os.BinderProxy@c82a3d8
10-03 21:09:15.550 594 6416 I BackupManagerService: [UserID:0] got agent android.app.IBackupAgent$Stub$Proxy@29bc331
10-03 21:09:15.554 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews] at 0
10-03 21:09:15.557 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_textures] at 512
10-03 21:09:15.558 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview] at 512
10-03 21:09:15.558 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/BrowserMetrics-spare.pma] at 4194816
10-03 21:09:15.559 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default] at 512
10-03 21:09:15.560 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/GPUCache] at 512
10-03 21:09:15.560 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/GPUCache/index-dir] at 512
10-03 21:09:15.560 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/GPUCache/index-dir/the-real-index] at 1024
10-03 21:09:15.560 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/GPUCache/index] at 1024
10-03 21:09:15.561 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/blob_storage] at 512
10-03 21:09:15.561 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/blob_storage/40dc21ce-533e-4046-866a-00867101e88a] at 512
10-03 21:09:15.561 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/Web Data-journal] at 512
10-03 21:09:15.561 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/Local Storage] at 512
10-03 21:09:15.561 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/Local Storage/leveldb] at 512
10-03 21:09:15.561 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/Local Storage/leveldb/CURRENT] at 1024
10-03 21:09:15.561 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/Local Storage/leveldb/000003.log] at 512
10-03 21:09:15.561 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/Local Storage/leveldb/MANIFEST-000001] at 1024
10-03 21:09:15.562 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/Local Storage/leveldb/LOCK] at 512
10-03 21:09:15.562 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/Local Storage/leveldb/LOG] at 1024
10-03 21:09:15.562 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/Default/Web Data] at 72192
10-03 21:09:15.562 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/pref_store] at 1024
10-03 21:09:15.562 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/webview_data.lock] at 1024
10-03 21:09:15.562 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/variations_stamp] at 512
10-03 21:09:15.562 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/app_webview/variations_seed_new] at 512
10-03 21:09:15.562 6417 6431 I FullBackup_native: measured [/data/user_de/0/com.simon.harmonichackernews] at 0
10-03 21:09:15.562 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/files] at 0
10-03 21:09:15.562 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/files/profileInstalled] at 1024
10-03 21:09:15.563 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/files/profileinstaller_profileWrittenFor_lastUpdateTime.dat] at 1024
10-03 21:09:15.563 6417 6431 I FullBackup_native: measured [/data/user_de/0/com.simon.harmonichackernews/files] at 0
10-03 21:09:15.563 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/databases] at 0
10-03 21:09:15.563 6417 6431 I FullBackup_native: measured [/data/user_de/0/com.simon.harmonichackernews/databases] at 0
10-03 21:09:15.564 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/shared_prefs] at 0
10-03 21:09:15.564 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/shared_prefs/WebViewChromiumPrefs.xml] at 1024
10-03 21:09:15.564 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/shared_prefs/com.simon.harmonichackernews_preferences.xml] at 1024
10-03 21:09:15.564 6417 6431 I FullBackup_native: measured [/data/data/com.simon.harmonichackernews/shared_prefs/com.simon.harmonichackernews.GLOBAL_SHARED_PREFERENCES_KEY.xml] at 1634816
10-03 21:09:15.564 6417 6431 I FullBackup_native: measured [/data/user_de/0/com.simon.harmonichackernews/shared_prefs] at 0
10-03 21:09:15.566 6417 6431 I FullBackup_native: measured [/storage/emulated/0/Android/data/com.simon.harmonichackernews/files] at 0
10-03 21:09:15.567 2336 4144 I FullBackup: Check full backup size of 5920256 bytes.
10-03 21:09:15.568 594 6435 I file_backup_helper: Name: apps/com.simon.harmonichackernews/_manifest
10-03 21:09:15.568 594 6435 I FullBackup_native: measured [/data/cache/backup_stage/_manifest] at 2048
10-03 21:09:15.569 594 6435 I BackupRestoreController: Getting widget state for user: 0
I have excluded all Apps in Seedvault Backup
, except for com.simon.harmonichackernews
, executed a backup and saved a log file.
The backup in general still fails, but for some reason - maybe due to some reboots in the meantime - I could backup the App (for) now:
Will see at which point the backup will fail again. User data
and Cache
are growing again:
![20231006T150842+0200_screenshot](https://private-user-images.githubusercontent.com/13721064/273225375-a7dcaea2-36f3-4a54-910f-a9e8f5f459c8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMDY4OTksIm5iZiI6MTcyMTIwNjU5OSwicGF0aCI6Ii8xMzcyMTA2NC8yNzMyMjUzNzUtYTdkY2FlYTItMzZmMy00YTU0LTkxMGYtYTllOGY1ZjQ1OWM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDA4NTYzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJjZmY1Y2M2Y2QwMjIwYTgwNWJmOGU0MDI1NTk3MDZiOGUwZTI5NzQzYWM0MjRlMGUzYWEyYmZiNmJlMDc1ODkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.m9dJ4YKKdPNbjXX6GME9QE1pAPqtQB-qor70Lt-OBK8)
Another update.
Since yesterday, User data
is at 80.95MB
and Cache
at 40.10MB
.
Backups are failing again.
It may be worth mentioning my settings, in order to replicate this weird behaviour:
Category | Setting | Status |
---|---|---|
Theme | Theme | Material You (light) |
Special nightime theme | on |
|
Timed range | 18:00 - 07:00 |
|
Nighttime theme | Material You (dark) |
|
Display | Default starting page | Top Stories |
Compact stories | on |
|
Show story thumbnails | on |
|
Show story points | on |
|
Show story indicies | off |
|
Compact header | on |
|
Left align comments button | on |
|
Enable foldable support | on |
|
Transparent status bar | off |
|
Favicon provider | DuckDuckGo |
|
Highlight hot stories | Points + comments > 100 |
|
Title and comment font | JetBrains Mono (monospace) |
|
WebView | Integrated WebView | on |
Preload websites | Never |
|
Match WebView dark mode to theme | off |
|
Block WebView ads | off |
|
Show expand button in bottom sheet | on |
|
Use device back for WebView back | on |
|
Comments | Comments text size | Standard (15 sp) |
Comment sorting | Default |
|
Hide text of collapsed comment | on |
|
Auto-collapse top level comments | off |
|
Show naviation buttons | on |
|
Monochrome thread indicators | off |
|
Show top level thread indicators | on |
|
Always open comments | off |
|
Disable swipe back from comments | off |
|
Animate comments | on |
|
Scrollbar | off |
|
General | Use external browser | off |
Filter stories | empty |
|
Hide job posts | off |
|
Hide clicked posts | on |
|
Export bookmarks | None saved |