added backup rules
This commit is contained in:
parent
aebafceb6a
commit
741e7f6c73
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue