Skip to content

Commit fa4e2a5

Browse files
committed
fix: exclude more domains from being backed up by the system
tries* to fix #3465
1 parent b926f5f commit fa4e2a5

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

app/src/main/res/xml/backup_rules.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@
99
-->
1010
<full-backup-content>
1111
<exclude domain="root" path="." />
12+
<exclude domain="file" path="." />
13+
<exclude domain="database" path="." />
14+
<exclude domain="sharedpref" path="." />
15+
<exclude domain="external" path="."/>
1216
</full-backup-content>

app/src/main/res/xml/data_extraction_rules.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,16 @@
1010
<data-extraction-rules>
1111
<cloud-backup>
1212
<exclude domain="root" path="." />
13+
<exclude domain="file" path="." />
14+
<exclude domain="database" path="." />
15+
<exclude domain="sharedpref" path="." />
16+
<exclude domain="external" path="."/>
1317
</cloud-backup>
1418
<device-transfer>
1519
<exclude domain="root" path="." />
20+
<exclude domain="file" path="." />
21+
<exclude domain="database" path="." />
22+
<exclude domain="sharedpref" path="." />
23+
<exclude domain="external" path="."/>
1624
</device-transfer>
1725
</data-extraction-rules>

0 commit comments

Comments
 (0)