=head1 NAME voldump - Dump an AFS volume without using the Volume Server =head1 SYNOPSIS =for html
B S<<< B<-part> > >>> S<<< B<-volumeid> > >>> S<<< [B<-file> >] >>> [B<-verbose>] [B<-help>] B S<<< B<-p> > >>> S<<< B<-vo> > >>> S<<< [B<-f> >] >>> [B<-ve>] [B<-h>] =for html
=head1 DESCRIPTION B dumps an AFS volume in the format used by B without using the Volume Server. It must be run on the file server machine and usually must be run as the superuser C to have permissions to read the file server data. It's primary use is to recover data from a file server machine where the Volume Server cannot be started for some reason. The dump output will go to standard output, or to a file if B<-file> is specified. B can be used to load the resulting dump into a new AFS volume. B always does a full dump. =head1 CAUTIONS Normally, use B instead of this command. B is a tool of last resort to try to extract data from the raw data structures stored on the file server machine and is not as regularly tested or used as the normal B implementation. If the AFS volume being dumped changes while B is running, the results may be inconsistent. If the File Server and Volume Server are running, stop them with B or a similar method before running this command. =head1 OPTIONS =over 4 =item B<-part> > Names the partition on which the volume to be dumped is located. B does not take the normal full range of ways of specifying a partition. Instead, I must be either a single letter between C and C, corresponding to F through F, or the full path to the file server partition. C is not recognized; use F instead. =item B<-volumeid> > Specifies the ID of the volume to dump. The volume must be specified by numeric ID, not by name. =item B<-file> > Specifies the output file for the dump. If this option is not given, the volume will be dumped to standard output. =item B<-verbose> Asks for a verbose trace of the dump process. This trace information will be sent to standard error. =back =head1 EXAMPLES The following command dumps the volume 1936964939 on the F partition to the file F: % voldump -part /vicepb -volumeid 1936964939 -file /tmp/volume.dump =head1 PRIVILEGE REQUIRED The issuer must have read access to the file server data stored in the specified partition. Usually, this means that the issuer must be the local superuser C on the file server machine. =head1 SEE ALSO L, L, L, L, L =head1 COPYRIGHT Copyright 2005 Russ Allbery This documentation is covered by the IBM Public License Version 1.0. This man page was written by Russ Allbery for OpenAFS.