Hello Bruno,

thank you for your reply. I'll try to test it this evening. Yesterday, I did 
some more tests:

Update:

I copied the zip-File to zip-file2 within the same folder. Now bareos restore 
is complaining about both files with incorrect size.

Update2:

I created a file with the same size:
dd if=/dev/urandom of=/tmp/G.zip bs=1 count=288559239
This also causes the problem. Maybe somebody can reproduce it?


Am Dienstag, 10. März 2015 07:49:45 UTC+1 schrieb Bruno Friedmann:
> On Monday 09 March 2015 22.18:48 Peter Bungert wrote:
> > Hello everybody,
> > 
> > I did the following:
> > 
> > Backup of a folder with ~500 files
> > Restore of this folder
> > 
> > However, the restore failed, complaining about an incorrect filesize (see
> > below) of a zip-file.
> > The difference is exactly 65536 bytes (= 2^16).
> > 
> > I checked this file, which is basically a collection of pictures, and only
> > one of them was wrong.
> > 
> > 
> > Now I'm worried that this might happen again with other files. Please tell
> > me which other info you need. To examine this problem.
> > 
> > Best regards,
> > Peter
> > 
> > --backupjob----------------------------------
> > 09-Mär 18:40 backuppc-dir JobId 53: No prior Full backup Job record found.
> > 09-Mär 18:40 backuppc-dir JobId 53: No prior or suitable Full backup found
> > in catalog. Doing FULL backup.
> > 09-Mär 18:40 backuppc-dir JobId 53: Start Backup JobId 53,
> > Job=B-Test.2015-03-09_18.40.12_04
> > 09-Mär 18:40 backuppc-dir JobId 53: Created new Volume "B-Test-0022" in
> > catalog.
> > 09-Mär 18:40 backuppc-dir JobId 53: Using Device "BackupBilderSd" to write.
> > 09-Mär 18:40 backuppc-sd JobId 53: Labeled new Volume "B-Test-0022" on
> > device "BackupBilderSd" (/Backup/Bilder).
> > 09-Mär 18:40 backuppc-sd JobId 53: Wrote label to prelabeled Volume
> > "B-Test-0022" on device "BackupBilderSd" (/Backup/Bilder)
> > 09-Mär 18:41 backuppc-sd JobId 53: User defined maximum volume capacity
> > 524,288,000 exceeded on device "BackupBilderSd" (/Backup/Bilder).
> > 09-Mär 18:41 backuppc-sd JobId 53: End of medium on Volume "B-Test-0022"
> > Bytes=524,224,726 Blocks=8,126 at 09-Mar-2015 18:41.
> > 09-Mär 18:41 backuppc-dir JobId 53: Created new Volume "B-Test-0023" in
> > catalog.
> > 09-Mär 18:41 backuppc-sd JobId 53: Labeled new Volume "B-Test-0023" on
> > device "BackupBilderSd" (/Backup/Bilder).
> > 09-Mär 18:41 backuppc-sd JobId 53: Wrote label to prelabeled Volume
> > "B-Test-0023" on device "BackupBilderSd" (/Backup/Bilder)
> > 09-Mär 18:41 backuppc-sd JobId 53: New volume "B-Test-0023" mounted on
> > device "BackupBilderSd" (/Backup/Bilder) at 09-Mar-2015 18:41.
> > 09-Mär 18:41 backuppc-sd JobId 53: Elapsed time=00:01:18, Transfer
> > rate=11.56 M Bytes/second
> > 09-Mär 18:41 backuppc-dir JobId 53: Bareos backuppc-dir 14.2.2 (12Dec14):
> >   Build OS:               i486-pc-linux-gnu debian Debian GNU/Linux 7.0
> > (wheezy)
> >   JobId:                  53
> >   Job:                    B-Test.2015-03-09_18.40.12_04
> >   Backup Level:           Full (upgraded from Incremental)
> >   Client:                 "B-Test_Client" 14.2.2 (12Dec14)
> > x86_64-pc-linux-gnu,debian,Debian GNU/Linux 7.0 (wheezy)
> >   FileSet:                "B-Testordner" 2015-03-09 18:40:12
> >   Pool:                   "FilesB-TestPool" (From Job resource)
> >   Catalog:                "MyCatalog" (From Client resource)
> >   Storage:                "BackupB-Test" (From Job resource)
> >   Scheduled time:         09-Mär-2015 18:40:10
> >   Start time:             09-Mär-2015 18:40:14
> >   End time:               09-Mär-2015 18:41:33
> >   Elapsed time:           1 min 19 secs
> >   Priority:               10
> >   FD Files Written:       491
> >   SD Files Written:       491
> >   FD Bytes Written:       901,758,582 (901.7 MB)
> >   SD Bytes Written:       901,767,410 (901.7 MB)
> >   Rate:                   11414.7 KB/s
> >   Software Compression:   None
> >   VSS:                    no
> >   Encryption:             no
> >   Accurate:               yes
> >   Volume name(s):         B-Test-0022|B-Test-0023
> >   Volume Session Id:      1
> >   Volume Session Time:    1425921351
> >   Last Volume Bytes:      378,267,542 (378.2 MB)
> >   Non-fatal FD errors:    0
> >   SD Errors:              0
> >   FD termination status:  OK
> >   SD termination status:  OK
> >   Termination:            Backup OK
> > 
> > ---------------------------------------------------
> > --restore---------------------------------------
> > 09-Mar 21:39 backuppc-dir JobId 61: Start Restore Job
> > RestoreFiles.2015-03-09_21.39.34_05
> > 09-Mar 21:39 backuppc-dir JobId 61: Using Device "BackupBilderSd" to read.
> > 09-Mar 21:39 backuppc-sd JobId 61: Ready to read from volume "B-Test-0022"
> > on device "BackupBilderSd" (/Backup/Bilder).
> > 09-Mar 21:39 backuppc-sd JobId 61: Forward spacing Volume "B-Test-0022" to
> > file:block 0:214.
> > 09-Mar 21:40 backuppc-sd JobId 61: End of Volume at file 0 on device
> > "BackupBilderSd" (/Backup/Bilder), Volume "B-Test-0022"
> > 09-Mar 21:40 backuppc-sd JobId 61: Ready to read from volume "B-Test-0023"
> > on device "BackupBilderSd" (/Backup/Bilder).
> > 09-Mar 21:40 backuppc-sd JobId 61: Forward spacing Volume "B-Test-0023" to
> > file:block 0:214.
> > 09-Mar 21:40 pd-fd_name_unimportant JobId 61: Error: attribs.c:419 File
> > size of restored file
> > /tmp/bareos-restores/home/peter/Bilder/201409_KletternGrimsel/1409Granit.zip
> > not correct. Original 288559239, restored 288493703.
> > 09-Mar 21:40 backuppc-sd JobId 61: End of Volume at file 0 on device
> > "BackupBilderSd" (/Backup/Bilder), Volume "B-Test-0023"
> > 09-Mar 21:40 backuppc-sd JobId 61: End of all volumes.
> > 09-Mar 21:40 backuppc-dir JobId 61: Error: Bareos backuppc-dir 14.2.2
> > (12Dec14):
> >   Build OS:               i486-pc-linux-gnu debian Debian GNU/Linux 7.0
> > (wheezy)
> >   JobId:                  61
> >   Job:                    RestoreFiles.2015-03-09_21.39.34_05
> >   Restore Client:         B-Test_Client
> >   Start time:             09-Mar-2015 21:39:36
> >   End time:               09-Mar-2015 21:40:55
> >   Elapsed time:           1 min 19 secs
> >   Files Expected:         491
> >   Files Restored:         491
> >   Bytes Restored:         901,693,046
> >   Rate:                   11413.8 KB/s
> >   FD Errors:              1
> >   FD termination status:  Error
> >   SD termination status:  OK
> >   Termination:            *** Restore Error ***
> > 
> > ---------------------------------------------------
> > 
> Are -dir -sd -fd the same computer?
> 
> Peter did you try 2 things :
> First try to restore to another -fd would tell you if the -fd has a trouble 
> or the storage. 
> 
> I've seen one time this kind of error, and the result was bad motherboard and 
> memory....
> 
> -- 
> 
> Bruno Friedmann 
> Ioda-Net Sàrl www.ioda-net.ch
>  
>  openSUSE Member & Board, fsfe fellowship
>  GPG KEY : D5C9B751C4653227
>  irc: tigerfoot

-- 
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