X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=man%2Fxml-source%2Famrecover.8.xml;h=aaef74e48985d1282e931b3a011178626c23f7df;hb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;hp=16c41e0752efbba8fe5883baf01cd8b2d21784d0;hpb=12179dea039515c06168c0037d048566a3f623de;p=debian%2Famanda diff --git a/man/xml-source/amrecover.8.xml b/man/xml-source/amrecover.8.xml index 16c41e0..aaef74e 100644 --- a/man/xml-source/amrecover.8.xml +++ b/man/xml-source/amrecover.8.xml @@ -3,7 +3,7 @@ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ - + %global_entities; ]> @@ -14,27 +14,35 @@ amrecover 8 +&rmi.source; +&rmi.version; +&rmi.manual.8; amrecover -&A; index database browser +Amanda index database browser + +&author.alan; +&author.sgw.xml; + amrecover - -C config - -s index-server - -t tape-server - -d tape-device - -o clientconfigoption* + -C config + -s index-server + -t tape-server + -d tape-device + -h hostname + -o configoption DESCRIPTION Amrecover -browses the database of &A; index files to determine which tapes +browses the database of Amanda index files to determine which tapes contain files to recover. Furthermore, it is able to recover files. In order to restore files in place, you must invoke @@ -45,22 +53,23 @@ to move into that directory, otherwise a directory tree that resembles the backed up filesystem will be created in the current directory. See the examples below for details. -Amrecover will read the amanda-client.conf file and the config/amanda-client.conf file. +Amrecover will read the amanda-client.conf file and the config/amanda-client.conf file. If no configuration name is supplied on the command line, Amrecover will try the compiled-in default configuration ,usually DailySet1. See the -amanda8 -man page for more details about &A;. + +man page for more details about Amanda. OPTIONS -The Default values are those set at compile-time. +The Default values are those set at compile-time. Use amrestore to recover client-encrypted or -client-custom-compressed tapes. +client-custom-compressed tapes. + [ -C ] config -&A; configuration. +Amanda configuration. @@ -81,12 +90,18 @@ client-custom-compressed tapes. Tape device to use on the tape server host. + + + +Hostname to begin restoring; defaults to the system's hostname. + + -o clientconfigoption -See the "CONFIGURATION OVERWRITE" - section in amanda8. +See the "CONFIGURATION OVERRIDE" + section in . @@ -166,9 +181,7 @@ would yield files from the following days: - setdisk diskname mountpoint + setdisk diskname [mountpoint] Specifies which disk to consider (default: the disk holding the working directory where @@ -179,9 +192,7 @@ It can only be set after the host is set with Diskname is the device name specified in the amanda.conf -or -disklist -configuration file. +or &disklist;. The disk must be local to the host. If mountpoint @@ -190,46 +201,51 @@ mount point instead of full pathnames. - listhost [diskdevice] + listhost [diskdevice] List all host - listdisk [diskdevice] + listdisk [diskdevice] List all diskname - settape [[server]:][tapedev|default] + listproperty + +List all +property + + + + setproperty [append] [priority] name [value ...] -Specifies the host to use as the tape server, and which of its tape -devices to use. -If the server is omitted, but the colon is not, the -server name reverts to the configure-time -default. -If the tape device is omitted, it remains unchanged. -To use the default tape device selected by the tape server, the word -default -must be specified. -If no argument is specified, or the argument is an -empty string, no changes occur, and the current settings are -displayed. +Set the property name to the value value. +The append keyword appends the value to the values already set for this property. +Without value, the property is unset. +The priority keyword is unused, it is present for ease of copy/paste from application definition. + + + + setdevice [[-h tape-server] tapedev] + +Specifies the host to use as the tape server, and which of its tape devices to use. +If the server is omitted, the server name reverts to the configure-time default. +If the tape device is omitted, the default is used. If you want amrecover to use your changer, the tapedev -must be equal to the amrecover_changer setting on the server. +must be equal to the amrecover-changer setting on the server. -If you need to change the protocol (tape:, rait:, file:, null:) then you -must specify the hostname. +Since device names contain colons, you must always specify the hostname. settape 192.168.0.10:file:/file1 - You can change the tape device when amrecover ask you to load the tape: @@ -246,7 +262,7 @@ Using tape /dev/nst2 from server server2. - setmode mode + setmode mode Set the extraction mode for Samba shares. If @@ -282,7 +298,7 @@ Dates, levels, tapes and file position on tape of each backup are displayed. - cd dir + cd dir Change the backup working directory to dir. @@ -299,7 +315,7 @@ can be a shell style wildcards. - cdx dir + cdx dir Like the cd @@ -317,7 +333,7 @@ relative to the backed up filesystem. - lcd path + lcd path Change the amrecover @@ -337,40 +353,40 @@ The backup date is shown for each file. - add item1 item2 ... + add item1 item2 ... Add the specified files or directories to the restore list. Each item may have shell style wildcards. - addx item1 item2 ... + addx item1 item2 ... Add the specified files or directories to the restore list. Each item may be a regular expression. - delete item1 item2 ... + delete item1 item2 ... Delete the specified files or directories from the restore list. Each item may have shell style wildcards. - deletex item1 item2 ... + deletex item1 item2 ... Delete the specified files or directories from the restore list. Each item may be a regular expression. - list file + list file Display the contents of the restore list. If a file name is specified, the restore list is written to that file. -This can be used to manually extract the files from the &A; tapes with +This can be used to manually extract the files from the Amanda tapes with amrestore. @@ -422,12 +438,12 @@ file. # cd /var/log # ls -l syslog.7 syslog.7: No such file or directory -# amrecover +# amrecover MyConfig AMRECOVER Version 2.4.2. Contacting server on oops ... -220 oops &A; index server (2.4.2) ready. +220 oops Amanda index server (2.4.2) ready. Setting restore date to today (1997-12-09) 200 Working date set to 1997-12-09. -200 Config set to daily. +200 Config set to MyConfig. 200 Dump host set to this-host.some.org. $CWD '/var/log' is on disk '/var' mounted at '/var'. 200 Disk set to /var. @@ -550,7 +566,7 @@ The first backup image is in file position one. AMRECOVER Version 2.4.2. Contacting server on oops ... ... amrecover> history -200- Dump history for config "daily" host "this-host.some.org" disk "/var" +200- Dump history for config "MyConfig" host "this-host.some.org" disk "/var" 201- 1997-12-09 1 DMP015 9 201- 1997-12-08 1 DMP014 11 201- 1997-12-07 0 DMP013 22 @@ -590,17 +606,11 @@ but will be overridden by the -t switch. -AUTHOR -Alan M. McIvor alan@kauri.auck.irl.cri.nz : Original text -&maintainer.sgw;: XML-conversion - + + + + + + -SEE ALSO -amanda8, -amanda-client.conf5, -amrestore8, -amfetchdump8, -readline3 - -