android: be stricter about system backups
we should also exclude D2D because it results in a broken store probably due to KeyStore Fixes #https://github.com/tailscale/tailscale/issues/732 Signed-off-by: LucasMZ <git@lucasmz.dev>pull/654/head
parent
87f0e9754b
commit
0dec9c95e1
@ -0,0 +1,9 @@
|
||||
<?kml version="1.0" encoding="utf-8"?>
|
||||
<!-- data_extraction_rules but for devices below Android 12 -->
|
||||
<full-backup-content>
|
||||
<exclude domain="root"/>
|
||||
<exclude domain="file"/>
|
||||
<exclude domain="database"/>
|
||||
<exclude domain="sharedpref"/>
|
||||
<exclude domain="external"/>
|
||||
</full-backup-content>
|
||||
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Do not allow system backups, including in device-transfer which ignores allowBackup, to not break Tailscale when restoring -->
|
||||
<!-- It would be nice to have only preferences backed up or some mechanism in-app to solve issues caused by KeyStore not being backed up -->
|
||||
<data-extraction-rules>
|
||||
<cloud-backup>
|
||||
<exclude domain="root"/>
|
||||
<exclude domain="file"/>
|
||||
<exclude domain="database"/>
|
||||
<exclude domain="sharedpref"/>
|
||||
<exclude domain="external"/>
|
||||
</cloud-backup>
|
||||
|
||||
<device-transfer>
|
||||
<exclude domain="root"/>
|
||||
<exclude domain="file"/>
|
||||
<exclude domain="database"/>
|
||||
<exclude domain="sharedpref"/>
|
||||
<exclude domain="external"/>
|
||||
</device-transfer>
|
||||
</data-extraction-rules>
|
||||
Loading…
Reference in New Issue