VIRTNBDMAP(1)
π VIRTNBDMAP β the virtnbdmap manual, bestie edition
okay so real talk, this is the page for virtnbdmap, a User Commands situation, and yes it's giving "I read the whole thing so you don't have to" energy. Let's get into it π«Ά
β¨ NAME β¨
virtnbdmap β map virtnbdbackup image files to nbd devices π
πΈ DESCRIPTION πΈ
Bestie, here's the whole usage vibe, copy-pasted exactly because I would never do you like that:
usage: virtnbdmap [-h] -f FILE [-b BLOCKSIZE] [-d DEVICE] [-e EXPORT_NAME]
[-t THREADS] [-l LISTEN_ADDRESS] [-p LISTEN_PORT] [-n] [-L LOGFILE]
[--nocolor] [-r] [-H] [-v] [-V]
What does it do? Map backup image(s) to a block device. That's the whole main character moment. π
π options: π
-h,--helpβ shows this very help message and then dips out, exit stage left. π¦
π§ General options: π§
-f,--file FILEβ the list of Backup files you wanna map. yeah this one's basically required, no cap.-b,--blocksize BLOCKSIZEβ the maximum blocksize that gets passed tonbdkit. (default:4096) β¨-d,--device DEVICEβ the target device, aka where this whole thing lands. (default:/dev/nbd0)-e,--export-name EXPORT_NAMEβ the export name handed over tonbdkit. (default:sda)-t,--threads THREADSβ how many threads get passed to thenbdkitprocess. (default:1)-l,--listen-address LISTEN_ADDRESSβ the IP Address thenbdkitprocess listens on. (default:127.0.0.1) π-p,--listen-port LISTEN_PORTβ the Port thenbdkitprocess listens on. (default:10809)-n,--noprogressβ kills the progress bar. no more lil loading vibes, just silence π
π Logging options: π
-L,--logfile LOGFILEβ path to the Logfile. (default:/home/abi/virtnbdmap.log)--nocolorβ disables colored output. (default:False) yes bestie, that's the literal default value, I'm not making this up
π Debug options: π
-r,--readonlyβ maps the image readonly, so nothing gets written back. (default:False) π§-H,--hexdumpβ hexdumps data into the logfile for debugging. (default:False)-v,--verboseβ turns on debug output. the yapper setting π₯-V,--versionβ shows the version and exits. periodt.
π EXAMPLES π
okay these are the actual examples, verbatim, do not @ me:
# Map full backup to device /dev/nbd0:
virtnbdmap -f /backup/sda.full.data
# Map full backup to device /dev/nbd2:
virtnbdmap -f /backup/sda.full.data -d /dev/nbd2
# Map sequence of full and incremental to device /dev/nbd2:
virtnbdmap -f /backup/sda.full.data,/backup/sda.inc.1.data -d /dev/nbd2
likeβ¦ the way that last one just chains a full and an incremental with a lil comma?? iconic. π
and that's the whole thing bestie, you ate π this was virtnbdmap 2.49, dated July 2026 β go map something and slay β¨π¦π
π¦ where this page comes from
- ubuntu stonking: virtnbdbackup 2.49-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms