Thanks' Bruno, So, use bscan with sintax below: bscan -s -u user -n database -P password -m -c /opt/bareos/bareos-sd.conf -v -V tape01 /dev/nst0 -t 5432 -B postgresql -d 03 2>&1 >> /home/log-BSCAN &
Has been follow of the error: bscan: butil.c:271-0 Using device: "/dev/nst0" for reading. 05-Dec 09:11 bscan JobId 0: No slot defined in catalog (slot=0) for Volume "tape-01" on "LTO5" (/dev/nst0). 05-Dec 09:11 bscan JobId 0: Cartridge change or "update slots" may be required. 05-Dec 09:11 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 0" command. 05-Dec 09:11 bscan JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 6. 05-Dec 09:11 bscan JobId 0: Ready to read from volume "tape-01" on device "LTO5" (/dev/nst0). bscan: bscan.c:337-0 Using Database: database, User: user bscan: bscan.c:529-0 Pool record for Scratch found in DB. bscan: bscan.c:543-0 Pool type "Backup" is OK. bscan: bscan.c:1132-0 Created Media record for Volume: tape-01 bscan: bscan.c:574-0 Media type "LTO-5" is OK. bscan: bscan.c:587-0 VOL_LABEL: OK for Volume: tape-01 bscan: bscan.c:767-0 Could not find Job for SessId=10 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=12 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=5 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=4 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=10 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=12 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=5 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=4 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=10 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=12 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=5 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=4 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=10 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=12 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=5 SessTime=1466856432 record. bscan: bscan.c:767-0 Could not find Job for SessId=4 SessTime=1466856432 record. Not find resolution in the manual about bscan, you could give me other sugestion, please... Fabio Ferreira (14) 99149-7227 2016-12-05 4:36 GMT-02:00 Bruno Friedmann <friedmann.br...@gmail.com>: > On dimanche, 4 décembre 2016 16.27:00 h CET itfmferre...@gmail.com wrote: > > when restore jobid 1111 the message show: > > > > > > For one or more of the JobIds selected, no files were found, > > so file selection is not possible. > > Most likely your retention policy pruned the files. > > > > its possible only restore the total volume, not the jobid, how can I do > > reinsert of joid in catalog? > > > > Please help-me, breaking my head. Thank's. > > bscan (check manual for the usage) the volume will allow to reinsert files > records in the db. > > > -- > > Bruno Friedmann > Ioda-Net Sàrl www.ioda-net.ch > Bareos Partner, openSUSE Member, fsfe fellowship > GPG KEY : D5C9B751C4653227 > irc: tigerfoot > > openSUSE Tumbleweed > Linux 4.8.11-1-default x86_64 GNU/Linux, nvidia: 375.20 > Qt: 5.7.0, KDE Frameworks: 5.28.0, Plasma: 5.8.4, kmail2 5.3.3 > (QtWebEngine) > > -- > You received this message because you are subscribed to a topic in the > Google Groups "bareos-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/bareos-users/m7Hp3AAxE9Q/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > bareos-users+unsubscr...@googlegroups.com. > To post to this group, send email to bareos-users@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 bareos-users+unsubscr...@googlegroups.com. To post to this group, send email to bareos-users@googlegroups.com. For more options, visit https://groups.google.com/d/optout.