Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Frank Slootweg Newsgroups: comp.sys.mac.system,alt.os.linux,alt.comp.os.windows-10,comp.mobile.android Subject: Re: Android full backup. Date: 15 Apr 2025 18:27:39 GMT Organization: NOYB Lines: 44 Message-ID: References: <7u5lblxjel.ln2@Telcontar.valinor> X-Trace: individual.net t9sGh3IHjOw9cWCYFXPHHQxVuU9J+ILnmYa+Bw7ECPV6DaK1R4 X-Orig-Path: not-for-mail Cancel-Lock: sha1:r0MCiNUnq87QTln0obmfV4QP89E= sha256:pc8dd1rpZ5dmO1MwlnsM74O8CG7scinvSjv02fopK8A= User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2 Xref: csiph.com comp.sys.mac.system:145534 alt.os.linux:81390 alt.comp.os.windows-10:183709 comp.mobile.android:147825 Carlos E.R. wrote: > On 2025-04-15 15:18, Frank Slootweg wrote: [...] > > For a non-automated backup you can use MTP. With MTP you *can* access > > the /Internal storage/Android folders. For example in Windows File > > Explorer, this accesses the folder which contains the OsmAnd+ maps: > > MTP is what I do. Sometimes I have used a WiFi file server app on the > phone instead. Sometimes I found that one can see files the other > doesn't, but I don't remember which. Yes, I have also found such servers, but none for recent Android versions (10 and higher), which can access the /Internal storage/Android folders. > > This PC\Frank's Galaxy A51\Internal storage\Android\data\net.osmand.plus\files > > > > But 'This PC\Frank's Galaxy A51\Internal storage' is only accessible > > in File Explorer, it's not part of the normal file system, nor > > accessible as a Network Share, so you can't use normal copy or backup > > utilities. (Perhaps in Windows PowerShell one can 'program'/control File > > Explorer? No idea.) > > In Linux we can access the filesystem. Once I tell the equivalent of the > file explorer to access the phone, then it is also accessible under: > > /run/user/1000/gvfs/mtp:host=motorola_moto_g52_SOME_LETTERS > > for any app. This is using with a gtk desktop, with KDE it is somewhere > else. > > Then I can use rsync and copy links to the files in the previous backup. Could you give an example (Linux) 'cp' command which shows what the source and destination paths look like? In Windows you can't specify a source path for a 'copy', etc., because such a path does not exist for MTP, so - being an old Unix/UNIX and current GNU user - I am interested what it looks like on Linux (for MTP). Or is the source just a path relative to /run/user/1000/gvfs/mtp? [...]