add webdav authored by Roland Alton's avatar Roland Alton
### backup with Orangefox
https://wiki.orangefox.tech/en/guides/backups
remove encryption before backing up data
### how to backup with Magisk
When using a smartphone _without_ Google account, you need to take care of backups yourself. For data like calendar, contacts or pictures this works nice with a nextcloud and is even built into the [e.foundation](https://e.foundation) operating system. However, when it comes to migrating all apps from one smartphone to another, then you either install them from scratch or perform a backup and restore.
To do so, your phone needs to be unlocked and requires a recovery (TWRP or OrangeFox). You root it with `Magisk`, then you install OAndBackupX and select apps (including all data) you would like to save.
1. download Magisk to Laptop https://github.com/topjohnwu/Magisk/
1. rename apk to zip
1. copy via USB to external SD
1. boot into recovery (PowerOn+VolumeUp)
1. install magisk_nnn.zip
1. reboot
1. install Magisk App
1. allow in setting root for apps
1. install OABX (OAndBackupX) from [f-droid app store](https://f-droid.org/)
1. select folder (use e.g. nextcloud Devices/backup or SD card)
1. set password (put that e.g. in your keepass to remember)
1. put android internal apps in blacklist
1. start saving a backup
### restoring
Now we can restore all apps and settings to another device. Just perform the same steps as above so that `OAndBackupX` can start with root privileges. Then configure the storage folder (same nextcloud or SD card folder) and wait for a minute or so. Apply filters and restore.
Titanium backup seems too old and does not work properly.
### shell scripts
When using a smartphone _without_ Google account, you need to take care of backups yourself.
### WebDav Backup
For data like calendar, contacts or pictures this works nice with a Nextcloud and is built into the [e.foundation](https://e.foundation) operating system.
Use WebDav as connector, as the nextcloud app may have the wrong version. Define a seed and put in your keepass.
### backup with Orangefox
https://wiki.orangefox.tech/en/guides/backups
remove encryption before backing up data
### how to backup with Magisk and OandBAckupX
When it comes to migrating all apps from one smartphone to another, then you either install them from scratch or perform a backup and restore with root privileges.
To do so, your phone needs to be unlocked and requires a recovery (TWRP or OrangeFox). You root it with `Magisk`, then you install OAndBackupX and select apps (including all data) you would like to save.
1. download Magisk to Laptop https://github.com/topjohnwu/Magisk/
1. rename apk to zip
1. copy via USB to external SD
1. boot into recovery (PowerOn+VolumeUp)
1. install magisk_nnn.zip
1. reboot
1. install Magisk App
1. allow in setting root for apps
1. install OABX (OAndBackupX) from [f-droid app store](https://f-droid.org/)
1. select folder (use e.g. nextcloud Devices/backup or SD card)
1. set password (put that e.g. in your keepass to remember)
1. put android internal apps in blacklist
1. start saving a backup
### restoring with OAndBackupX
Now we can restore all apps and settings to another device. Just perform the same steps as above so that `OAndBackupX` can start with root privileges. Then configure the storage folder (same nextcloud or SD card folder) and wait for a minute or so. Apply filters and restore.
Titanium backup seems too old and does not work properly.
### shell scripts
XDA hosts some [nice scripts](https://forum.xda-developers.com/t/tools-zips-scripts-android-backup-and-restore-tools-multiple-devices-platforms.4016617/), that do thr same job without the need to install an extra backup app.
\ No newline at end of file