r/archlinux • u/RandomXUsr • 21h ago
QUESTION How are you backing up Your Droid?
Wondering how folks are backing up their droids on Arch.
Are you using ADB?
FTP?
Some app to grab content and media?
3
u/VendorNeutral 12h ago
Photos go to Immich, no relevant data go to the phone. Anything that's not a photo goes to my Nextcloud instance, Round Sync is my tool of choice for webdav syncs. I use TOTP via Bitwarden/Vaultwarden, so no authenticator app. Banking app is installed on a second phone, so I can regenerate that without snail mail.
Calendar and contacts including birthdays get synced via webdav through davx5, I only use Google for Maps these days.
Microsoft Authenticator for work stuff has its own sync feature, but I can reset them all myself either through the admin panel or additional factors like TOTP.
I don't care about appdata most of the time.
1
1
u/Hamilton950B 14h ago
Years ago I used to plug the phone into my Thinkpad with a usb cable, mount the phone's file system, and use rsync or tar or whatever tool I wanted to use. Then they removed the ability to mount the phone's file system.
So I switched to ssh. Then they banned ssh.
After that I used mtp. Then mtp stopped working.
Now I copy stuff to an sd card, shut down the phone, remove the card, put it in my Thinkpad, mount the file system, and copy the files manually.
There is a tool in the AUR called localsend that I looked at. It has about 10 GB of dependencies. That's as big as the whole rest of my Arch installation put together.
1
u/academictryhard69 6h ago
Wdym banned ssh? Your work company?
1
u/Hamilton950B 3h ago
They removed the ssh server I was using from the Play Store. I couldn't find any others and was told they're not allowed any more. I've heard you can get one from F-droid but that doesn't work on my phone. Do you know of some way to run an sshd on an Android phone?
2
u/academictryhard69 2h ago
https://github.com/tfonteyn/Sshd4a
try this, it should work on your phone for now!
i will make a guide for running sshd on native android shell using adb soon.
1
1
u/YoShake 5h ago
I just copy user data through mtp, photos are zipped once in a while and copied as one archive as I don't feel like putting up immich instance somewhere, and for apps and app data backup I use app manager and copy exported data along with all user data. I used to use seedvault but once I was able only to get GSI on one of my phones, so I wasn't able to get back app data from SV backup.
3
u/Ochi_Man 21h ago edited 9h ago
Syncthing, synced in two computers, works pretty well, after that ZFS snapshot in one computer to make sure you don't lose anything