Skip to content

feat(rootfs): add manual checkpoint backup and restore - #48

Draft
mohit-kota wants to merge 1 commit into
RandomCoderOrg:mainfrom
mohit-kota:codex/rootfs-checkpoints
Draft

mohit-kota wants to merge 1 commit into
RandomCoderOrg:mainfrom
mohit-kota:codex/rootfs-checkpoints

Conversation

@mohit-kota

Copy link
Copy Markdown
Contributor

Summary

  • add distro-level Backup and Restore actions
  • export rootfs checkpoints as .tar.xz without mounted Android data
  • stage, health-check, and recoverably swap rootfs on restore while preserving system settings

Safety

  • require terminals, apps, and the desktop to be stopped
  • block runtime launch during an active checkpoint operation
  • exclude Android and uDroid runtime paths and never extract directly over the active rootfs
  • recover interrupted rootfs swaps on the next app start

Validation

  • ./gradlew :app:testDebugUnitTest
  • ./gradlew :app:lintDebug
  • ./gradlew :app:assembleDebug

Closes #45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I want a backup and restore point feature for my Linux system.

1 participant