Re: adb backup broken named pipe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Indeed, but it has to face two constraints, the second being directly
related to the first : limited storage space and access to the data backed
up through archivemount which does not support the android backup format.

Le ven. 17 mai 2019 à 10:32, Ralph Corderoy <ralph@xxxxxxxxxxxxxxx> a
écrit :

> Hi Pascal,
>
> > I still have a slight problem because the tar command ends with an error
> :
> > *(the same error is also present with adb, printf and tail).*
> ..
> > $ python3 adbackup.py > /tmp/mybackup.tgz
> > $ tar tvzf /tmp/mybackup.tgz
> > ... all my files are here :-)
> > gzip: stdin: unexpected end of file
> > tar: Child returned status 1
> > tar: Error is not recoverable: exiting now
>
> Why not keep the non-tar file long term and convert it to gzip'd tar
> format when required.  That way you'll be able to improve your
> conversion over time, and not break if adb changes its format.  That
> breakage could go unnoticed until it's too late to re-backup the data.
>
>     (printf ... && cat foo.ab) | tar ...
>
> --
> Cheers, Ralph.
>




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux