App Backup To Zip Mediastore

Back an app up into one zip that lands in the user's own Downloads folder with no storage permission, keeping only the newest N archives. Covers checkpointing the database's write-ahead log before the file is copied, assembling the archive in cache first, inserting through the system media store, and pruning old archives with a query over that same collection. Android only. Use when a restored backup is missing the most recent writes, when the backup file is invisible to the user's file manager, or when old backups accumulate forever.

maxrave-dev 0f09a31 7.0 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/app-backup-to-zip-mediastore commit 0f09a3199b

Frequently asked questions

npx skillmds@latest add maxrave-dev/app-backup-to-zip-mediastore