Earlier quoted context omitted.
I wrote a how-to! https://troyvit.net/2023/01/backing-up-android-to-rsync-net/ It has one error. termux-job-scheduler isn't a separate install.
One extra tip is to use rrsync to restrict which folders your rsync client can read/write to: https://b.tuxes.uk/termux-rsync-photos.html This helps mitigate ransomware, and escalation (e.g. reading previously backed up files) attacks.
Ask HN: How do you backup your Android?
191–200 of 227 posts
Re: Ask HN: How do you backup your Android?
#192Genuine question: what do you feel the need to backup other than photos?
If someone likes their layout, perhaps the config of their launcher.
Re: Ask HN: How do you backup your Android?
#193All the stuff I care about is all backed up in some form (photos to Google Photos, emulator game saves through Syncthing between my decices, contacts in Google Contacts, emails are in Gmail, credentials through Bitwarden, etc).
I can literally throw my iPhone in the ocean, buy another phone, log in to my Apple account and my new phone looks and works just like the old one with all of the settings, Home Screen app placement, widgets being in the same place and local app data being restored. You would be missing all of that
Re: Ask HN: How do you backup your Android?
#194Having switched phones a couple of months ago, there didn't seem to be a good option. Either you need to have root - which means that most banking apps won't work anymore -, you need to backup to the cloud which a) not every app supports and b) I don't want to do for more private data, or you need to use the backup API that however some apps also don't support. It's a mess and I don't understand that Google hasn't fi…
What’s wrong with their built in support? https://support.google.com/android/answer/2819582?hl=en It doesn’t work like iCloud where everything is backed up - even private app data?
Re: Ask HN: How do you backup your Android?
#195Earlier quoted context omitted.
This never once worked for me with app data. I always have to set up apps from scratch.
What is app data? I guess maybe everything I use is already in the cloud anyway, so I never noticed that?
Re: Ask HN: How do you backup your Android?
#196Earlier quoted context omitted.
The problem with Takeout is it removes the metadata from your photos. Google wants you locked in to Google Photos. Years ago they also removed the ability to sync with Google Drive, so the only way to get your photos out without losing metadata is to download them directly from photos.google.com, 50 at a time
AFAIK Takeout + Photos returns the original image file exactly as it originally existed, EXIF intact. Any additional metadata you have added manually is placed in a JSON file with the same name, adjacent to the image file. 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 cha…
Re: Ask HN: How do you backup your Android?
#197Earlier quoted context omitted.
I see your point, but from the perspective of the Android phone, this is already a backup. This is because if I lose the phone, I can restore the important parts of its state from the copy on the server - which is the definition of a backup, according to Wikipedia for example. 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…
>I see your point, but from the perspective of the Android phone, this is already a backup. This is because if I lose the phone, I can restore the important parts of its state from the copy on the server - which is the definition of a backup, according to Wikipedia for example. I am not familiar enough with nextcloud but what happens if - excluding your home server setup - you modify a picture on your smartphone and…
Re: Ask HN: How do you backup your Android?
#198Earlier quoted context omitted.
I see your point, but from the perspective of the Android phone, this is already a backup. This is because if I lose the phone, I can restore the important parts of its state from the copy on the server - which is the definition of a backup, according to Wikipedia for example. 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…
>I see your point, but from the perspective of the Android phone, this is already a backup. This is because if I lose the phone, I can restore the important parts of its state from the copy on the server - which is the definition of a backup, according to Wikipedia for example. I am not familiar enough with nextcloud but what happens if - excluding your home server setup - you modify a picture on your smartphone and…
Re: Ask HN: How do you backup your Android?
#199Earlier quoted context omitted.
This is partly because Android apps may store data in one of several locations. 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 t…
What’s the motivation for app makers to completely 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,…
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)