X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Frestore.8.in;h=9f813ca4b17c376f6250f6c7a5f9abee19175dae;hp=8426b4659ac64164a3b4e6d29caab2b1ccc4feee;hb=df3d2ef98b911ebb7a7b7c6137e60e28eb39e5f1;hpb=e1abc9ce25132eef1239047a071c2c1d4822dd9f diff --git a/restore/restore.8.in b/restore/restore.8.in index 8426b46..9f813ca 100644 --- a/restore/restore.8.in +++ b/restore/restore.8.in @@ -25,14 +25,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: restore.8.in,v 1.30 2003/03/30 15:40:39 stelian Exp $ +.\" $Id: restore.8.in,v 1.33 2005/07/07 09:16:08 stelian Exp $ .\" .TH RESTORE 8 "version __VERSION__ of __DATE__" BSD "System management commands" .SH NAME restore \- restore files or file systems from backups made with dump .SH SYNOPSIS .B restore \-C -[\fB\-cdklMvVy\fR] +[\fB\-cdHklMvVy\fR] [\fB\-b \fIblocksize\fR] [\fB\-D \fIfilesystem\fR] [\fB\-f \fIfile\fR] @@ -42,7 +42,7 @@ restore \- restore files or file systems from backups made with dump [\fB\-T \fIdirectory\fR] .PP .B restore \-i -[\fB\-acdhklmMNouvVy\fR] +[\fB\-acdhHklmMNouvVy\fR] [\fB\-A \fIfile\fR] [\fB\-b \fIblocksize\fR] [\fB\-f \fIfile\fR] @@ -53,7 +53,7 @@ restore \- restore files or file systems from backups made with dump .PP .B restore \-P .I file -[\fB\-acdhklmMNuvVy\fR] +[\fB\-acdhHklmMNuvVy\fR] [\fB\-A \fIfile\fR] [\fB\-b \fIblocksize\fR] [\fB\-f \fIfile\fR] @@ -64,7 +64,7 @@ restore \- restore files or file systems from backups made with dump [ \fIfile ... \fR] .PP .B restore \-R -[\fB\-cdklMNuvVy\fR] +[\fB\-cdHklMNuvVy\fR] [\fB\-b \fIblocksize\fR] [\fB\-f \fIfile\fR] [\fB\-F \fIscript\fR] @@ -72,7 +72,7 @@ restore \- restore files or file systems from backups made with dump [\fB\-T \fIdirectory\fR] .PP .B restore \-r -[\fB\-cdklMNuvVy\fR] +[\fB\-cdHklMNuvVy\fR] [\fB\-b \fIblocksize\fR] [\fB\-f \fIfile\fR] [\fB\-F \fIscript\fR] @@ -80,7 +80,7 @@ restore \- restore files or file systems from backups made with dump [\fB\-T \fIdirectory\fR] .PP .B restore \-t -[\fB\-cdhklMNuvVy\fR] +[\fB\-cdhHklMNuvVy\fR] [\fB\-A \fIfile\fR] [\fB\-b \fIblocksize\fR] [\fB\-f \fIfile\fR] @@ -92,7 +92,7 @@ restore \- restore files or file systems from backups made with dump [ \fIfile ... \fR] .PP .B restore \-x -[\fB\-adchklmMNouvVy\fR] +[\fB\-adchHklmMNouvVy\fR] [\fB\-A \fIfile\fR] [\fB\-b \fIblocksize\fR] [\fB\-f \fIfile\fR] @@ -102,9 +102,6 @@ restore \- restore files or file systems from backups made with dump [\fB\-T \fIdirectory\fR] [\fB\-X \fIfilelist\fR] [ \fIfile ... \fR] -.PP -(The 4.3BSD option syntax is implemented for backward compatibility but is not -documented here.) .SH DESCRIPTION The .B restore @@ -378,6 +375,14 @@ script. Extract the actual directory, rather than the files that it references. This prevents hierarchical restoration of complete subtrees from the dump. .TP +.BI \-H " hash_size" +Use a hashtable having the specified number of entries for storing the +directories entries instead of a linked list. This hashtable will +considerably speed up inode lookups (visible especialy in interactive +mode when adding/removing files from the restore list), but at the +price of much more memory usage. The default value is 1, meaning no +hashtable is used. +.TP .B \-k Use Kerberos authentication when contacting the remote tape server. (Only available if this options was enabled when @@ -541,6 +546,9 @@ may be an ordinary file or .B \-y Do not ask the user whether to abort the restore in the event of an error. Always try to skip over the bad block(s) and continue. +.PP +(The 4.3BSD option syntax is implemented for backward compatibility but is not +documented here.) .SH DIAGNOSTICS Complains if it gets a read error. If .B y @@ -728,6 +736,16 @@ inode. Although this behaviour is not really a bug, it has proven itself to be confusing for many users, so it is recommended to answer 'no', unless you're performing a full restore and you do want to restore the permissions on '/'. +.PP +It should be underlined that because it runs in user code, +.B restore +, when run with the +.B \-C +option, sees the files as the kernel presents them, whereas +.B dump +sees all the files on a given filesystem. In particular, this +can cause some confusion when comparing a dumped filesystem a part +of which is hidden by a filesystem mounted on top of it. .SH AUTHOR The .B dump/restore