AMFETCHDUMP - Online Linux Manual PageSection : 8
Updated : 12/01/2017
Source : Amanda 3​.5​.1
Note : System Administration Commands

NAMEamfetchdump − extract backup images from multiple Amanda tapes​.

SYNOPSISamfetchdump [−c | −C | −l] [−p | −n] [−a] [−O directory] [−d device] [−h | −−header−file filename | −−header−fd fd] [−−release−tapes | −−reserve−tapes] [−−decompress | −−no−decompress | −−server−decompress | −−client−decompress] [{−−extract | −−extract−client=HOSTNAME} −−target target [−−data−path amanda|directtcp] [−−run−client−scripts] [−−prev−level level] [−−next−level level] [−−application−property NAME=VALUE][−−include−file file][−−include−list filename][−−include−list−glob filename][−−exclude−file file][−−exclude−list filename][−−exclude−list−glob filename]*] [−−init] [−−restore] [−−decrypt | −−no−decrypt | −−server−decrypt | −−client−decrypt] [−−exact_match] [−o configoption...] config hostname [disk [ date [ level [ hostname [​.​.​.] ] ] ]]

DESCRIPTIONAmfetchdump pulls one or more matching dumps from tape or from the holding disk, handling the reassembly of multi−tape split dump files as well as any tape autochanger operations​. The dump are by default decompressed and decrypted​. It will automatically use the Amanda catalog to locate available dumps on tape, in the same way that the find feature of amadmin(8) lists available dumps​. The hostname, diskname, datestamp, and level dump specifications are further described in amanda-match(7)​. Note that at minimum a hostname must be specified​. Unless −p is used, backup images are extracted to files in the current directory named: hostname​.diskname​.datestamp​.dumplevel If a changer error occurs, or the −d option is given, then amfetchdump prompts for each required volume​.

OPTIONS−p Pipe exactly one complete dump file to stdout, instead of writing the file to disk​. This will restore only the first matching dumpfile (where "first" is determined by the dump log search facility)​. −h Output the amanda header as a 32K block to same output as the image​. −−header−fd fd Output the amanda header to the numbered file descriptor​. −−header−file filename Output the amanda header to the filename​. −d device_or_changer Restore from this device or changer instead of the default, prompting for each volume​. −O directory Output restored files to this directory, instead of to the current working directory​. −c Compress output, fastest method available​. −C Compress output, smallest file size method available​. −−decompress Always do the decompression, this is the default​. −−no−decompress Never do the decompression​. −−server−decompress Do the decompression only if the compression was done on the server​. −−client−decompress Do the decompression only if the compression was done on the client​. −−decrypt Always do the decryption, this is the default​. −−no−decrypt Never do the decryption​. −−server−decrypt Do the decryption only if the encryption was done on the server​. −−client−decrypt Do the decryption only if the encryption was done on the client​. −−init Prepare for a restore, some device require it for faster restore​. −−no−restore Do not start the restore, useful with −−init​. −−exact−match The host and disk are parsed as exact values −−extract Extract the backup on the server in the target path​. −−directory directory Deprecated, use −−target −−target target Where to extract the backup with the −−extract option​. Warning: All files in that path can be removed​. −−data−path amanda|directtcp The data path to use with −−extract, the default is to use the fatest data path​. −−run−client−scripts Run the client script if it is set​. −−prev−level level The previous level that was restored for this dle​. If not set, run the pre−recover script​. If set, run the inter−level−recover script​. −−next−level level The next level we will restore for this dle​. If not set, run the post−recover script​. −−application−property NAME=VALUE Application property to send to the application with −−extract​. −−include−file file The name of a file to restore​. −−include−list filename The name of a file containing file to restore​. −−include−list−glob filename The name of a file containing file to restore using −−include−list−glob of the application​. −−exclude−file file The name of a file to exclude from the restore list​. −−exclude−list filename The name of a file containing file to exclude from the restore list​. −−exclude−list−glob filename The name of a file containing file to exclude from the restore list using −−exclude−list−glob of the application​. −−release−tapes Release the tapes already reserved for the restore​. −−reserve−tapes Reserve the tapes needed for the restore​. −l Leave dumps in the compressed/uncompressed and encrypted/unencrypted state in which they were found on tape​. It is a synonym for −−no−decompression and −−no−decryption −a Assume that all tapes are already available, via tape changer or otherwise, instead of prompting the operator to ensure that all tapes are loaded​. −n Do not reassemble split dump files at all, just restore each piece as an individual file​. −o configoption See the "CONFIGURATION OVERRIDE" section in amanda(8)​.

EXAMPLESAll the examples here assume your configuration is called SetA​. Here's a simple case, restoring all known dumps of the host vanya to the current working directory​. $ amfetchdump SetA vanyaA more likely scenario involves restoring a particular dump from a particular date​. We'll pipe this one to GNU−tar as well, to automatically extract the dump​. $ amfetchdump −p SetA vanya /home 20051020 | gtar −xvpf −

CAVEATSAmfetchdump is dependent on accessing your server's config, tape changer, and (normally) dump logs​. As such, it's not necessarily the most useful tool when those have all been wiped out and you desperately need to pull things from your tape​. Pains have been taken to make it as capable as possible, but for seriously minimialist restores, look to amrestore(8) or dd(8) instead​.

SEE ALSOamanda(8), amanda-match(7), amadmin(8), amrestore(8) The Amanda Wiki: : http://wiki.zmanda.com/

AUTHORSJohn Stange <​building@nap​.edu​> National Academies Press Ian Turner <​ian@zmanda​.com​> Zmanda, Inc​. (http://www​.zmanda​.com)
0
Johanes Gumabo
Data Size   :   35,867 byte
man-amfetchdump.8Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 201,099
Visitor ID   :     :  
Visitor IP   :   18.191.171.86   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.