BTAPE(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

πŸ’– BTAPE πŸ’– β€” the btape girlies' guide (section 8, network backup, recovery and verification)

okay so bestie. btape is Bacula's tape interface test program β€” like, it's THE tool for poking at your tape drive directly and seeing if it's actually serving or just lying to you. it lives in section 8 of the manual, and this is literally its whole page. let's get into it πŸ’…


✨ SYNOPSIS ✨

btape [options] device-name

yeah that's it. options, then the device. she's simple like that πŸŽ€


🌸 DESCRIPTION 🌸

fr fr, this manual page documents the btape command β€” briefly. that's the whole vibe of this section. short, sweet, iconic. periodt. ✨


πŸ’œ OPTIONS πŸ’œ

here's the summary of all the options, no skips, no gatekeeping:

  • -? β€” show the summary of options and commands. your lil cheat sheet 🫢
  • -b bootstrap β€” specify a bootstrap file.
  • -c config β€” specify the configuration file.
  • -d nn β€” set the debug level to nn.
  • -p β€” proceed inspite of I/O errors. yes, the original really spells it "inspite", and honestly? she's got main character energy, we respect her 🫑
  • -s β€” no signals (this one's for debugging).
  • -v β€” set verbose mode. she's chatty now πŸ’¬

πŸ”₯ COMMANDS πŸ”₯

these are the commands you can throw at btape once you're in there. same order as the original, every single one, let's GO:

  • autochanger β€” test autochanger
  • bsf β€” backspace file
  • bsr β€” backspace record
  • cap β€” list device capabilities
  • clear β€” clear tape errors
  • eod β€” go to end of Bacula data for append
  • eom β€” go to the physical end of medium
  • fill β€” fill tape, write onto second volume
  • unfill β€” read filled tape
  • fsf β€” forward space a file
  • fsr β€” forward space a record
  • help β€” print this reference
  • label β€” write a Bacula label to the tape
  • load β€” load a tape
  • quit β€” quit btape
  • rawfill β€” use write() to fill tape
  • readlabel β€” read and print the Bacula tape label
  • rectest β€” test record handling functions
  • rewind β€” rewind the tape
  • scan β€” read() tape block by block to EOT and report
  • scanblocks β€” Bacula read block by block to EOT and report
  • status β€” print tape status
  • test β€” General test Bacula tape functions
  • weof β€” write an EOF on the tape
  • wr β€” write a single Bacula block
  • rr β€” read a single record
  • rb β€” read a single bacula block
  • qfill β€” quick fill command
ngl bestie, fill and rawfill and qfill all sound like they're gonna eat your tape alive β€” that's on purpose, that's what they're for. it's a test program. test responsibly 🫠

πŸ¦‹ SEE ALSO πŸ¦‹

go read her sisters, they're icons too:

  • bscan(1)
  • bextract(1)

πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Jose Luis Tallon <jltallon@adv-solutions.net>. give her her flowers πŸ’


this man page document is released under the BSD 2-Clause license. slay, legally speaking. βš–οΈβœ¨


and that's the whole page, bestie β€” written by Kern Sibbald on 26 November 2009, in the BTAPE(8) era of the Bacula manual. no cap, she's been iconic since '09 πŸ’–πŸŽ€πŸŒˆ