Hi Fabio, I didn't got bscan running with the new directory structure of 16.2 (probabaly it's my fault?). If I copy all parts together like the old configuration it works.
Regards Stefan Am 10.12.2016 um 02:51 schrieb Stefan Klatt: > Hi Fabio, > > I found this errors too (with using the option "-s") if I scan a volume > which is not the first volume and has a part of a backup at the beginning. > > Regards > > Stefan > > Am 10.12.2016 um 02:08 schrieb Stefan Klatt: >> Hi Fabio, >> >> could you try additionally the option "-s"? >> >> Regards >> >> Stefan >> >> >> Am 05.12.2016 um 17:41 schrieb Fabio ferreira: >>> 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 <[email protected] >>> <mailto:[email protected]>>: >>> >>> On dimanche, 4 décembre 2016 16.27:00 h CET [email protected] >>> <mailto:[email protected]> 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 <http://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 >>> >>> <https://groups.google.com/d/topic/bareos-users/m7Hp3AAxE9Q/unsubscribe>. >>> To unsubscribe from this group and all its topics, send an email >>> to [email protected] >>> <mailto:bareos-users%[email protected]>. >>> To post to this group, send email to [email protected] >>> <mailto:[email protected]>. >>> For more options, visit https://groups.google.com/d/optout >>> <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 [email protected] >>> <mailto:[email protected]>. >>> To post to this group, send email to [email protected] >>> <mailto:[email protected]>. >>> For more options, visit https://groups.google.com/d/optout. -- *CaC, Computer and Communication* Inhaber Stefan Klatt End-2-End Senior Network Consultant Triftstrasse 9 60528 Frankfurt Germany USt-IdNr.: DE260461592 Tel.: +49-(0)172-6807809 Tel.: +49-(0)69-67808-900 Fax: +49-(0)69-67808-837 Email: [email protected] Profil: http://www.cac-netzwerk.de/profil -- 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.
smime.p7s
Description: S/MIME Cryptographic Signature
