Correct I am using encryption. If you cannot use bextract on encrypted volumes how are you supose to recover them?
I have tried this for example bscan -v -b /tmp/bootstrap.bsr -m -s FileStorage-0001 I get error that it cannot update the media record., but it inserts the files an job. I can't restore in my tests from that as it complains there is not volume bscan: stored/butil.cc:305-0 Using device: "FileStorage-0001" for reading. 22-Jan 13:31 bscan JobId 0: Ready to read from volume "Full-0001" on device "FileStorage-0001" (/var/lib/bareos/storage/file). bscan: stored/bscan.cc:322-0 Using Database: bareos, User: bareos 22-Jan 13:31 bscan JobId 0: Forward spacing Volume "Full-0001" to file:block 0:163006. bscan: stored/bscan.cc:601-0 SOS_LABEL: Found Job record for JobId: 1 bscan: stored/bscan.cc:1173-0 Fileset "Catalog" already exists. bscan: stored/bscan.cc:1289-0 Updated Job termination record for JobId=1 Level=Full TermStat=T 22-Jan 13:31 bscan JobId 0: End of Volume at file 0 on device "FileStorage-0001" (/var/lib/bareos/storage/file), Volume "Full-0001" bscan (0): stored/bscan.cc:363-0 ========== JobId=0 ======== bscan: stored/bscan.cc:1101-0 Could not update media record. ERR= 22-Jan 13:31 bscan JobId 0: End of all volumes. bscan: stored/bscan.cc:1101-0 Could not update media record. ERR= bscan: stored/bscan.cc:735-0 End of all Volumes. VolFiles=0 VolBlocks=0 VolBytes=162,902 Records added or updated in the catalog: 0 Media 0 Pool 1 Job 121 File 0 RestoreObject 22-Jan 13:31 bscan JobId 0: Releasing device "FileStorage-0001" (/var/lib/bareos/storage/file). Unable to get Job Volume Parameters. ERR=cats/sql_get.cc:408 No volumes found for JobId=1 Unable to construct a valid BootStrapRecord. Cannot continue. On Wednesday, January 22, 2025 at 1:25:37 a.m. UTC-5 Sebastian Sura wrote: > Hello wizhippo, > > Is it possible that you backed up your data with encryption turned on ? > `stream=32` is supposed to be `STREAM_ENCRYPTED_FILE_COMPRESSED_DATA`. > I think bextract does not currently support extracting encrypted data. > Feel free to open an issue about it here: > https://github.com/bareos/bareos/issues > > Best Regards > Sebastian Sura > Am 21.01.25 um 23:14 schrieb wizh...@gmail.com: > > I run the following > > bextract -b ~/bootstrap.bsr FileStorage-0001 /tmp/ > > I get theses errors and the sql file is empty > > bextract: stored/butil.cc:305-0 Using device: "FileStorage-0001" for > reading. > 21-Jan 22:12 bextract JobId 0: Ready to read from volume "Full-0002" on > device "FileStorage-0001" (/var/lib/bareos/storage/file). > 21-Jan 22:12 bextract JobId 0: Forward spacing Volume "Full-0002" to > file:block 0:208. > bextract JobId 0: -rw-r--r-- 1 bareos bareos 18565666 2025-01-21 > 22:07:00 /tmp//var/lib/bareos/bareos.sql > 21-Jan 22:12 bextract JobId 0: Error: Unknown stream=32 ignored. This > shouldn't happen! > 21-Jan 22:12 bextract JobId 0: Error: Unknown stream=32 ignored. This > shouldn't happen! > 21-Jan 22:12 bextract JobId 0: Error: Unknown stream=32 ignored. This > shouldn't happen! > 21-Jan 22:12 bextract JobId 0: Error: Unknown stream=32 ignored. This > shouldn't happen! > 21-Jan 22:12 bextract JobId 0: Error: Unknown stream=32 ignored. This > shouldn't happen! > > Any ideas why that would be? > > Using bareos-dir Version: 24.0.1~pre19.3e3a7a6a2 (08 January 2025) Ubuntu > 24.04.1 LTS -- > 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...@googlegroups.com. > To view this discussion visit > https://groups.google.com/d/msgid/bareos-users/3983e9b0-e8b9-4a89-807e-0dc6c61730a8n%40googlegroups.com > > <https://groups.google.com/d/msgid/bareos-users/3983e9b0-e8b9-4a89-807e-0dc6c61730a8n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- > Sebastian Sura sebasti...@bareos.com > Bareos GmbH & Co. KG Phone: +49 221 630693-0 > https://www.bareos.com > Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 > Komplementär: Bareos Verwaltungs-GmbH > Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz > > -- 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 view this discussion visit https://groups.google.com/d/msgid/bareos-users/0318f5f8-c7b0-48e6-bbd5-8312925aa216n%40googlegroups.com.