Hi, 

I have trouble restoring from tape. Jobs start as expected, but at some 
point during the restore, the filedaemon is killed with signal 11. 

*restore jobid=213438 client=prestore01-fd all done yes 

May 23 05:16:57 prestore01 bareos-fd[30717]: bareos-fd, prestore01-fd got 
signal 11 - Segmentation violation. Attempting traceback. 
May 23 05:16:57 prestore01 bareos-fd[30717]: exepath=/usr/sbin/ 
May 23 05:16:57 prestore01 bareos-fd[30717]: BAREOS interrupted by signal 
11: Segmentation violation 
May 23 05:16:57 prestore01 bareos-fd[30917]: Calling: /usr/sbin/btraceback 
/usr/sbin/bareos-fd 30717 /var/lib/bareos 
May 23 05:16:57 prestore01 bareos-fd[30924]: bsmtp: tools/bsmtp.cc:455-0 
Failed to connect to mailhost localhost 
May 23 05:16:57 prestore01 bareos-fd[30717]: The btraceback call returned 1 
May 23 05:16:57 prestore01 bareos-fd[30717]: Dumping: 
/var/lib/bareos/prestore01-fd.30717.bactrace 

cat /var/lib/bareos/prestore01-fd.30717.bactrace 
Attempt to dump current JCRs. njcrs=1 
threadid=0x00007f399fdfe6c0 JobId=213439 JobStatus=R jcr=0x7f3998047ec0 
name=RestoreFiles.2025-05-23_10.16.37_28 
threadid=0x00007f399fdfe6c0 killable=1 JobId=213439 JobStatus=R 
jcr=0x7f3998047ec0 name=RestoreFiles.2025-05-23_10.16.37_28 
       UseCount=1 
       JobType=R JobLevel= 
       sched_time=23-May-2025 05:16 start_time=23-May-2025 05:16 
       end_time=31-Dec-1969 18:00 wait_time=31-Dec-1969 18:00 
       db=(nil) db_batch=(nil) batch_started=0 

Steps to reproduce: 
1. Full backup to disk 
2. Copy to tape via next pool 
3. Restore from disk is ok 
4. Restore from tape is not ok 

What I tried without success so far: 
- Deleted the jobs from tape and copied them again 
  The error occourred after the same amount of restored files 
- Tried a different Tape 
- Tried other fd versions. 22(debian), 23(suse) and 24(suse) 
- Changed the blocksize to 512 in the sd 
- Disabled compression and rerun everything 

Client { 
 Name = prestore01-fd 
 #Maximum Concurrent Jobs = 20 
 FDport = 9102 
 PKI Signatures = Yes 
 PKI Encryption = Yes 
 PKI Keypair = "/etc/bareos/master.pem" 
 PKI Master Key = "/etc/bareos/prestore01.cert" 
 PkiCipher = AES256  
} 

Pool { 
 Name = Full 
 Pool Type = Backup 
 Recycle = Yes 
 Volume Retention = 12 months 
 Maximum Volumes = 125 
 Maximum Volume Bytes = 125G 
 Next Pool = "TapeFull" 
 Label Format = "Full-" 
 Storage = LocalStorage 
} 

Pool { 
 Name = TapeFull 
 Pool Type = Backup 
 Recycle = Yes 
 Volume Retention = 13 month 
 Storage = TL1000 
 Cleaning Prefix = CLN 
} 

Job { 
 Name = CopyFull2Tape 
 JobDefs = "CycleJob" 
 Type = Copy 
 Selection Type = PoolUncopiedJobs 
 Level = Full 
 Pool = Full 
 Messages = Standard 
 Client = pbackup01-fd 
 FileSet = "SuseBase" 
 Storage = "LocalStorage" 
 Schedule = "CopyFull2Tape" 
} 

System Info: 
Bareos: 24.0.4~pre0.1014be830-74 
OS: openSUSE Leap 15.6 
Catalog: Postgresql 
Tape: LTO8 

Thanks in advance

-- 
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 visit 
https://groups.google.com/d/msgid/bareos-users/08776ca6-2a98-4901-a228-524922713a9en%40googlegroups.com.

Reply via email to