Prior to Google automatically backing up everything, I used Titanium Backup.
I've found Swift Backup pretty much fills the same role at TB.
It sounds like you want Photos to somehow merge that added metadata back into the image files, altering them. I'm quite confident that there would be an equal number of people complaining about changing their originals, if photos did that.
Are you using Google Authenticator?
If so, how do you backup your secrets?
On top of that now Google backs those up for you too.
Syncthing synchronises these backups to my home server automatically, as well as the phone's user data (photos, mainly).
The photos are additionally sent to Photoprism.
I avoid Google's cloud as much as I can.
I used Nextcloud sync in the past, but found it unreliable.
Two alternatives exist:
1. Syncthing-Fork (https://github.com/Catfriend1/syncthing-android) - Works just like the official app. Install from F-Droid or GitHub. Single developer but active.
2. Syncthing in Termux - Run the actual Syncthing program in Termux. Takes more setup but uses the standard version.
The fork is easier to use, while Termux needs more setup but gives you the standard Syncthing experience.
What was wrong about nextcloud sync? I'm just about to set it up for myself.
With Syncthing, I sync to a directory that my Nextcloud user can access (a read-only mount), so I can still easily share photos using Nextcloud, for example.
(although it's unfortunate that the Android syncthing app is being retired. h/t for the heads up and the recommended alternatives)
It does help sometimes for retrieving some data manually by digging through the backup files (used it recently for retrieving all invoices from a service that were otherwise only available one by one through a painfully complicated process).
(Useful even if not … WhatsApp search is abysmal, the db file is much more useful)
Some banking apps just work - two with warning on first launch, and one just doesn't care at all.
Two refuse to run and I have an old unrooted phone for them. Resulting in me being a good customer of those three banks that are not fussy.
So try and see, perhaps things just work!
The French and Belgian identity apps (France Identité and itsme) don't work though. When I really need them (which is rare) I have to use an old phone that's not rooted.
A problem in and of itself: brittle when upgrading, won't work with you banking app, etc...
I haven't had to touch it in about a year, but some apps may try harder to keep people from having control of their own devices.
App backup? who cares? This was a chance for me to see what's new on F-Droid and it's been great (lookin' at you keyboard.futo.org).
I back up my photos using termux, rsync, and rsync.net. This model seems pretty solid. I should extend it to app data, but I don't have an automated way to back up app data yet. It's just a thing I have to do when I think of it, which is a recipe for disaster.
I'm taking syncthing out of the picture. I was using it to share markdown, html and some graphics between devices and my phone, but I regularly end up diffing .conflict files. I hope to get better behavior from Nextcloud.
Still, I'm the same happy guy I was before December 30 so I think a few manual app data back-ups, back-ups for non-photo content to Nextcloud so I can share it between devices more easily, and the same old rsync stuff for photos should work great.
This is a common workflow.
In addition to termux/rsync we do see a number of people using syncopoli.
FWIW, my personal phone is an iphone and I use the excellent 'iexplorer' to browse the phone as if it were a filesystem.
https://troyvit.net/2023/01/backing-up-android-to-rsync-net/
It has one error. termux-job-scheduler isn't a separate install.
This helps mitigate ransomware, and escalation (e.g. reading previously backed up files) attacks.
[0] https://www.openwall.com/lists/oss-security/2024/04/08/8
[1] https://gitlab.com/fdroid/fdroiddata/-/issues/3110#note_1613...
[2] https://gitlab.com/ironfox-oss/IronFox/-/issues/7#note_22877...
That said, if I don't use the old phone to pull "the data" Google will not transfer more important things (Wi-Fis), settings etc.
Does it not work like that for you?
I've only gone from Nexus to Pixel to Pixel though (all Google phones) so maybe that's why?
Is like a new phone besides contacts/mails/photos, the rest (besides the pre-installation) is like I never used the apps on the phone.
From having to login to having to re-configure everything.
It's a mess and I don't understand that Google hasn't fixed that.
https://support.google.com/android/answer/2819582?hl=en
It doesn’t work like iCloud where everything is backed up - even private app data?
I am looking through my apps and most of them are clients for server side functionality or productivity apps that use iCloud Drive, OneDrive or Google Drive.
Google Photos would take care of videos and photos and Contacts and calendars use standard syncing protocols.
After dismounting it in the Settings app (Advanced menu), I plug it into my computer and copy any files over I want to store there too (e.g., Pictures).
On my phone, the Nextcloud app is installed, and that takes care of the photo/video/downloaded file "cloud" sync, and DAVx5 takes care of calendar, contacts, todo. Nextcloud, with additional apps, can also do Kanban, multimedia notes.
Now, of course, we can look at more stringent approaches to backing up data, which I already do, but for some reason I didn't elaborate on the original comment. My home server uses ZFS as storage, and I snapshot that from time to time, and I sync those snapshots to another, otherwise offline ZFS storage. The true 3-2-1 I still don't achieve, because both the online and the offline copies are at the same site, but I opted to take this risk.
I am not familiar enough with nextcloud but what happens if - excluding your home server setup - you modify a picture on your smartphone and overwrite it? I guess it is synchronized to the nextcloud server in modified form and replace the original file, right[1]? If so what if you were to realize you screwed up and should not have overwritten it? Hence the reason I am saying it is not exactly a backup.
[1] that would be the behavior I expect of a syncing mechanism, I use syncthing-fork myself for that.
https://wiki.termux.com/wiki/Remote_Access
and apps I use the internal Google mechanism.
Takes less than a minute It's well worth doing from time to time.
- connect to my network: Wireguard (encrypted tunnel)
- keep out unwanted content: Adaway (hosts-based content blocker), AFWall (firewall configuration)
- access control to my own and other services: Aegis (TOTP app, configuration is synced to the server)
- access services on my own server: Nextcloud (sync), DavX5 (contacts, agenda), K9 (mail), Conversations (messaging), DSub (audio), Antennapod (netcasts, syncs with gpodder on Nextcloud), Audiobookshelf (audio book player), M.A.L.P (controls several MPD instances around the premises), zmNinja (Zoneminder viewer, used for video surveillance around the farm), Timelimit (access controls for my 13yo daughter's devices), Librera Reader (eBook reader, connects via OPDS to archive on server)
- add the few proprietary applications needed: BankID (Swedish electronic ID), DigiD (Dutch electronic ID), DB Navigator (German railway app), NS reisplanner (Dutch railway app), Västtrafik To Go (Swedish railway app for western Sweden). These all connect to accounts on remote services and do not keep local state so backups are not needed, for the first two backups are not even useable on other hardware since their state is directly connected to the IMEI and/or IMSI of the local device.
Once configured I make a backup in the recovery (TWRP, PBRP etc) which I sync to the server. After that I only make backups after more radical changes to the device, e.g. when I install a new distribution. The rationale for this is that it is always possible to recreate the device from 'scratch' by following the above steps, these are scripted for a number of devices. All personal data ends up on the server (currently a DL380 G7 running Proxmox) which gets backed up daily. If and when a device breaks or gets lost in some way I can recreate it after repairing or replacing the hardware and firmware.
Apart from the mentioned proprietary apps there is no data leakage outside of my own network.
We really need more folks to hack on their phones and set/spread a good example.
Otherwise "general computing" will be replaced by landlords.
The concept of a landlord may be traced back to the feudal system of manoralism (seignorialism), where a landed estate is owned by a Lord of the Manor...
There are still a scary few "I use adb" or "I copy the data over MTP"
Sadly, not everything on the phone is visible to those two. IIRC, [MS]MS logs aren't (I might be wrong here though) and if you use Google Authenticator, your OTPs aren't, which I learned the hard, hard way.
I need to root my phone.
Wild to learn about the OTPs, I'll need to take a look and (likely) rectify that security hole since I manage my backups myself (at enrollment time the keys go in escrow).
I sign into my Apple account, pay Apple for more storage and everything gets backed up that’s on my iPhone and iPad.
When I get a new phone, I log in while I’m at the Apple Store, wait for everything to be restored, wipe my old phone and give it back to Apple for a carrier discount or a discount from Apple.
Life is too short to do otherwise. I work with computers 40 hours a week in exchange for money that I then exchange for goods and services.
Backblaze costs me about $100/year for the ~2TB of data I store there.
I got my LTO-6 drive for free from my employer after we upgraded to LTO-8.
I got a 20-pack of new LTO-6 tapes from eBay for $100, and have no idea what to do with the remaining 42.5TB of space. I guess after several years of rotating my existing tapes, I should start using new ones.
I use kde connect to backup the first two, and store keys at time of creation instead of scanning QR code for the last one.
Which then gets into my NAS / 3-2-1 manual backup process.
You would be missing all of that
Anything interesting I download, pdfs etc periodically I'll backup to the NAS before I retire a phone. Anything that's not photos I just assume are destroyed when I upgrade and that's fine I don't keep anything else on my phone.
The NAS for backing up my desktop has been very freeing, dumping my Documents folder to the network and installing a fresh copy of Linux or whatever is very freeing.
If I change phone I log into Google, start from scratch and download the apps I need / log in wherever I need the first time I need to.
I'm not very happy with using Google / Gmail for contacts and as a login manager, I've been postponing de-googling for 5+ years. The only promise I made to myself is that I'm not giving them a cent (and I keep living with 3% free space).
Everything else like contacts, sms, software backups goes to the cloud.
Everything else is backed up through their respective services, such as Gmail, and I just don't have an interesting enough digital life to have much else to backup.
Git works fine with Termux.
In previous versions of Android it was possible for apps to store data in an arbitrary folder on the device (if the user granted the relevant permission).
That resulted in it being quite difficult for the OS to identify which files and folders related to any single app.
In more modern versions of Android, most apps are no longer allowed to write wherever they want, and are encouraged to only store data in a private folder (like iOS).
A backup system is now present that can back things up in a manner to iOS, but it's limited to 25MB per app, and some apps opt out:
I understand that some data is considered cached and shouldn’t be backed up. But Android already allows that.
> Auto Backup excludes files in directories returned by getCacheDir(), getCodeCacheDir(), and getNoBackupFilesDir(). The files saved in these locations are needed only temporarily and are intentionally excluded from backup operations.
Overall though, this has been a solved problem since 2010 on iOS. True you only get 5GB of iCloud storage by default. But you can pay for more or use iTunes for local backup
My understanding is that this was the same for Apple until they added e2e encrypted backups, but Apple users seem much less sensitive to privacy violations done by Apple (which is probably reasonable given that Apple is not as focused on profiting off of data)
Even then, I don't see why the PC can't back up the whole phone.
I also took that setup to allow me to sync some selected media back from the NAS to my phone.
This way I am not reliant on cloud services as the primary store of my personal data, and I don't have to use their export tools to get my data back. I back up the original sources directly from the phone to my own infrastructure.
MyPhoneExplorer is Windows only but works via wifi.
I'm thinking about switching to nextcloud / ente.io but this will take some time.
Another thing I'd like to check out is KDE connect.
It pretty much just works with little manual involvement.
Google's own backup service for normal backups. When I was rooted I used titanium backup but that was ages ago.
And then a lot of apps that have data that I care about have an export/import functionality, so I can just copy those over without much hassle.
Additionally I sync my calendar and contacts with davx. Same as before, backup is done on the server itself.
I don't see the point making a backup of installed apps and their local config.
Everything else is either account-based, or can backed up using Seedvault (a backup solution integrated into AOSP, and therefore present in GrapheneOS)
Google photos for images, and a periodic download to my computer of original sized images (then backed up to other locations).
Any other data worth storing is placed in my persona Nextcloud instance (backed up via BorgBackup to an offsite location multiple times a day).
Probably the most difficult to solve for is Google Photos. Google offers 15 GB, and this gets filled up really fast if you take a lot of photos and videos. I don't, but still with every phone upgrade I've tried to move all files over to my new device, which results in space running out quite quickly. On top of that, Photos is actually _really_ nice. It works seamlessly, and offers features like facial recognition out of the box.
Anyway, I tried 3 different options - Nextcloud, Syncthing, and Immich.
Nextcloud was a little too complicated to setup, even with docker. Wasn't impressed by it.
Syncthing had an issue with Android app support. I think there are a couple of forks, but I didn't want to rely on that.
Immich was what I finally settled on. It is photos/videos specific, so doesn't work as a general purpose backup but I was more than happy just solving for this. My Google storage was being used roughly half and half by Email and Photos. Solving for half was good enough! On the plus side, Immich is a really impressive Google Photos replacement, and behaves almost exactly the same as the Google app, and has advanced features like facial recognition, dupe detection etc.
For email, contacts, SMS etc, I'm still relying on native Google backup.
Finally, there was Whatsapp. I had disabled Google backup a while ago, but wanted to preserve the photos from it. For that, I configured Immich to sync the whatsapp images folder with my library, and that's been working perfectly well.
Restoring took about 15 minutes. It restores everything from apps data to system settings.
Used to do complete system mirrors with lower level backup solutions, but gave up, when I realized, that I won't be restoring it to a phone anyways.
It has the similar feel to iTunes for the iphone.
Restoring all app data and configuration would probably take me several days. The fact that Android still doesn't offer an equivalent to iTunes local backups of iOS devices was one of the reasons I switched.
If someone likes their layout, perhaps the config of their launcher.
So it's a shitshow as usual with Android, it all depends on the app. My weight lifting app it can backup on Google cloud. Great. My 2Fa on the other hand it only backup to the 'external' storage, need to transfer it to the computer then. Some app don't have backup option. Some app give backup option but then break when you restore it, like moon reader. Some books just disappeared from the backup.
And so on, and so on.
At the end I focus on photo, obsidian vault and 2fa. Everything else is just bonus if I backed it up.
How do you figure Google's backup (which backs up contacts, messages, photos, mail, and remembers which apps you have installed) is bad? What more could it do or should it do in your opinion? Also Google Authenticator now backs up to your account and you can recover it through a logged in browser.
That hasn’t been true since 2011 with iOS 5.
I remember it well. I upgraded my iPhone 4 on AT&T with iOS 5 using iTunes. Shortly afterwards, I had an iPhone 4s shipped to me from Verizon.
I logged into my Apple account on my iPhone 4s and after it restored everything, it looked and worked just like my iPhone 4 with all of the settings and app icon positions bring in the same place.
There is also internal app data that gets backed up
It uses Google. I have servers, desktops, laptops and phones, all of which are computers and all of which are on a local network. It should be possible for me to move all the data on my phone to a server, desktop, laptop or other phone without once sending a single byte outside of my network.
Apple's supported full iCloud backups and over-the-air restore for at least 11 years, maybe 13 years.
it might be better than android's backup system, but it still leaves a lot to be desired.
What do you think you lose?
But yeah, I guess Google isn't backing up the state of the offline chess app I downloaded 10 years ago...
The problem is that when a new or wiped device installs those apps again, they won't have any of their account or configuration data. Even with a password manager to help, logging back in and configuring my preferences is a tedious, all-day affair. In years past, there were ways to transfer account data, but they stopped working a long time ago. I am eager to find a solution to this that works without root and on modern Android.
I should be able to toss my phone in a river, buy a new one and get it back exactly the way it is.
Syncthing handles the stuff which matters to me, but it can't get apps back exactly the way they were.
Story from a few years back: I have an old Samsung Galaxy I needed to migrate off of. As I recall, the only way to back up all the important data without involving trusted cloud infra was unlocking the bootloader and using TWRP. Don't recall if rooting was also part of the process - I think I wanted to back up before attempting rooting and later actually reflash it. Somehow I think I managed to trip a hardware fuse in the process because the device bricked and I'm not sure if I will ever be able to get at that data or if it's already gone forever...
Especially infuriating that what caused the full data loss was an attempt to back it up!
I'm so done with combating malicious manufacturers and OSs.
It is why I like a low end Samsung android. It is borderline disposable and I would never view it as more than temporary storage. Works until it breaks or I lose it then start over. In the meantime, if something is that important it mounts easy in linux and I copy over what I want to save.
phones are treated as disposables
including all data around it
simpler that way
For contacts, I use DAVx⁵ to sync with a Nextcloud install on my NAS. All my family's phones do this and it makes it super easy to add and edit contacts sitting at the desktop instead of in the phone (I hate typing on the phone and avoid it where I can).
For calendar I use Google calendars. Again, whole family uses and we share via that. If I was to shift I would probably look at DAVx⁵ and Nextcloud like contacts, but syncing when away from the home network may be more of an issue here. (Business Calendar is my preferred calendar app currently - although I believe they may have switched to a subscription model since I bought it.)
Messages and call logs are backed up by Swift Backup (more on that below).
I'm a Bitwarden user so that takes care of passwords and TOTP.
I use Foldersync to do a two-way sync of photos (the DCIM folder, and other photo folders) between my phone and the NAS via SFTP, when on the home wifi. It does a really good job of this I've found.
For actual application backups I use to use Titanium Backup which I'd previously found very good. Unfortunately it appears to no longer be maintained as the last update in the Play store was 2019 and it definitely does not work with Android 13 and later.
These days I have three different backups running. I started with Neo Backup which is okay although instability earlier in its development made me want an alternative. That's when I came across Swift Backup which has a bit more of a solid feel to it. At some point I saw a Lineageos blog post about Seedvault so turned that on too. The backup files for all three are sent to my NAS via Foldersync just like photos.
I'm going to be away from home for five weeks later this year and am pondering if I want to stress about off-phone backups for that time. I might look at using Folder Sync to some other target, or think about using Syncthing Fork. That said, a five week old backup is probably going to be 95% okay to maybe not worry too much.
--
So how was restoring? It was still painful to be honest.
The good:
Seedvault restored the data on probably half my apps. Could not really figure out the whys as to which it did and which it didn't. It was disappointing in that regard.
I can't remember if it was Seedvault or Swift Backup, but restoring messages was not a drama.
Most other apps I could restore from either Swift Backup or failing that, Neo Backup.
The Bad:
Some account details, mainly the DAVx⁵ ones, I had to re-enter again by hand. Fortunately I've documented the URLs and configuration settings this time to make it easier in the future.
I still had to go through each app and check it was working as expected and had my data. Sometimes had to completely uninstall the Seedvault version and restore from Swift Backup or Neo Backup to get the data. I think a couple of apps I had to install fresh from the Play store or F-droid before doing just a data restore, or there was no way to restore data.
All in all it was a lot of frigging about.
Lessons learned:
Redundancy is good! I would recommend Swift Backup and at least one other backup - be it Seedvault, Neo Backup, Google or another option.
Doing a comprehensive restoration is time consuming! There is no click-and-restore-the-whole-phone solution which is a pain.
Currently, root access seems to be needed for even a decently reliable backup.
And before you ask: I've used Magisk in the past, but have tried out Apatch which fills a similar role with hte new phone and feels a bit easier to deal with. That, along with chiteroman/PlayIntegrityFix gets Google Wallet and some other apps working for me, but it is an annoying arms race.
I also use Netguard as my network firewall - don't have a phone without one. Used Afwall+ on my previous phone but was flaky on the new one so went with the second choice.