Re: [BackupPC-users] Inconsistent backup size

2020-09-02 Thread Craig Barratt via BackupPC-users
As I said in my previous email, I'd recommend using the poolCnt files since they accurately reflect what is being stored for each host. But it will take a bit more coding. You can look in some of the BackupPC utilities (eg: BackupPC_refCountUpdate) for examples of how to read the poolCnt files.

Re: [BackupPC-users] Inconsistent backup size

2020-09-02 Thread SAL
Hello, trying to make a script, which can count backup size, but without success yet. I can parse XferLOG, extract sizes, identify links, but after summary some backups have zero or almost zero size. Looks like this happens, when there is no initial backup (backup with id 0), where all files hav

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread Mariano Aliaga
OK, I'm (more) confused now. I thought the backup worked on other server (server2), because it was showing the same error, but in this case the backup continued and finished, as opposed to the orignal server (server1) backup that just aborts after the first offending file. Server2: LOG 2020-09-0

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread Mariano Aliaga
Craig, On Wed, Sep 2, 2020 at 3:10 PM Craig Barratt wrote: > Mariano, > > I believe the unix charset should always be utf-8. It's the dos charset > that you should be changing. > OK, tried that combination "dos charset = CP1252 & unix charset = UTF-8" but doesn't work. Just for the record, I h

Re: [BackupPC-users] Verify full integrity of pool and backups

2020-09-02 Thread Raoul Bhatia
So, I am officially lost with additional errors popping up, i.e. bpc_path_refCountAll: can't read attrib file /data/backup/backuppc/pc/aaa.bbb.ccc/8240/inode/03/attrib52_75b800923eee9d3484169624f5b691fa Unfortunatly, I have no clue how to clean them up and/or force a true "Full" backup (means

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread Craig Barratt via BackupPC-users
Mariano, I believe the unix charset should always be utf-8. It's the dos charset that you should be changing. Craig On Wed, Sep 2, 2020 at 10:51 AM Mariano Aliaga wrote: > On Wed, Sep 2, 2020 at 2:20 PM Craig Barratt < > cbarr...@users.sourceforge.net> wrote: > >> Mariano, >> >> Yes, the tric

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread Mariano Aliaga
On Wed, Sep 2, 2020 at 2:20 PM Craig Barratt wrote: > Mariano, > > Yes, the trick is to figure out what the correct charset name is for the > windows machine. You could use smbclient interactively to make checking it > be easier (ie, just navigate to the directory containing the offending > entr

Re: [BackupPC-users] Exclude and keep Folderstructure

2020-09-02 Thread Craig Barratt via BackupPC-users
I don't know the answer, but googling led me to: https://stackoverflow.com/questions/3546001/rsync-how-to-include-directories-but-not-files . So you could try including those -f options in $Conf{RsyncArgsExtra}. Craig On Fri, Aug 28, 2020 at 3:50 PM Taste-Of-IT wrote: > Hello, > > i use latest

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread Craig Barratt via BackupPC-users
Mariano, Yes, the trick is to figure out what the correct charset name is for the windows machine. You could use smbclient interactively to make checking it be easier (ie, just navigate to the directory containing the offending entry, and try listing that directory). Have you tried cp-1252

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread Mariano Aliaga
Hi Craig, Thanks for your reply On Wed, Sep 2, 2020 at 1:49 PM Craig Barratt via BackupPC-users < backuppc-users@lists.sourceforge.net> wrote: > The "tar" errors are from smbclient. Unfortunately the output format of > smb messages have changed many times over the years. I'm happy to accept

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread Mariano Aliaga
On Wed, Sep 2, 2020 at 1:22 PM 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 wrote: > > > > > G.W. Haywood via BackupPC-users wrote at about 14:22:50 +0100 on > > > Wednesday, September 2, 2020: > >

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread Craig Barratt via BackupPC-users
The "tar" errors are from smbclient. Unfortunately the output format of smb messages have changed many times over the years. I'm happy to accept PRs for detecting additional errors it reports if someone wants to submit something. As Jeff points out, rsync is a far better option. It has built i

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread backuppc
Mariano Aliaga wrote at about 11:34:55 -0300 on Wednesday, September 2, 2020: > Hi, > > On Wed, Sep 2, 2020 at 11:28 AM 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, Mari

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread Mariano Aliaga
Hi, On Wed, Sep 2, 2020 at 11:28 AM 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?o201

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread Mariano Aliaga
Hey Ged, Thanks for your help On Wed, Sep 2, 2020 at 10:41 AM G.W. Haywood via BackupPC-users < backuppc-users@lists.sourceforge.net> wrote: > 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-

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread backuppc
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

Re: [BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread G.W. Haywood via BackupPC-users
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.

[BackupPC-users] Windows backups failing with special characters

2020-09-02 Thread Mariano Aliaga
Hi all, I'm trying to backup some windows servers but am getting an error when files have special characters (accents, ñ, etc) on their name: Running: /usr/local/bin/smbclient winserver\\Folder -U bkpuser -E -d 1 -c tarmode\ full -mSMB3 -Tc - full backup started for share Folder Xfer PIDs a