logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

backup_delhost - Deletes a Tape Coordinator entry from the Backup Database

Description

       The backupdelhost command deletes the indicated Tape Coordinator entry from the Backup Database. It is
       then impossible to submit backup operations to that Tape Coordinator, even if it is still running. To
       keep configuration information consistent, also remove the corresponding entry from the
       /var/lib/openafs/backup/tapeconfig file on the Tape Coordinator machine.

       To list the Tape Coordinator machines and port offsets defined in the Backup Database, issue the backuplisthosts command.

Examples

       The following command deletes the Backup Database entry for the Tape Coordinator with port  offset  2  on
       the Tape Coordinator machine "backup3.example.com":

          % backup delhost -tapehost backup3.example.com -portoffset 2

Name

       backup_delhost - Deletes a Tape Coordinator entry from the Backup Database

Options

-tapehost <tapemachinename>
           Specifies the hostname of the machine housing the Tape Coordinator to delete.

       -portoffset <TCportoffset>
           Specifies the port offset number of the Tape Coordinator to delete.  If omitted, it defaults to 0. If
           provided, it is an integer between 0 (zero) and 58510, and must match the port offset number assigned
           to    the   same   combination   of   Tape   Coordinator   and   tape   device   or   file   in   the
           /var/lib/openafs/backup/tapeconfig file on the Tape Coordinator machine indicated  by  the  -tapehost
           argument.

       -localauth
           Constructs  a  server  ticket using a key from the local /etc/openafs/server/KeyFile file. The backup
           command interpreter presents it to the Backup Server, Volume  Server  and  VL  Server  during  mutual
           authentication. Do not combine this flag with the -cell argument. For more details, see backup(8).

       -cell <cellname>
           Names  the  cell  in which to run the command. Do not combine this argument with the -localauth flag.
           For more details, see backup(8).

       -help
           Prints the online help for this command. All other valid options are ignored.

Privilege Required

       The  issuer  must  be  listed  in the /etc/openafs/server/UserList file on every machine where the Backup
       Server is running, or must be logged onto  a  server  machine  as  the  local  superuser  "root"  if  the
       -localauth flag is included.

See Also

backup(8), backup_addhost(8), backup_listhosts(8)

Synopsis

backupdelhost-tapehost <tapemachinename>
           [-portoffset <TCportoffset>] [-localauth]
           [-cell <cellname>] [-help]

       backupdelh-t <tapemachinename>
           [-p <TCportoffset>]
           [-l] [-c <cellname>] [-h]

See Also