Restoring from a SeedVault backup stored in Nextcloud
On Android thereβs a nice open source backup tool written by the cool folks at The Calyx Institute, called SeedVault. It backs up your apps and all of their settings, and re-installs your settings when you re-install an app. Itβs cool, itβs good.
You can store your backups in a few different places: the phone, a usb stick plugged into the phone and Nextcloud.
On CalyxOS, GrapheneOS and LineageOS there is a section of the install process that offers to let you restore from your Seedvault backup. However, you donβt have Nextcloud installed yet when youβre at that part of the install. The installer promises to let you install Nextcloud, but it seems to try to do that using Google Play, which you donβt have. So instead it just crashes. And when you continue the install you can no longer restore from the back-up β going into the settings and selecting Backups starts the process of creating new backups.
So, hereβs the process:
- Install GrapheneOS
- Skip restoring from backup
- Download and install F-Droid
- Install Nextcloud from F-Droid
- Log into Nextcloud
- Enable Developer Options on your phone
- Enable USB Debugging, and allow your phone
- From computer:Β
adb shell am start-activity -a com.stevesoltys.seedvault.RESTORE_BACKUP - On the phone: tap Nextcloud
- Watch βLooking for backupsβ for a while
- SeedVaultΒ appears to exit, but do this again:
adbΒ shellΒ amΒ start-activityΒ -aΒ com.stevesoltys.seedvault.RESTORE_BACKUP - Now you should be able to enter your backup passphrase and enjoy all your apps coming home again