added backup rules

This commit is contained in:
Holger Müller 2022-04-09 12:07:35 +02:00
parent aebafceb6a
commit 741e7f6c73
2 changed files with 14 additions and 9 deletions

View File

@ -3,8 +3,10 @@
<full-backup-content>
<!-- The following "exclude" elements are not part of the auto backup -->
<!--exclude domain="database" path="name.db" /-->
<exclude domain="root"/>
<!-- Exclude specific shared preferences that contain GCM registration Id -->
<!-- The following "include" elements are part of the auto backup -->
<!-- include domain="sharedpref" path="."/-->
<include domain="sharedpref" path="."/>
<include domain="database" path="."/>
</full-backup-content>

View File

@ -2,11 +2,14 @@
<!-- Targeting Android 12 or higher -->
<data-extraction-rules>
<cloud-backup disableIfNoEncryptionCapabilities="true">
<!--include domain=["file" | "database" | "sharedpref" | "external" | "root"] path="string"/-->
<!--exclude domain=["file" | "database" | "sharedpref" | "external" | "root"] path="string"/-->
</cloud-backup>
<device-transfer>
<!--include domain=["file" | "database" | "sharedpref" | "external" | "root"] path="string"/-->
<!--exclude domain=["file" | "database" | "sharedpref" | "external" | "root"] path="string"/-->
</device-transfer>
</data-extraction-rules>
<!--include domain=["file" | "database" | "sharedpref" | "external" | "root"] path="string"/-->
<!--exclude domain=["file" | "database" | "sharedpref" | "external" | "root"] path="string"/-->
<exclude domain="root"/>
<include domain="sharedpref" path="."/>
<include domain="database" path="."/>
</cloud-backup>
<device-transfer>
<include domain="root"/>
<!--exclude domain=["file" | "database" | "sharedpref" | "external" | "root"] path="string"/-->
</device-transfer>
</data-extraction-rules>