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_addvolset - Creates a new (empty) volume set

Description

       The backupaddvolset command creates a new volume set, by default adding it to the Backup Database. It is
       best that the volume set's name indicate the volume set's contents; for example, define the volume
       entries in the "user" volume set to match all user volumes. The volume set name must be unique within the
       Backup Database of the local cell.

       After issuing this command, issue the backupaddvolentry command to define the volume entries in the
       volume set.

       Sometimes it is convenient to create volume sets without recording them permanently in the Backup
       Database, for example when using the backupvolsetrestore command to restore a group of volumes that were
       not necessarily backed up together. To create a temporary volume set, include the -temporary flag. A
       temporary volume set exists only during the lifetime of the current interactive session, so the flag is
       effective only when used during an interactive session (opened by issuing the backupinteractive
       command). If it is included when the command is issued at the regular command shell prompt, the command
       appears to succeed, but the volume set is not created. As noted, a temporary volume set ceases to exist
       when the current interactive session ends, or use the backupdelvolset command to delete it before that.

       One advantage of temporary volume sets is that the backupaddvolset command, and any backupaddvolentry
       commands subsequently used to add volume entries to it, complete more quickly than for regular volume
       sets, because no records are created in the Backup Database.

Examples

       The following command creates a volume set called "sys":

          % backup addvolset sys

Name

       backup_addvolset - Creates a new (empty) volume set

Options

-name <volumesetname>
           Names the new volume set. The name can include up to 31 of any character other than the period. Avoid
           other metacharacters as well.

       -temporary
           Creates  a  volume  set that exists only within the context of the current interactive session. It is
           not added to the Backup Database.

       -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_addvolentry(8),  backup_delvolentry(8),  backup_delvolset(8),  backup_listvolsets(8),
       backup_volsetrestore(8)

Synopsis

backupaddvolset-name <volumesetname> [-temporary]
           [-localauth] [-cell <cellname>] [-help]

       backupaddvols-n <volumesetname> [-t] [-l]
           [-c <cellname>] [-h]

See Also