BackupPC-users

Re: [BackupPC-users] SMB-based backup failing after upgrading from 3.3.0 into 3.3.1

2016-08-30 08:25:50
Subject: Re: [BackupPC-users] SMB-based backup failing after upgrading from 3.3.0 into 3.3.1
From: Andriy Fomenko <afomenko AT videonext DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 30 Aug 2016 08:24:16 -0400
Situation definitely improved after applying the patch (now we see a list of files passing via sambe), but backup still gets marked as bad:

File /var/lib/BackupPC//pc/tp2.dev.videonext.net/XferLOG.bad.z
Contents of file /var/lib/BackupPC//pc/tp2.dev.videonext.net/XferLOG.bad.z, modified 2016-08-29 12:55:56

Running: /usr/bin/smbclient \\\\tp2.dev.videonext.net\\C -U BACKUP -E -d 1 -c tarmode\ full -Tc - \\BACKUP
full backup started for share C
Xfer PIDs are now 26536,26535
Domain=[TP2] OS=[Windows 7 Professional 7601 Service Pack 1] Server=[Windows 7 Professional 6.1]
tar:316  tarmode is now full, system, hidden, noreset, quiet
  create   755       0/0           0 BACKUP
  pool     644       0/0         388 BACKUP/FullBackup.sql
  pool     644       0/0         197 BACKUP/index.htm
  pool     644       0/0         646 BACKUP/makebackup.cmd
  pool     644       0/0   841641472 BACKUP/TargetProcess2-Full.bak
  pool     644       0/0          27 BACKUP/TIMESTAMP.TXT
  create   755       0/0           0 BACKUP/upload
  pool     644       0/0    18481152 BACKUP/upload/00102_cfefbbe4-97fd-408e-bd9e-10fc3e94a2f0.MTS
  create   644       0/0         197 BACKUP/upload/PaxHeader/0200cdaa-9d50-4cfa-be6a-5819145c069c_Screen shot 2011-07-14 at 10.22.31 AM_97c9bb03-7c02
  pool     644       0/0      299929 BACKUP/upload/0200cdaa-9d50-4cfa-be6a-5819145c069c_Screen shot 2011-07-14 at 10.22.31 AM_97c9bb03-7c02-404b-916b-
  pool     644       0/0       25646 BACKUP/upload/05854726-2ac4-4682-bb79-149cb61b0d12_A_f734dd76-b84a-4310-9f83-61acfe13d1c5.jpg
[...]
  pool     644       0/0         527 BACKUP/upload/_thumbs/Images/Splitters-current.png
  pool     644       0/0        2726 BACKUP/upload/_thumbs/Images/tracking.jpg
  pool     644       0/0         193 BACKUP/upload/PaxHeader/удаление_таймкарты_b73835f3-3bc2-
  pool     644       0/0      512368 BACKUP/upload/удаление_таймкарты_b73835f3-3bc2-463e-b101-8
tarExtract: Done: 0 errors, 975 filesExist, 1042806631 sizeExist, 254330720 sizeExistComp, 997 filesTotal, 1042811116 sizeTotal
Got fatal error during xfer (No files dumped for share C)
Backup aborted (No files dumped for share C)
Not saving this as a partial backup since it has fewer files than the prior one (got 997 and 0 files versus 997)

Thank you,

Andriy Fomenko

On Mon, Aug 29, 2016 at 7:56 PM, Adam Goryachev <mailinglists AT websitemanagers.com DOT au> wrote:
On 29/08/16 23:59, Andriy Fomenko wrote:
I had a working BackupPC configuration (based on CentOS 7) performing backup of Windows share over SMB, then with minor BackupPC version upgrade it broke in samba part, still operattes normally for linux hosts.

What is interesting, for the "full backup" of Windows host it shows partial backup with ALL FILES PRESENT, but then declares this backup to be aborted.

As I understand it:
  • samba performs files copy: OK
  • tar extracts all files: OK
  • looks like some checks after that fail
Here is version change on my server:

Packages Altered:
    Updated     BackupPC-3.3.0-4.el7.nux.x86_64          @nux-dextop
    Update               3.3.1-5.el7.x86_64              @epel

Here is an error log:

Contents of file /var/lib/BackupPC//pc/tp2.dev.videonext.net/XferLOG.483.z, modified 2016-08-29 09:24:47 (Extracting only Errors)
Running: /usr/bin/smbclient \\\\tp2.dev.videonext.net\\C -U BACKUP -E -d 1 -c tarmode\ full -Tc - \\BACKUP
full backup started for share C
Xfer PIDs are now 25728,25727
[ skipped 1 lines ]
tar:316  tarmode is now full, system, hidden, noreset, quiet
[ skipped 971 lines ]
tar:711  Total bytes received: 1042800896
[ skipped 33 lines ]
tarExtract: Done: 0 errors, 944 filesExist, 201159397 sizeExist, 156596094 sizeExistComp, 997 filesTotal, 1042811116 sizeTotal
Got fatal error during xfer (No files dumped for share C)
Backup aborted (No files dumped for share C)
Saving this as a partial backup, replacing the prior one (got 997 and 0 files versus 0)
Thank you,

Did you also upgrade the version of samba, or any other packages on the backup server at the same time?

Regards,
Adam



--
Adam Goryachev Website Managers www.websitemanagers.com.au

------------------------------------------------------------------------------

_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/