On Wed, Sep 2, 2020 at 1:22 PM <backu...@kosowsky.org> wrote:

> Mariano Aliaga wrote at about 11:34:55 -0300 on Wednesday, September 2,
> 2020:
>  > Hi,
>  >
>  > On Wed, Sep 2, 2020 at 11:28 AM <backu...@kosowsky.org> wrote:
>  >
>  > > G.W. Haywood via BackupPC-users wrote at about 14:22:50 +0100 on
>  > > Wednesday, September 2, 2020:
>  > >  > Hi there,
>  > >  >
>  > >  > On Wed, 2 Sep 2020, Mariano Aliaga wrote:
>  > >  > > ...
>  > >  > > tar:974  Fatal: Can't translate pathname './Ajuste Inflaci?n
>  > > A?o2019.xps' to UTF-8
>  > >  > > ...
>  > >  > > ... So I wonder if this is a known bug, it's smbclient, backuppc,
>  > >  > > tar or what? Is there some known workaround? I'd appreciate any
> help
>  > >  > > you could give.
>  > >  >
>  > >  > I think it's a message from 'tar'.  (That's because that's what it
>  > > says. :)
>  > >  >
>  > >  > It's not what I'd call a bug, it's the unfortunate result of the
> many
>  > >  > changes to the capabilities of both utilties and filesystems over
> the
>  > >  > time that they've been in use.  There can be ambiguities when
> strings
>  > >  > are translated between some character sets, and you really don't
> want
>  > >  > that kind of ambiguity in file names.
>  > >  >
>  > >  > What's your output from 'locale'?
>  > >  >
>  > >  > Just a stab in the dark but you might try UTF-16, as mentioned
> here:
>  > >  >
>  > >  >
> https://forums.freebsd.org/threads/tar-cant-translate-pathname.32262/
>  > >  >
>  > >  > Life was so simple when everything was done with 7-bit ASCII
> codes...
>  > >  >
>  > >  > --
>  > >  >
>  > >  > 73,
>  > >  > Ged.
>  > >  >
>  > >
>  > > Agree with Ged... I have had similar issues with rsync over time
>  > > But two further items:
>  > > 1. Does the entire tar backup fail or does it just skip the offending
>  > >    paths?
>  > >
>  >
>  > The entire (smb) backup fails.
>  That doesn't typically happen with rsync as it typically "skips" the
>  file.
>  What happens when you try to manually 'tar' the file?
>  Do you get the same error?
>  If you are tarring multiple files, does the entire manual tar fail?
>

I can't easily test this, as it's a Windows host I'm trying to backup. If I
manually download the file (with smbclient) on the BPC server, and then tar
it, it works OK.



> Is there any reason you can't use rsync?
> It's typically faster, more robust, and more full-featured (e.g., it
> can backup more file types along with ACLs & xattrs) whereas tar has
> more limitations...
>

Again, it's not a "tar" backup, but a "smb" one. And although I could use
rsync (and I'm doing it as I have no option), I rather use a protocol
that's native to the client, and since "smb" is one of the supported Xfer
methods, I would expect it to work.



>  >
>  >
>  > > 2. (This one is for Craig) It would be good if the error summaries
>  > >    could better reflect the errors encountered by the transport
>  > >    method. In this case, tar has a 'fatal' error,
>  > >       tar:974  Fatal: Can't translate pathname './Ajuste Inflación Año
>  > >    but the summary line says:
>  > >       tarExtract: Done: 0 errors, 7 filesExist, 289563505 sizeExist,
>  > >       285326858 sizeExistComp, 7 filesTotal, 289563505 sizeTotal, 0
>  > >       filesNew, 0 sizeNew, 0 sizeNewComp, 110 inodeLast
>  > >
>  > >    It's never been clear to me which 'errors' get counted and which
>  > >    don't...
>  > >
>  > >
>  > > _______________________________________________
>  > > BackupPC-users mailing list
>  > > BackupPC-users@lists.sourceforge.net
>  > > List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>  > > Wiki:    https://github.com/backuppc/backuppc/wiki
>  > > Project: https://backuppc.github.io/backuppc/
>  > >
>  > _______________________________________________
>  > BackupPC-users mailing list
>  > BackupPC-users@lists.sourceforge.net
>  > List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>  > Wiki:    https://github.com/backuppc/backuppc/wiki
>  > Project: https://backuppc.github.io/backuppc/
>
>
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to