.\" Title: amrecover
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\" Date: 03/31/2008
+.\" Date: 08/22/2008
.\" Manual:
.\" Source:
.\"
-.TH "AMRECOVER" "8" "03/31/2008" "" ""
+.TH "AMRECOVER" "8" "08/22/2008" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
must be equal to the amrecover_changer setting on the server\.
.sp
If you need to change the protocol (tape:, rait:, file:, null:) then you must specify the hostname\.
-.sp
-.RS 4
.nf
settape 192\.168\.0\.10:file:/file1
.fi
-.RE
You can change the tape device when amrecover ask you to load the tape:
-.sp
-.RS 4
.nf
Load tape DMP014 now
Continue? [Y/n/t]: t
Using tape /dev/nst2 from server server2\.
.fi
.RE
-.RE
.PP
\fBsetmode\fR \fImode\fR
.RS 4
The following shows the recovery of an old
\fIsyslog\fR
file\.
-.sp
-.RS 4
.nf
# cd /var/log
# ls \-l syslog\.7
total 26
\-rw\-r\-\-r\-\- 1 root other 12678 Oct 14 16:36 syslog\.7
.fi
-.RE
.PP
If you do not want to overwrite existing files, create a subdirectory to run
\fBamrecover\fR
from and then move the restored files afterward\.
-.sp
-.RS 4
.nf
# cd /var
# (umask 077 ; mkdir \.restore)
# cd \.\.
# rm \-fr \.restore
.fi
-.RE
.PP
If you need to run
\fBamrestore\fR
control it, use the
\fBlist\fR
command after browsing to display the needed tapes\.
-.sp
-.RS 4
.nf
# cd /var/log
# amrecover
/log/syslog
amrecover> quit
.fi
-.RE
.PP
The
\fBhistory\fR
command shows each tape that has a backup of the current disk along with the date of the backup, the level, the tape label and the file position on the tape\. All active tapes are listed, not just back to the most recent full dump\.
.PP
Tape file position zero is a label\. The first backup image is in file position one\.
-.sp
-.RS 4
.nf
# cd /var/log
# amrecover
\.\.\.
amrecover> quit
.fi
-.RE
.SH "ENVIRONMENT"
.PP
\fBPAGER\fR
\fBamrestore\fR(8),
\fBamfetchdump\fR(8),
\fBreadline\fR(3),
-\fBhttp://wiki.zmanda.com\fR()
+: http://wiki.zmanda.com