backport to buster
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / backup_addvolset.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3backup_addvolset - Creates a new (empty) volume set
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<backup addvolset> S<<< B<-name> <I<volume set name>> >>> [B<-temporary>]
11 [B<-localauth>] S<<< [B<-cell> <I<cell name>>] >>> [B<-help>]
12
13B<backup addvols> S<<< B<-n> <I<volume set name>> >>> [B<-t>] [B<-l>]
14 S<<< [B<-c> <I<cell name>>] >>> [B<-h>]
15
16=for html
17</div>
18
19=head1 DESCRIPTION
20
21The B<backup addvolset> command creates a new volume set, by default
22adding it to the Backup Database. It is best that the volume set's name
23indicate the volume set's contents; for example, define the volume entries
24in the C<user> volume set to match all user volumes. The volume set name
25must be unique within the Backup Database of the local cell.
26
27After issuing this command, issue the B<backup addvolentry> command to
28define the volume entries in the volume set.
29
30Sometimes it is convenient to create volume sets without recording them
31permanently in the Backup Database, for example when using the B<backup
32volsetrestore> command to restore a group of volumes that were not
33necessarily backed up together. To create a I<temporary> volume set,
34include the B<-temporary> flag. A temporary volume set exists only during
35the lifetime of the current interactive session, so the flag is effective
36only when used during an interactive session (opened by issuing the
37B<backup interactive> command). If it is included when the command is
38issued at the regular command shell prompt, the command appears to
39succeed, but the volume set is not created. As noted, a temporary volume
40set ceases to exist when the current interactive session ends, or use the
41B<backup delvolset> command to delete it before that.
42
43One advantage of temporary volume sets is that the B<backup addvolset>
44command, and any B<backup addvolentry> commands subsequently used to add
45volume entries to it, complete more quickly than for regular volume sets,
46because no records are created in the Backup Database.
47
48=head1 OPTIONS
49
50=over 4
51
52=item B<-name> <I<volume set name>>
53
54Names the new volume set. The name can include up to 31 of any character
55other than the period. Avoid other metacharacters as well.
56
57=item B<-temporary>
58
59Creates a volume set that exists only within the context of the current
60interactive session. It is not added to the Backup Database.
61
62=item B<-localauth>
63
64Constructs a server ticket using a key from the local
65F</usr/afs/etc/KeyFile> file. The B<backup> command interpreter presents
66it to the Backup Server, Volume Server and VL Server during mutual
67authentication. Do not combine this flag with the B<-cell> argument. For
68more details, see L<backup(8)>.
69
70=item B<-cell> <I<cell name>>
71
72Names the cell in which to run the command. Do not combine this argument
73with the B<-localauth> flag. For more details, see L<backup(8)>.
74
75=item B<-help>
76
77Prints the online help for this command. All other valid options are
78ignored.
79
80=back
81
82=head1 EXAMPLES
83
84The following command creates a volume set called C<sys>:
85
86 % backup addvolset sys
87
88=head1 PRIVILEGE REQUIRED
89
90The issuer must be listed in the F</usr/afs/etc/UserList> file on every
91machine where the Backup Server is running, or must be logged onto a
92server machine as the local superuser C<root> if the B<-localauth> flag is
93included.
94
95=head1 SEE ALSO
96
97L<backup(8)>,
98L<backup_addvolentry(8)>,
99L<backup_delvolentry(8)>,
100L<backup_delvolset(8)>,
101L<backup_listvolsets(8)>,
102L<backup_volsetrestore(8)>
103
104=head1 COPYRIGHT
105
106IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
107
108This documentation is covered by the IBM Public License Version 1.0. It was
109converted from HTML to POD by software written by Chas Williams and Russ
110Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.