Bacula-users

[Bacula-users] File is marked correctly backuped although errors occour while Backup

2011-04-26 12:20:31
Subject: [Bacula-users] File is marked correctly backuped although errors occour while Backup
From: Uwe Mohn <mohn AT gdp-group DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 26 Apr 2011 17:57:43 +0200
Hello all,

on one full backup run on a win 2k3 Server with MSSQL with 5.0.2-fd some 
Errors occured.

The log for the job says:

(...)
21-Apr 01:34 <removed>-fd JobId 333: Error: Read error on file 
D:/SQL_Backup/<removed>_20110109_kann2012weg/<removed>_Historie_201011081516.trn.
 ERR=Nicht genügend Systemressourcen, um den angeforderten Dienst auszuführen.

21-Apr 01:34 <removed>-fd JobId 333: Error: Read error on file 
D:/SQL_Backup/<removed>_20110109_kann2012weg/<removed>_backup_201101092215.bak. 
ERR=Nicht genügend Systemressourcen, um den angeforderten Dienst auszuführen.

21-Apr 01:34 <removed>-fd JobId 333: Error: Read error on file 
D:/SQL_Backup/<removed>/<removed>_backup_200906300215.bak. ERR=Nicht genügend 
Systemressourcen, um den angeforderten Dienst auszuführen.

(...)

21-Apr 01:51 21-Apr 01:51 reliant1-sd JobId 333: Job write elapsed time = 
02:59:13, Transfer rate = 8.148 M Bytes/second
21-Apr 01:51 <removed>-sd JobId 333: Job write elapsed time = 02:59:13, 
Transfer rate = 8.148 M Bytes/second
21-Apr 01:51 <removed>-dir JobId 333: Bacula reliant1-dir 5.0.3 (04Aug10): 
21-Apr-2011 01:51:18
  Build OS:               x86_64-unknown-linux-gnu suse 11.3
  JobId:                  333
  Job:                    <removed>_data.2011-04-20_22.45.00_12
  Backup Level:           Full (upgraded from Incremental)
  Client:                 "<removed>-fd" 5.0.2 (28Apr10) 
Linux,Cross-compile,Win32
  FileSet:                "<removed>_data" 2011-04-20 22:45:00
  Pool:                   "<removed>Full" (From Job FullPool override)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "File_<removed>" (From Pool resource)
  Scheduled time:         20-Apr-2011 22:45:00
  Start time:             20-Apr-2011 22:52:02
  End time:               21-Apr-2011 01:51:18
  Elapsed time:           2 hours 59 mins 16 secs
  Priority:               10
  FD Files Written:       107,201
  SD Files Written:       107,201
  FD Bytes Written:       87,602,758,970 (87.60 GB)
  SD Bytes Written:       87,622,751,097 (87.62 GB)
  Rate:                   8144.5 KB/s
  Software Compression:   None
  VSS:                    no
  Encryption:             no
  Accurate:               yes
  Volume name(s):         <removed>Full-110420-2252
  Volume Session Id:      4
  Volume Session Time:    1303314706
  Last Volume Bytes:      87,691,294,112 (87.69 GB)
  Non-fatal FD errors:    32
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK -- with warnings
(...)



(The backup is done intentionally without VSS. The english equivalent of the 
windows error message is: "Insufficient system resources exist to complete the 
requested service.")

The errors seem to happen because our old backup programm (we're still 
evaluating Bacula) was touching the files while Bacula was reading them, so the 
errors themselves are not the problem.

The problem is, when browsing the catalog, these files seem to be backuped 
propperly, but the hashes differ from earlier backups although the Files 
weren't touched in the meantime. When a restore on these files is done, then on 
the first one I get an error:

26-Apr 17:24 reliant1-fd JobId 407: Error: attribs.c:423 File size of restored 
file 
/bacula-data/bacula-restores/D:/SQL_Backup/<removed>_20110109_kann2012weg/<removed>Historie_201011081516.trn
 not correct. Original 10589404672, restored 7918845768.
26-Apr 17:24 <removed>-sd JobId 407: End of all volumes.
26-Apr 17:24 <removed>-dir JobId 407: Error: Bacula <removed>-dir 5.0.3 
(04Aug10): 26-Apr-2011 17:24:54
  Build OS:               x86_64-unknown-linux-gnu suse 11.3
  JobId:                  407
  Job:                    RestoreFiles.2011-04-26_17.24.05_40
  Restore Client:         <removed>-fd
  Start time:             26-Apr-2011 17:24:07
  End time:               26-Apr-2011 17:24:54
  Files Expected:         1
  Files Restored:         1
  Bytes Restored:         7,918,845,952
  Rate:                   168486.1 KB/s
  FD Errors:              1
  FD termination status:  Error
  SD termination status:  OK
  Termination:            *** Restore Error ***


A restore on the other two files work without problems but the restored files 
have a size of 0.
Unfortunatly neither a following incremental job on this filset, nor a 
differential did backup these files again, so there would be no valid backup of 
these files until the next scheduled full, which would be in a month.

We looked at the source-code of the file-deamon and found just one location 
where the pattern "Read error on file" occurs but couldn't find any obvious 
fault and for a deeper search I am missing the programming experience.

So the question is, is this a bug or a wanted behaviour? Has anybody run into a 
similar Problem? And mainly: Is there a way to get Bacula not to accept such 
files as propperly backuped, so that they are backuped on the next incremental 
or differential?

Thank you

-- 
Mit besten Grüßen / Kind Regards

Jens-Uwe Mohn
IT System Management

g/d/p Marktanalysen GmbH
Ein Unternehmen der Forschungsgruppe g/d/p
Richardstr. 18
D-22081 Hamburg
Fon: +49 (0)40 / 29876-170
Fax: +49 (0)40 / 29876-127
mohn AT gdp-group DOT com
www.gdp-group.com

Sitz der Gesellschaft ist Hamburg, Handelsregister Hamburg, HRB 37830
Geschäftsführer: Christa Braaß, Volker Rohweder, Clemens Steckner

-------------------------------------------------------------------------------------------------------------
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient please notify the sender and delete this 
e-mail from your whole system.
Any unauthorised copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.
-------------------------------------------------------------------------------------------------------------



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] File is marked correctly backuped although errors occour while Backup, Uwe Mohn <=