BSCAN(8)

πŸ“¦
version 15.0.3 Β· 2 versions
  • 15.0.3 Β· alpine 3.22, alpine 3.23, alpine 3.24, centos-stream 9, debian bookworm, debian trixie, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 25.0.3 Β· alpine 3.24
, in alpine 3.22, alpine 3.23, alpine 3.24, centos-stream 9, debian bookworm, debian trixie, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

BSCAN(8) β€” the iconic 'Scan tape' era πŸ’…

okay bestie, pull up a chair πŸŽ€ this is bscan, straight out of the Network backup, recovery and verification section of the manual (section 8, we're in admin territory, no cap).


✨ NAME ✨

bscan β€” Bacula's 'Scan tape', fr fr πŸ‘‘


🌸 SYNOPSIS 🌸

bscan [options] bacula-archive

like... that's it. that's the whole vibe. one binary, one archive, a whole lotta healing πŸ’–


πŸ’« DESCRIPTION πŸ’«

so the whole point of bscan is to read (scan) a Bacula Volume and to recreate or update the database contents with the information found on the Volume. and the way it does it?? non-destructively. no cap, it does not eat your tape. πŸ¦‹

which means it lets you restore database entries that got lost by pruning, purging, deleting, or a database corruption problem. it's giving rescue mission main character energy 😭🫢

real talk though β€” normally you should not need to run the bscan command at all. the database is self maintaining, and most corrupted databases can be repaired by the tools provided by the database vendors. also!! if you kept bootstrap files during backups, you should be able to recover all your data from the bootstrap file without needing an up to date catalog. so like... check those first, bestie πŸ™ˆ

bscan command.

(yeah that line is just. there. in the original. it's a whole sentence with no rizz and i respect it πŸ’€)


✨ OPTIONS ✨

a summary of options is included below, and i am listing every single one because we don't skip πŸ’…

  • -? β€” Show version and usage of program. it's the "who am i and what do i do" button 🌈
  • -b bootstrap β€” Specify a bootstrap file. yes bestie, the rescue file πŸŽ€
  • -c config β€” Specify configuration file.
  • -d nn β€” Set debug level to nn. turn the volume up ⭐
  • -dt β€” Print timestamp in debug output. so you know when everything went down πŸ•
  • -m β€” Update media info in database.
  • -D β€” Specify the driver database name (default: NULL)
  • -n name β€” Specify the database name (default: bacula)
  • -u username β€” Specify database username (default: bacula)
  • -P password β€” Specify database password (default: none)
  • -h host β€” Specify database host (default: NULL)
  • -t port β€” Specify database port (default: 0)
  • -p β€” Proceed in spite of I/O errors. bold. reckless. iconic πŸ”₯
  • -r β€” List records.
  • -s β€” Synchronize or store in Database.
  • -S β€” Show scan progress periodically. the little "we're getting there" 🫢
  • -v β€” Verbose output mode. yapper mode activated πŸ’¬
  • -V volume β€” Specify volume names (separated by '|')
  • -w dir β€” Specify working directory (default from conf file)

πŸ‘€ SEE ALSO πŸ‘€

go read these too, iykyk:


πŸ’– AUTHOR πŸ’–

This manual page was written by Jose Luis Tallon <jltallon@adv-solutions.net>, for the Debian GNU/Linux system (but may be used by others). absolute legend behavior, we love a contributor 🫑✨


This man page document is released under the BSD 2-Clause license. periodt. πŸŽ€


and that's the whole page, bestie!! this edition of the manual was served up by Kern Sibbald on 26 November 2009, filed under BSCAN(8) β€” go forth and scan responsibly πŸ’œπŸ¦‹πŸŒΈ