Re: cross-platform backup tool rdiff-backup on android phone

Leland Best <[email protected]>
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Message-ID <[email protected]>
Hi Jonas,

Apologies for the slow response.  Some neurological issues plus Real Life make
it hard to keep up with e-mail. :(  Anyway, ...

On Sun, 2022-01-23 at 19:44 +0100, Jonas Schöpf wrote:
> Hi Leland!
> 
> Thank you for this suggestion.

You're welcome.

> 
> Mounting with sshfs works just fine.
> I have tried a backup with it, but rdiff-backup is looping when using sshfs.
> Does anybody have an idea why?
> So I mean after everything is copied from my phone it starts again 
> copying from the beginning.
[...]

Hmmm.  Strange.  Although, as I said, I've never done this myself.  You aren't
by any chance mounting _both_ ways with 'sshfs' are you?  That is, mounting the
phone on the backup server, _and_ mounting the backup server on the phone? 
Seems like that would create a recursive loop ... ?

Otherwise, when time permits, I can try some tests between two Linux machines
(sadly, my phone isn't set up for 'ssh' and friends).

Cheers
Leland
-- 
-------------------------------------------------------------------------------
Leland C. Best      | Creationists make it sound as though a 'theory' is
[email protected] |  something you dreamt up after being drunk all night.
                    | -- Isaac Asimov
PGP Fingerprint     | 7B23ACB474299DF0E07F6DEBB8FEE465DCB9B6C3
-------------------------------------------------------------------------------

[...]
> 
> Cheers,
> Jonas
> 
> 
> On 1/12/22 02:04, Leland Best wrote:
> > Hi Jonas,
> > 
> > On Sun, 2022-01-09 at 17:31 +0100, Jonas Schöpf wrote:
> > > Hi all!
> > > 
> > > I have question about using rdiff-backup to back up my android phone.
> > > The backup would be done over ssh, but the problem is that I am (as far
> > > as I know) not able to install rdiff-backup on my phone.
> > > Is there still a possibility to use rdiff-backup from my PC to create a
> > > backup of my android phone via ssh?
> > 
> > If you can 'ssh' to your phone, can you install some "flavor" of 'sshfs'?  If
> > so, then it seems like you could mount your phone over 'sshfs' on a machine
> > with
> > 'rdiff-backup' installed, then do what looks like a backup of a local
> > directory
> > (but is really the 'sshfs' mount point).  Mind you, I've never tried this. 
> > Just
> > a thought.  I _have_ used 'exfat' over USB but that has serious issues with
> > file
> > metadata (date, time, etc.).
> > 
> > > 
> > > Thank you and cheers,
> > > Jonas
> > > 
> > 
> > Cheers
> > Leland
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.