This seems to be a general problem with the LDAP plugin. Even an incremental backup does not work if changes have been made in the LDAP. See log file. ... bareos-dir JobId 409: Error: Bareos bareos-dir 19.1.2 (01Feb19): Build OS: Linux-4.4.175-89-default debian Debian GNU/Linux 10 (buster) JobId: 409 Job: backup-ldap.2019-08-09_00.42.05_18 Backup Level: Incremental, since=2019-08-09 00:24:04 Client: "bareos-fd" 19.1.2.1564991154.12f64126b3 (01Feb19) Linux-5.1.16-300.fc30.x86_64,debian,Debian GNU/Linux 10 (buster),Debian_10,x86_64 FileSet: "plugin-ldap" 2019-05-20 22:52:13 Pool: "Incremental" (From command line) Catalog: "MyCatalog" (From Client resource) Storage: "File" (From Job resource) Scheduled time: 09-Aug-2019 00:42:05 Start time: 09-Aug-2019 00:42:07 End time: 09-Aug-2019 00:42:08 Elapsed time: 1 sec Priority: 10 FD Files Written: 2 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 281 (281 B) Rate: 0.0 KB/s Software Compression: None VSS: no Encryption: no Accurate: no Volume name(s): Volume Session Id: 5 Volume Session Time: 1565276888 Last Volume Bytes: 0 (0 B) Non-fatal FD errors: 3 SD Errors: 0 FD termination status: Fatal Error SD termination status: Running Bareos binary info: bareos.org build: Get official binaries and vendor support on bareos.com Termination: *** Backup Error ***
2019-08-09 00:42:07bareos-dir JobId 409: Start Backup JobId 409, Job=backup-ldap.2019-08-09_00.42.05_18 2019-08-09 00:42:07bareos-dir JobId 409: Connected Storage daemon at bareos.intern.harnet.de:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 2019-08-09 00:42:07bareos-dir JobId 409: Using Device "FileStorage" to write. 2019-08-09 00:42:07bareos-dir JobId 409: Connected Client: bareos-fd at dsme01.intern.harnet.de:9102, encryption: TLS_CHACHA20_POLY1305_SHA256 2019-08-09 00:42:07bareos-dir JobId 409: Handshake: Immediate TLS2019-08-09 00:42:07bareos-dir JobId 409: Encryption: TLS_CHACHA20_POLY1305_SHA256 2019-08-09 00:42:07dsme01-fd JobId 409: Connected Storage daemon at bareos.intern.harnet.de:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 2019-08-09 00:42:07dsme01-fd JobId 409: Extended attribute support is enabled 2019-08-09 00:42:07dsme01-fd JobId 409: ACL support is enabled 2019-08-09 00:42:07bareos-sd JobId 409: Volume "Incremental-0011" previously written, moving to end of data. 2019-08-09 00:42:07bareos-sd JobId 409: Ready to append to end of Volume "Incremental-0011" size=3576814041 2019-08-09 00:42:07dsme01-fd JobId 409: Fatal error: python-fd: Traceback (most recent call last): File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 62, in plugin_io return bareos_fd_plugin_object.plugin_io(context, IOP) File "/usr/lib/bareos/plugins/BareosFdPluginLDAP.py", line 152, in plugin_io IOP.buf = bytearray(self.ldap.ldif) TypeError: unicode argument without an encoding 2019-08-09 00:42:07dsme01-fd JobId 409: Error: Read error on file @LDAP/dc=de/dc=harnet/ou=dns/dlzZoneName=intern.harnet.de/dlzHostName=oscp/data.ldif. ERR=Erfolg ... Am Freitag, 9. August 2019 00:01:10 UTC+2 schrieb Stefan Harbich: > > Even after the current update, the problem persists, incremental backups > go through, a full Bachup terminates with errors. > ... > dsme01-fd JobId 407: Fatal error: python-fd: Traceback (most recent call > last): > File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 62, in plugin_io > return bareos_fd_plugin_object.plugin_io(context, IOP) > File "/usr/lib/bareos/plugins/BareosFdPluginLDAP.py", line 152, in > plugin_io > IOP.buf = bytearray(self.ldap.ldif) > TypeError: unicode argument without an encoding > ... > > Am Donnerstag, 8. August 2019 00:57:43 UTC+2 schrieb Stefan Harbich: >> >> No under 18.2 did it work. The odd thing is that an incremental backup >> works and not a full backup >> >> Am Montag, 5. August 2019 10:43:28 UTC+2 schrieb Frank Ueberschar: >>> >>> My dear fellow, >>> >>> Could you eleminate the suspicion that it was already broken for you on >>> Bareos-18.2? >>> >>> >>> Am 04.08.19 um 00:48 schrieb Stefan Harbich: >>> >>> Hello my dears, >>> after the current beta release I get the following error message with >>> the LDAP plugin: >>> ... >>> 2019-08-04 00:23:02 dsme01-fd JobId 392: Connected Storage daemon at >>> bareos.example.com.de:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 >>> 2019-08-04 00:23:02 bareos-sd JobId 392: Volume "Full-0031" previously >>> written, moving to end of data. >>> 2019-08-04 00:23:02 dsme01-fd JobId 392: Extended attribute support is >>> enabled >>> 2019-08-04 00:23:02 bareos-sd JobId 392: Ready to append to end of >>> Volume "Full-0031" size=27934861499 >>> 2019-08-04 00:23:02 dsme01-fd JobId 392: ACL support is enabled >>> 2019-08-04 00:23:02 dsme01-fd JobId 392: Fatal error: python-fd: >>> Traceback (most recent call last): >>> File "/usr/lib/bareos/plugins/BareosFdWrapper.py", line 62, in plugin_io >>> return bareos_fd_plugin_object.plugin_io(context, IOP) >>> File "/usr/lib/bareos/plugins/BareosFdPluginLDAP.py", line 152, in >>> plugin_io >>> IOP.buf = bytearray(self.ldap.ldif) >>> TypeError: unicode argument without an encoding >>> >>> 2019-08-04 00:23:02 dsme01-fd JobId 392: Error: Read error on file >>> @LDAP/dc=com/dc=example/data.ldif. ERR=Erfolg >>> 2019-08-04 00:23:02 bareos-dir JobId 392: Fatal error: Director's comm >>> line to SD dropped. >>> 2019-08-04 00:23:02 bareos-dir JobId 392: Error: Bareos bareos-dir >>> 19.1.2 (01Feb19): >>> Build OS: Linux-4.4.175-89-default debian Debian GNU/Linux 10 (buster) >>> JobId: 392 >>> Job: backup-ldap.2019-08-04_00.22.59_00 >>> Backup Level: Full >>> Client: "bareos-fd" 19.1.2 (01Feb19) >>> Linux-4.4.175-89-default,debian,Debian GNU/Linux 10 >>> (buster),Debian_10,x86_64 >>> FileSet: "plugin-ldap" 2019-05-20 22:52:13 >>> Pool: "Full" (From command line) >>> Catalog: "MyCatalog" (From Client resource) >>> Storage: "File" (From Job resource) >>> Scheduled time: 04-Aug-2019 00:22:58 >>> Start time: 04-Aug-2019 00:23:02 >>> End time: 04-Aug-2019 00:23:02 >>> Elapsed time: 0 secs >>> Priority: 10 >>> FD Files Written: 2 >>> SD Files Written: 0 >>> FD Bytes Written: 0 (0 B) >>> SD Bytes Written: 191 (191 B) >>> Rate: 0.0 KB/s >>> Software Compression: None >>> VSS: no >>> Encryption: no >>> Accurate: no >>> Volume name(s): >>> Volume Session Id: 18 >>> Volume Session Time: 1564587101 >>> Last Volume Bytes: 0 (0 B) >>> Non-fatal FD errors: 3 >>> SD Errors: 0 >>> FD termination status: Fatal Error >>> SD termination status: Error >>> Bareos binary info: bareos.org build: Get official binaries and vendor >>> support on bareos.com >>> Termination: *** Backup Error *** >>> >>> 2019-08-04 00:23:01 bareos-dir JobId 392: Start Backup JobId 392, >>> Job=backup-ldap.2019-08-04_00.22.59_00 >>> 2019-08-04 00:23:01 bareos-dir JobId 392: Connected Storage daemon at >>> bareos.intern.example.com:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 >>> ... >>> Is there already a solution here? >>> Greetings from Stefan Harbich >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "bareos-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/bareos-users/32f4da1b-357e-4a5a-9ed2-c724f46945e0%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/bareos-users/32f4da1b-357e-4a5a-9ed2-c724f46945e0%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> -- >>> Mit freundlichen Grüßen >>> >>> Frank Ueberschar [email protected] >>> Bareos GmbH & Co. KG Phone: +49 221 63 06 93-88 >>> http://www.bareos.com Fax: +49 221 63 06 93-10 >>> >>> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 >>> Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens, P. Storz >>> >>> -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/4a234b8b-ea9f-4b09-9338-a4093f10575f%40googlegroups.com.
