logoalt Hacker News

edoceotoday at 3:57 AM5 repliesview on HN

On the subject...of anyone has good recommendations on getting phone data off the device as soon as possible to my own system would be cool.

I'm on immich; photos are my most important.

Haven't found something to offload the on device files - like saved attachments from texts.


Replies

m463today at 4:28 AM

I backup my iphones to linux using libimobiledevice

the commands I use are:

see if phone is connected:

  lsusb
1) backup entire* device to filesystem:

  idevicebackup2 backup <backup-dir>
2) backup photos/other data:

  ifuse mount -o allow_other /mnt
  rsync -av /mnt <out-dir>
command 1 will create an entire backup of the device, but in a wierd apple format. It can be restored to a clean device though.

command 2 will create a directory containing most of the phone data in an understanable format. for example photos will be in <out-dir>/DCIM, for example DCIM/100APPLE/IMG_0170.HEIC

*: what apple allows you to back up. for example, if you have the kindle app on your phone, neither the app itself, or the kindle books will be backed up. If you restore the backup, you will have to re-download the kindle app, and re-download the book files.

show 1 reply
bobimtoday at 6:34 AM

Sailfish has a native Nextcloud integration, photos land on your home server without any user action. On iOS it requires opening the app from time to time.

Sarkytoday at 4:16 AM

Syncthing is the only app i need for syncing files to home computer. No clouds, just your phone and computer (or computers).

show 2 replies
numpad0today at 6:11 AM

IIRC you can't extract app-private directories without root or debug-signed apk. Things "under /sdcard"(in quotes because actual paths move around in typical Google manner) should be accessible from other apps/adb over USB.

ozruxotoday at 4:08 AM

For my self and my android, SMB protocol and app Cx File Explorer.

show 1 reply