Seedvault Backup

Seedvault is a backup application for the Android Open Source Project. The following configuration will enable the Seedvault:

{
  apps.seedvault.enable = true;
}

Backing Up

Normally, the settings for the Seedvault backup application is available under "Settings -> System -> Backup". However, if you have flashed a new ROM including Seedvault over one which did not have Seedvault initially (without wiping userdata), you may need to manually set the backup transport using adb.

$ adb shell bmgr enable true
$ adb shell bmgr transport com.stevesoltys.seedvault.transport.ConfigurableBackupTransport

Restoring

The GrapheneOS and LineageOS flavors provide the option to use Seedvault upon first boot using the SetupWizard. The vanilla flavor currently does not use SetupWizard, so the restore activity must be manually started using:

adb shell am start-activity -a com.stevesoltys.seedvault.RESTORE_BACKUP

See the following issue: seedvault#85