Arno Lehmann schrieb: > Hello, > > On 2/28/2006 2:45 PM, Florian Kieling wrote: > >> Arno Lehmann schrieb: > > ... > >>> Also, if you can recreate the problem a debug log of the FD might be >>> interesting. >> >> >> This file is a regular file from a linux machine and i want restore it >> to a linux machine. I selected it with restore -> 6 -> date/time -> >> client -> mark >> >> This are the settings for the restore job: >> JobName: Restore COVILinux >> Bootstrap: >> /var/bacula/working/covilinux-dir.restore.*Console*.2006-02-28_14.29.18.bsr >> >> Where: /srv/restore >> Replace: always >> FileSet: Webserver >> Client: covilinux-fd >> Storage: File - WSP-SERVER.DE >> When: 2006-02-28 14:34:05 >> Catalog: MyCatalog >> Priority: 10 >> >> This messages I've got on the debug output: >> covilinux-dir: fd_cmds.c:100 >filed: JobId=111 >> Job=Restore_COVILinux.2006-02-28_14.35.22 SDid=1 SDtime=1141133324 >> Authorization=NNOC-NBFM-NNPC-GBAM-AIGH-PHDO-OLHP-KJLD >> covilinux-fd: job.c:189 <dird: JobId=111 >> Job=Restore_COVILinux.2006-02-28_14.35.22 SDid=1 SDtime=1141133324 >> Authorization=NNOC-NBFM-NNPC-GBAM-AIGH-PHDO-OLHP-KJLD >> covilinux-fd: job.c:205 Executing JobId= command. >> covilinux-dir: restore.c:131 dird>filed: storage address=localhost >> port=9103 ssl=0 >> >> covilinux-fd: job.c:189 <dird: storage address=localhost port=9103 ssl=0 >> covilinux-fd: job.c:205 Executing storage command. >> covilinux-fd: job.c:1120 StorageCmd: storage address=localhost port=9103 >> ssl=0 >> covilinux-fd: bnet.c:781 Current host[ipv4:127.0.0.1:9103] All >> host[ipv4:127.0.0.1:9103] >> covilinux-fd: bnet.c:1128 who=Storage daemon host=localhost port=9103 >> covilinux-sd: bnet.c:1128 who=client host=127.0.0.1 port=36643 >> covilinux-sd: cram-md5.c:52 send: auth cram-md5 >> <[EMAIL PROTECTED]> ssl=0 >> covilinux-fd: cram-md5.c:97 cram-get: auth cram-md5 >> <[EMAIL PROTECTED]> ssl=0 >> covilinux-fd: cram-md5.c:114 sending resp to challenge: >> g4+kf4RSqTVQOA+kg4/UqB >> covilinux-sd: cram-md5.c:68 Authenticate OK g4+kf4RSqTVQOA+kg4/UqB >> covilinux-fd: cram-md5.c:52 send: auth cram-md5 >> <[EMAIL PROTECTED]> ssl=0 >> covilinux-sd: cram-md5.c:97 cram-get: auth cram-md5 >> <[EMAIL PROTECTED]> ssl=0 >> covilinux-sd: cram-md5.c:114 sending resp to challenge: >> ij+hc++obkMPkj/SJhUlMA >> covilinux-fd: cram-md5.c:68 Authenticate OK ij+hc++obkMPkj/SJhUlMA >> covilinux-sd: job.c:173 Running job >> Restore_COVILinux.2006-02-28_14.35.22 >> covilinux-fd: job.c:189 <dird: bootstrap >> covilinux-fd: job.c:205 Executing bootstrap command. >> covilinux-fd: job.c:189 <dird: restore replace=a prelinks=0 >> where=/srv/restore >> covilinux-fd: job.c:205 Executing restore command. >> covilinux-sd: fd_cmds.c:296 read_open_session got: JobId=111 Vol=1 >> VolSessId=1141133324 VolSessT=0 >> covilinux-sd: fd_cmds.c:299 StartF=0 EndF=0 StartB=0 EndB=0 >> Next : 0x0 >> Root bsr : 0x80afc00 >> VolumeName : wsp-server.de_0001 >> SessId : 2 >> SessTime : 915166135 >> VolFile : 0-0 >> VolBlock : 2847977145-2882494880 >> FileIndex : 49 >> count : 1 >> found : 0 >> done : no >> positioning : 1 >> fast_reject : 1 > > > This looks reasonable to me. > >> covilinux-sd: read.c:46 Start read data. >> covilinux-sd: askdir.c:211 >dird: CatReq >> Job=Restore_COVILinux.2006-02-28_14.35.22 GetVolInfo >> VolName=wsp-server.de_0001 write=0 >> covilinux-dir: catreq.c:105 catreq CatReq >> Job=Restore_COVILinux.2006-02-28_14.35.22 GetVolInfo >> VolName=wsp-server.de_0001 write=0 >> covilinux-dir: catreq.c:140 CatReq GetVolInfo Vol=wsp-server.de_0001 >> covilinux-dir: catreq.c:84 Vol Info for >> Restore_COVILinux.2006-02-28_14.35.22: 1000 OK >> VolName=wsp-server.de_0001 VolJobs=11 VolFiles=1 VolBlocks=71575 >> VolBytes=4617062506 VolMounts=11 VolErrors=0 VolWrites=71576 >> MaxVolBytes=4617089800 VolCapacityBytes=0 VolStatus=Full Slot=0 >> MaxVolJobs=0 MaxVolFiles=0 InChanger=0 VolReadTime=0 VolWriteTime=0 >> EndFile=1 EndBlock=322095425 VolParts=0 LabelType=0 >> covilinux-sd: askdir.c:165 <dird 1000 OK VolName=wsp-server.de_0001 >> VolJobs=11 VolFiles=1 VolBlocks=71575 VolBytes=4617062506 VolMounts=11 >> VolErrors=0 VolWrites=71576 MaxVolBytes=4617089800 VolCapacityBytes=0 >> VolStatus=Full Slot=0 MaxVolJobs=0 MaxVolFiles=0 InChanger=0 >> VolReadTime=0 VolWriteTime=0 EndFile=1 EndBlock=322095425 VolParts=0 >> LabelType=0 >> covilinux-sd: acquire.c:186 bstored: open vol=wsp-server.de_0001 >> covilinux-sd: dev.c:277 open dev: tape=0 dev_name="FileStorage - >> WSP-SERVER.DE" (/srv/backup/wsp-server.de) vol=wsp-server.de_0001 >> mode=OPEN_READ_ONLY >> covilinux-sd: dev.c:286 call open_file_device mode=OPEN_READ_ONLY >> covilinux-sd: dev.c:415 Enter: open_file_dev: disk dev= >> mode=OPEN_READ_ONLY >> covilinux-sd: dev.c:431 open dev: disk >> dev=/srv/backup/wsp-server.de/wsp-server.de_0001 mode=OPEN_READ_ONLY >> covilinux-sd: dev.c:433 openmode=3 OPEN_READ_ONLY >> covilinux-sd: dev.c:438 mode=OPEN_READ_ONLY >> open(/srv/backup/wsp-server.de/wsp-server.de_0001, 0x0, 0640) >> covilinux-sd: dvd.c:559 Enter lseek_dev fd=8 part=0 nparts=0 >> covilinux-sd: dvd.c:561 Using sys lseek >> covilinux-sd: dev.c:453 open dev: disk fd=8 opened, part=0/0, >> part_size=0 >> covilinux-sd: acquire.c:198 opened dev "FileStorage - WSP-SERVER.DE" >> (/srv/backup/wsp-server.de) OK >> covilinux-sd: label.c:71 Enter read_volume_label res=0 >> device="FileStorage - WSP-SERVER.DE" (/srv/backup/wsp-server.de) >> vol=wsp-server.de_0001 dev_Vol=*NULL* >> covilinux-sd: dev.c:621 rewind res=0 fd=8 "FileStorage - WSP-SERVER.DE" >> (/srv/backup/wsp-server.de) >> covilinux-sd: dvd.c:559 Enter lseek_dev fd=8 part=0 nparts=0 >> covilinux-sd: dvd.c:561 Using sys lseek >> covilinux-sd: label.c:138 Big if statement in read_volume_label >> covilinux-sd: dvd.c:559 Enter lseek_dev fd=8 part=0 nparts=0 >> covilinux-sd: dvd.c:561 Using sys lseek >> covilinux-sd: dvd.c:559 Enter lseek_dev fd=8 part=0 nparts=0 >> covilinux-sd: dvd.c:561 Using sys lseek >> covilinux-sd: label.c:206 Compare Vol names: VolName=wsp-server.de_0001 >> hdr=wsp-server.de_0001 >> covilinux-sd: label.c:222 Copy vol_name=wsp-server.de_0001 >> >> Volume Label: >> Id : Bacula 1.0 immortal >> VerNo : 11 >> VolName : wsp-server.de_0001 >> PrevVolName : >> VolFile : 0 >> LabelType : VOL_LABEL >> LabelSize : 181 >> PoolName : WSP-SERVER.DE >> MediaType : File >> PoolType : Backup >> HostName : covilinux >> Date label written: 13-Feb-2006 12:47 >> covilinux-sd: label.c:227 Leave read_volume_label() VOL_OK >> covilinux-sd: dev.c:621 rewind res=0 fd=8 "FileStorage - WSP-SERVER.DE" >> (/srv/backup/wsp-server.de) >> covilinux-sd: dvd.c:559 Enter lseek_dev fd=8 part=0 nparts=0 >> covilinux-sd: dvd.c:561 Using sys lseek >> covilinux-sd: dvd.c:559 Enter lseek_dev fd=8 part=0 nparts=0 >> covilinux-sd: dvd.c:561 Using sys lseek >> covilinux-sd: dvd.c:559 Enter lseek_dev fd=8 part=0 nparts=0 >> covilinux-sd: dvd.c:561 Using sys lseek > > > Hmm. Funny that it refers to dvd.c - this is astonishing to me. > >> covilinux-sd: acquire.c:430 release_device device is disk >> covilinux-sd: dev.c:621 rewind res=0 fd=8 "FileStorage - WSP-SERVER.DE" >> (/srv/backup/wsp-server.de) >> covilinux-sd: dvd.c:559 Enter lseek_dev fd=8 part=0 nparts=0 >> covilinux-sd: dvd.c:561 Using sys lseek > > > lots of seeks here, but nothing was actually read as far as I can tell. > >> covilinux-sd: dev.c:1685 really close_dev "FileStorage - WSP-SERVER.DE" >> (/srv/backup/wsp-server.de) >> covilinux-sd: dvd.c:93 Enter unmount_dev >> covilinux-sd: read.c:83 Done reading. >> covilinux-fd: restore.c:426 End Do Restore. Files=0 Bytes=0 >> covilinux-fd: job.c:208 Quit command loop. Canceled=0 >> covilinux-fd: job.c:289 Calling term_find_files >> covilinux-fd: job.c:292 Done with term_find_files >> covilinux-fd: job.c:294 Done with free_jcr >> covilinux-dir: backup.c:271 FDStatus=T >> covilinux-dir: restore.c:204 In restore_cleanup >> covilinux-dir: restore.c:294 Leaving restore_cleanup >> covilinux-dir: ua_prune.c:382 select sql=SELECT count(*) FROM >> DelCandidates >> covilinux-dir: ua_prune.c:243 select sql=SELECT JobId from Job WHERE >> JobTDate<1138541725 AND ClientId=1 AND PurgedFiles=0 >> covilinux-dir: job.c:349 ======== End Job stat=T ========== > > > Interesting. > > I'll see if I find the time to run a restore from a disk volume and > compare the output. What I saw above makes this a case for Kern :-) > > Arno > >> Florian >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> > Hello,
just my personal curiosity here, as i am still hunting my own bugs. Is it possible that the missing files have german umlauts or other 'special' chars in their name? bye, Sebastian Hültenschmidt ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users