The backup addvolentry command adds a volume entry definition to the existing volume set named by the -name argument. A volume entry definition can match one or more volumes, depending on the combination of the -server, -partition, and -volumes arguments.
The name of one machine or partition.
The metacharacter expression .* (period and asterisk), which matches every machine name or partition name in the Volume Location Database (VLDB).
For the -volumes argument, specify a combination of alphanumeric characters and one or more metacharacters to wildcard part or all of the volume name. OPTIONS lists the acceptable metacharacters.
It is best to issue this command in interactive mode. If issuing it at the shell prompt, enclose any strings containing metacharacters in double quotes, or escape the metacharacters with other delimiters, to prevent the shell from interpreting them. Adding volume entries to a temporary volume set is possible only within the interactive session in which the volume set was created.
Names the volume set to which to add this volume entry definition. The volume set must already exist (use the backup addvolset command to create it).
Defines the set of one or more file server machines that house the volumes in the volume entry. Provide either one fully-qualified hostname (such as fs1.abc.com) or the metacharacter expression .* (period and asterisk), which matches all machine names in the VLDB.
Defines the set of one or more partitions that house the volumes in the volume entry. Provide either one complete partition name (such as /vicepa) or the metacharacter expression .* (period and asterisk), which matches all partition names.
The period matches any single character.
The asterisk matches zero or more instances of the preceding character. Combine it with any other alphanumeric character or metacharacter.
Square brackets around a list of characters match a single instance of any of the characters, but no other characters; for example, [abc] matches a single a or b or c, but not d or A. This expression can be combined with the asterisk.
The caret, when used as the first character in a square-bracketed set, designates a match with any single character except the characters that follow it; for example, [^a] matches any single character except lowercase a. This expression can be combined with the asterisk.
A backslash preceding any of the metacharacters in this list makes it match its literal value only. For example, the expression \. (backslash and period) matches a single period, \* a single asterisk, and \\ a single backslash. Such expressions can be combined with the asterisk (for example, \.* matches any number of periods).
The chapter in the OpenAFS Administration Guide about configuring the AFS Backup System presents additional examples as well as advice on grouping volumes.
The issuer must be listed in the /usr/afs/etc/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.