Hello Andreas,

this is an interesting problem. Looking at the code we did not do any changes 
to that part recently.

Could you please run the fd with debug level 200 and try to only restore the 
minimum number of files
in order to trigger the problem, and then send us the trace file?

Hopefully we can then see if we understand what is going on.

If  all files are restored correctly and only the expected datastream is not 
there, we might at
least change the error to a warning.

Thank you very much

Philipp

Am 07.04.2015 um 15:40 schrieb [email protected]:
> 
> Hello,
> 
> we use PKI encrypted backup for a while and up until now it has been working 
> as expected. Over the
> weekend we have done a migration of a somewhat bigger fileserver (windows 
> 2003 -> windows 2008R2)
> with a backup/restore and had some trouble while restore. This is one of the 
> problematic cases:
> 
> 06-Apr 22:26 bacula-dir JobId 15780: Start Restore Job 
> RestoreFiles.2015-04-06_22.26.09_37
> 06-Apr 22:26 bacula-dir JobId 15780: Using Device "FileStorage" to read.
> 06-Apr 22:26 bacula-sd JobId 15780: Ready to read from volume "A25-DATEI" on 
> device "FileStorage"
> (/var/lib/bareos/storage).
> 06-Apr 22:26 bacula-sd JobId 15780: Forward spacing Volume "A25-DATEI" to 
> file:block 209:294525119.
> 06-Apr 22:27 bacula-sd JobId 15780: End of Volume at file 210 on device 
> "FileStorage"
> (/var/lib/bareos/storage), Volume "A25-DATEI"
> 06-Apr 22:27 bacula-sd JobId 15780: Ready to read from volume "A05-DATEI" on 
> device "FileStorage"
> (/var/lib/bareos/storage).
> 06-Apr 22:27 bacula-sd JobId 15780: Forward spacing Volume "A05-DATEI" to 
> file:block 22:504638100.
> 06-Apr 22:27 fs01-fd JobId 15780: Error: filed/crypto.c:442 Missing 
> encryption session data stream
> for e:/
> 06-Apr 22:27 bacula-dir JobId 15780: Error: Bareos bacula-dir 14.2.2 
> (12Dec14):
>   Build OS:               x86_64-pc-linux-gnu ubuntu Ubuntu 12.04 LTS
>   JobId:                  15780
>   Job:                    RestoreFiles.2015-04-06_22.26.09_37
>   Restore Client:         fs01-fd
>   Start time:             06-Apr-2015 22:26:11
>   End time:               06-Apr-2015 22:27:53
>   Elapsed time:           1 min 42 secs
>   Files Expected:         26,056
>   Files Restored:         26,056
>   Bytes Restored:         4,597,233,596
>   Rate:                   45070.9 KB/s
>   FD Errors:              1
>   FD termination status:  Error
>   SD termination status:  OK
>   Termination:            *** Restore Error ***
> 
> 06-Apr 22:27 bacula-dir JobId 15780: Begin pruning Files.
> 06-Apr 22:27 bacula-dir JobId 15780: No Files found to prune.
> 06-Apr 22:27 bacula-dir JobId 15780: End auto prune.
> 
> The files seem to be all there, but the job ended with error. This was 
> happening with 3 out of 7
> volumes with different sizes and independant of restoring the whole volume or 
> only a folder. The 4
> other volumes had no problem at all. The fd on the Windows machine was 
> updated before the migration
> from 12.x to the latest 14.2.3, the server is Ubuntu 12.04 with 14.2.2 from 
> the repository.
> 
> Any idea how to fix this?
> 
> Thanks
> 
> Andreas
> 
> 


-- 
Mit freundlichen Grüßen

 Philipp Storz                             [email protected]
 Bareos GmbH & Co. KG                      Phone: +49 221 63 06 93-92
 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, M. v. Wieringen

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to