MASTG-BEST-0004: Exclude Sensitive Data from Backups
Content in BETA
This content is in beta and still under active development, so it is subject to change any time (e.g. structure, IDs, content, URLs, etc.).
For the sensitive files found, instruct the system to exclude them from the backup:
- If you are using Auto Backup, mark them with the
exclude
tag inbackup_rules.xml
(for Android 11 or lower usingandroid:fullBackupContent
) ordata_extraction_rules.xml
(for Android 12 and higher usingandroid:dataExtractionRules
), depending on the target API. Make sure to use both thecloud-backup
anddevice-transfer
parameters. - If you are using the key-value approach, set up your BackupAgent accordingly.