|
Hi
On 25/12/2015 22:06, pasci wrote:
Found some reasons!
First: smbclient/tarmode is since 4.1.4 (or later; not sure) not verbose by default. But BackupPC analyzed this output. Because it is missing, BackupPC mark the backup as failed.
Thanks for your response. I have added "\ verbose" to my
SmbClientFullCmd and I'm trying a backup. We'll see what happens...
The other issue is, that the new (verbose) output is no longer compatible with the filter regex of BackupPC. But I'm really bad with regex! :-)
Example output:
tar:322 tarmode is now full, system, hidden, noreset, verbose
tar:800 Total bytes received: 1880425
pool 644 0/0 85271 instlog.bak
pool 644 0/0 81797 instlog.err
pool 644 0/0 85271 instlog.txt
pool 644 0/0 4457 opsi-client-agent.err
pool 644 0/0 527414 opsi-client-agent.log
pool 644 0/0 275 opsiclientd.cnf
pool 644 0/0 250848 opsi_loginblocker.txt
create 755 0/0 0 test
pool 644 0/0 18656 test/7zip.log
pool 644 0/0 35222 test/adobe-flash-plugin.log
pool 644 0/0 38138 test/adobe-flash.log
pool 644 0/0 84144 test/adobe-shockwave.log
pool 644 0/0 65238 test/libreoffice-help.log
pool 644 0/0 603694 test/libreoffice-main.log
tarExtract: Done: 0 errors, 13 filesExist, 1880425 sizeExist, 196009 sizeExistComp, 13 filesTotal, 1880425 sizeTotal
Got fatal error during xfer (No files dumped for share tmp$)
Backup aborted (No files dumped for share tmp$)
Not saving this as a partial backup since it has fewer files than the prior one (got 13 and 0 files versus 13)
Current (not matching) BackupPC regex:
/^\s* \d+.* \(\d+\).* \(.*\)$/
(located in lib/BackupPC/Xfer/Smb.pm)
Old tarmode output looks like (which match the "old" regex):
tarmode is now full, system, hidden, noreset, verbose
directory \Astaro-Konfiguration\
816689 ( 5317.0 kb/s) \Astaro-Konfiguration\lnx-astaro_8.303_2012-08-02_01-04.abf
0 ( 0.0 kb/s) \test.txt.txt
tar: dumped 3 files and directories
Total bytes written: 817664
Additional option for smbclient is:
...-c tarmode\ full\ verbose -Tc ... -> add "\ verbose"
+----------------------------------------------------------------------
|This was sent by [email protected] via Backup Central.
|Forward SPAM to [email protected].
+----------------------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
This mail was received via Mail-SeCure System.
--
Micha Silver
Arava Drainage Authority
cell: +972-523-665918
|
------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/