BACKUP_ADDHOST(8)
β¨ backup_addhost β the AFS Command Reference, bestie edition β¨
okay so real talk, you're here because you want to add a Tape Coordinator to the Backup Database. That's backup_addhost, and it lives in section 8 of the AFS manual, and it is genuinely about to make your backup life so much easier. Let's go π
πΈ NAME πΈ
backup_addhost β bestie, this literally adds a Tape Coordinator entry to the Backup Database. that's it, that's the whole job, and it does it flawlessly π
π SYNOPSIS π
backup addhost -tapehost <tape machine name>
[-portoffset <TC port offset>]
[-localauth] [-cell <cell name>] [-help]
backup addh -t <tape machine name>
[-p <TC port offset>]
[-l] [-c <cell name>] [-h]
π¦ DESCRIPTION π¦
So backup addhost creates a Tape Coordinator entry in the Backup Database. And what does that entry actually record? Two things, and they're both important, so pay attention bestie:
- The host name of the Tape Coordinator machine where the Tape Coordinator (
butc) process runs β you specify this with the-tapehostargument. - The Tape Coordinator's port offset number β you specify this with the
-portoffsetargument. And here's the tea: an entry for the port offset has to also appear in the/var/lib/openafs/backup/tapeconfigfile on the Tape Coordinator machine, where it gets mapped to a UNIX device name (for a tape device) or a pathname (for a backup data file). both places, no skipping π«Ά
Each Tape Coordinator must have its own port offset number. Like, its own. The command fails if a Backup Database entry already exists for the requested port offset number, so no doubling up, periodt. And if you want to see what Tape Coordinator entries already exist? Use the backup listhosts command. slay.
β¨ OPTIONS β¨
-tapehost<tape machine name> β specifies the fully-qualified hostname of the machine you're creating a Tape Coordinator entry for in the Backup Database. Heads up: the machine has to have an entry in either the cell's naming service (like the Domain Name Service) or the host file (/etc/hostsor equivalent) on the machine where you're issuing the command. no entry, no luck, iykyk.-portoffset<TC port offset> β specifies the Tape Coordinator's port offset number. Give it an integer from the range 0 through 58510, or just omit this argument entirely and it uses the default value of0(zero). The value must match the port offset number recorded for the same combination of Tape Coordinator and tape device or file in the/var/lib/openafs/backup/tapeconfigfile on the Tape Coordinator machine named by the-tapehostargument. matching vibes only π-localauthβ constructs a server ticket using a key from the local/etc/openafs/server/KeyFilefile. Thebackupcommand interpreter then presents it to the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the-cellargument, okay? For more details, seebackup(8).-cell<cell name> β names the cell in which to run the command. Do not combine this argument with the-localauthflag. For more details, seebackup(8).-helpβ prints the online help for this command. And every other valid option? Ignored. literally ignored, bestie π
π EXAMPLES π
This command creates an entry in the Backup Database that assigns port offset number 4 to a Tape Coordinator running on the machine "backup1.example.com":
% backup addhost -tapehost backup1.example.com -portoffset 4
And this one creates a Backup Database entry that assigns port offset number 0 to a Tape Coordinator on the machine "backup3.example.com":
% backup addhost backup3.example.com
notice the second one didn't even need-portoffsetbecause0is the default. she's low-maintenance like that π
π PRIVILEGE REQUIRED π
The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running. Or, if the -localauth flag is included, they must be logged onto a server machine as the local superuser "root". those are the two options, no third door, main character energy only β¨
π SEE ALSO π
go read them too, they're all part of the squad π«Ά
π COPYRIGHT π
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
okay that's the whole page, you ate this, no cap π this was OpenAFS, dated 2026-07-27 β go forth and add your hosts, bestie, you've got this π β¨πΈ
π¦ where this page comes from
- ubuntu stonking: openafs-client 1.8.16.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms