The file names are not encrypted in Bacula.
You could run bscan -r with the volume filename, which will print lines like
this:
bscan: bscan.c:442-0 Record: SessId=1 SessTim=1322225235 FileIndex=9 Stream=2
len=1895
Here Stream=2 corresponds to STREAM_FILE_DATA in the source file src/streams.h
(i.e. not encrypted or compressed). See the other definitions for the
STREAM_... constants in that file for the encrypted ones.
__Martin
>>>>> On Thu, 25 Jun 2020 16:28:15 -0400, r0002@nxlplyx com said:
>
> Hi everyone,
>
> I am having difficulty determining if the backup volume is encrypted.
>
> Using a hex editor, or any editor, I see the file names of the files
> that were backed up in plaintext in the backup volume.
>
> I am not a cryptographer, and so I cannot determine if the rest of the
> backup volume binary is encrypted or not. (I tend to think not because I
> can see plaintext file names.)
>
> Can someone tell me how to determine if the backup volume is encrypted?
>
> - Al
> ==
> relevant part of bacula-fd.conf file: (the key files were generated per
> the manual, exist and no errors were given)
>
> FileDaemon { # this is me
> Name = debian-fd
> FDport = 9102 # where we listen for the director
> WorkingDirectory = /opt/bacula/working
> Pid Directory = /var/run
> Maximum Concurrent Jobs = 20
> Plugin Directory = /opt/bacula/lib
>
> PKI Signatures = Yes # Enable Data
> PKI Encryption = Yes # Enable Data
> PKI Keypair = "/opt/bacula/etc/e156-bac963-fd.pem" # Public
> and Private Keys
> PKI Master Key = "/opt/bacula/etc/e156-bac963-master.cert" # ONLY
> the Public Key
> PkiCipher = AES256
> }
>
>
> ====
> Backup report:
> Build OS: x86_64-pc-linux-gnu debian 10.4
> JobId: 1
> Job: BackupClient1.2020-06-25_15.49.18_03
> Backup Level: Full (upgraded from Incremental)
> Client: "debian-fd" 9.6.5 (11Jun20)
> x86_64-pc-linux-gnu,debian,10.4
> FileSet: "Full Set" 2020-06-25 15:49:18
> Pool: "File" (From Job resource)
> Catalog: "MyCatalog" (From Client resource)
> Storage: "File1" (From Job resource)
> Scheduled time: 25-Jun-2020 15:49:16
> Start time: 25-Jun-2020 15:49:20
> End time: 25-Jun-2020 15:49:24
> Elapsed time: 4 secs
> Priority: 10
> FD Files Written: 29
> SD Files Written: 29
> FD Bytes Written: 394,637,072 (394.6 MB)
> SD Bytes Written: 394,657,841 (394.6 MB)
> Rate: 98659.3 KB/s
> Software Compression: None
> Comm Line Compression: None
> Snapshot/VSS: no
> Encryption: yes
> Accurate: no
> Volume name(s): Vol-0001
> Volume Session Id: 1
> Volume Session Time: 1593114524
> Last Volume Bytes: 394,952,849 (394.9 MB)
> Non-fatal FD errors: 0
> SD Errors: 0
> FD termination status: OK
> SD termination status: OK
> Termination: Backup OK
>
>
> ====
> Compile config:
>
> Large file support: yes
> Bacula conio support: yes -ltinfo
> readline support: no
> TCP Wrappers support: no
> TLS support: yes
> Encryption support: yes
> ZLIB support: yes
> LZO support: yes
> S3 support: yes
> enable-smartalloc: yes
> enable-lockmgr: no
> bat support: no
> client-only: no
> build-dird: yes
> build-stored: yes
> Plugin support: yes
> AFS support: no
> ACL support: yes
> XATTR support: yes
> systemd support: no
> Batch insert enabled: PostgreSQL
>
> Plugins:
> - Docker: no
>
> ===
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users